wrong The reserved and order qty
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2927996
This commit is contained in:
parent
5efab08390
commit
b392e643ab
|
@ -882,7 +882,7 @@ public class MDDOrder extends X_DD_Order implements DocAction
|
|||
if (!MStorage.add(getCtx(), locator_to.getM_Warehouse_ID(), locator_to.getM_Locator_ID(),
|
||||
line.getM_Product_ID(),
|
||||
line.getM_AttributeSetInstance_ID(), line.getM_AttributeSetInstance_ID(),
|
||||
Env.ZERO, reserved_ordered , Env.ZERO , get_TrxName()))
|
||||
Env.ZERO, Env.ZERO , reserved_ordered , get_TrxName()))
|
||||
{
|
||||
throw new AdempiereException();
|
||||
}
|
||||
|
@ -890,7 +890,7 @@ public class MDDOrder extends X_DD_Order implements DocAction
|
|||
if (!MStorage.add(getCtx(), locator_from.getM_Warehouse_ID(), locator_from.getM_Locator_ID(),
|
||||
line.getM_Product_ID(),
|
||||
line.getM_AttributeSetInstanceTo_ID(), line.getM_AttributeSetInstance_ID(),
|
||||
Env.ZERO, Env.ZERO , reserved_ordered, get_TrxName()))
|
||||
Env.ZERO, reserved_ordered, Env.ZERO , get_TrxName()))
|
||||
{
|
||||
throw new AdempiereException();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue