It's posting wrong quantities in physical inventory
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2719068&group_id=176962
This commit is contained in:
parent
07079a0e14
commit
f2ffe43a36
|
@ -963,7 +963,7 @@ public class MInventory extends X_M_Inventory implements DocAction
|
||||||
MCostDetail.createInventory(as, line.getAD_Org_ID(),
|
MCostDetail.createInventory(as, line.getAD_Org_ID(),
|
||||||
line.getM_Product_ID(), M_AttributeSetInstance_ID,
|
line.getM_Product_ID(), M_AttributeSetInstance_ID,
|
||||||
line.getM_InventoryLine_ID(), 0, // no cost element
|
line.getM_InventoryLine_ID(), 0, // no cost element
|
||||||
costs.multiply(qty), qty,
|
costs, qty,
|
||||||
line.getDescription(), line.get_TrxName());
|
line.getDescription(), line.get_TrxName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue