Fix the Qty Delivery
Teo the Qty Delivery do not is affect for the scrap and reject because in general you need finish the Qty Ordered
This commit is contained in:
parent
e9eb05d53a
commit
33a4b05ebd
|
@ -62,9 +62,7 @@ public class CalloutCostCollector extends CalloutEngine
|
|||
mTab.setValue(MPPCostCollector.COLUMNNAME_S_Resource_ID, node.getS_Resource_ID());
|
||||
|
||||
BigDecimal qtyToDeliver = node.getQtyRequiered()
|
||||
.subtract(node.getQtyDelivered())
|
||||
.subtract(node.getQtyScrap())
|
||||
.subtract(node.getQtyReject());
|
||||
.subtract(node.getQtyDelivered());
|
||||
mTab.setValue(MPPCostCollector.COLUMNNAME_MovementQty, qtyToDeliver);
|
||||
//
|
||||
int duration = node.getDuration();
|
||||
|
|
Loading…
Reference in New Issue