From 33a4b05ebdddec353da62532546847a5feecd578 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Fri, 12 Dec 2008 03:19:22 +0000 Subject: [PATCH] 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 --- base/src/org/eevolution/model/CalloutCostCollector.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/src/org/eevolution/model/CalloutCostCollector.java b/base/src/org/eevolution/model/CalloutCostCollector.java index 12d4f79d67..947d763708 100644 --- a/base/src/org/eevolution/model/CalloutCostCollector.java +++ b/base/src/org/eevolution/model/CalloutCostCollector.java @@ -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();