BF [2757978] - POS Sales Order -> Could not create Shipment Line

https://sourceforge.net/tracker/?func=detail&aid=2757978&group_id=176962&atid=879332
This commit is contained in:
Carlos Ruiz 2009-05-02 16:17:32 +00:00
parent 4cfe920dec
commit 80be2b2e58
1 changed files with 4 additions and 5 deletions

View File

@ -52,8 +52,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent
setM_AttributeSetInstance_ID (0); setM_AttributeSetInstance_ID (0);
setM_InOut_ID (0); setM_InOut_ID (0);
setM_InOutLine_ID (0); setM_InOutLine_ID (0);
setM_Locator_ID (0);
// @M_Locator_ID@
setMovementQty (Env.ZERO); setMovementQty (Env.ZERO);
// 1 // 1
setProcessed (false); setProcessed (false);
@ -626,7 +624,8 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent
public void setM_Locator_ID (int M_Locator_ID) public void setM_Locator_ID (int M_Locator_ID)
{ {
if (M_Locator_ID < 1) if (M_Locator_ID < 1)
throw new IllegalArgumentException ("M_Locator_ID is mandatory."); set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID)); set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
} }