IDEMPIERE-4943 Create a Material Receipt from Invoice with UOM conversion is leaving corrupt data (#861)
This commit is contained in:
parent
02d4b54714
commit
88e0f55b9d
|
@ -640,7 +640,7 @@ public abstract class CreateFromShipment extends CreateFrom
|
|||
{
|
||||
if (il.getQtyEntered().compareTo(il.getQtyInvoiced()) != 0)
|
||||
{
|
||||
iol.setQtyEntered(QtyEntered
|
||||
iol.setMovementQty(QtyEntered
|
||||
.multiply(il.getQtyInvoiced())
|
||||
.divide(il.getQtyEntered(), 12, RoundingMode.HALF_UP));
|
||||
iol.setC_UOM_ID(il.getC_UOM_ID());
|
||||
|
|
Loading…
Reference in New Issue