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:
vpj-cd 2008-12-12 03:19:22 +00:00
parent e9eb05d53a
commit 33a4b05ebd
1 changed files with 1 additions and 3 deletions

View File

@ -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();