MPPOrder.java line 625:
MPPOrder .. always true IFs
// Necessary to clear order quantities when called from closeIt - 4Layers
if (DOCACTION_Close.equals(getDocAction()))
{
if (!MStorage.add(getCtx(), getM_Warehouse_ID(), M_Locator_ID,
getM_Product_ID(), getM_AttributeSetInstance_ID(),
getM_AttributeSetInstance_ID(), Env.ZERO, Env.ZERO, ordered, get_TrxName()))
{
throw new AdempiereException();
}
}
else
{
// Update Storage
if (!MStorage.add(getCtx(), getM_Warehouse_ID(), M_Locator_ID,
getM_Product_ID(), getM_AttributeSetInstance_ID(),
getM_AttributeSetInstance_ID(), Env.ZERO, Env.ZERO, ordered, get_TrxName()))
{
throw new AdempiereException();
}
}
Hi Red1!
Please can set more detail about the your issue, your tracker have not enough detail.
Victor Perez
www.e-evolution.com