Can't create shipments with product type service
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2794909&group_id=176962 Bug introducing in BF[ 2557978 ] kind regards Victor Perez www.e-evolution.com
This commit is contained in:
parent
d77535084e
commit
3e4f43e80e
|
@ -494,10 +494,14 @@ public class MInOutLine extends X_M_InOutLine
|
|||
return false;
|
||||
}
|
||||
// Locator is mandatory if no charge is defined - teo_sarca BF [ 2757978 ]
|
||||
if (getM_Locator_ID() <= 0 && getC_Charge_ID() <= 0)
|
||||
{
|
||||
throw new FillMandatoryException(COLUMNNAME_M_Locator_ID);
|
||||
if(MProduct.PRODUCTTYPE_Item.equals(getProduct().getProductType()))
|
||||
{
|
||||
if (getM_Locator_ID() <= 0 && getC_Charge_ID() <= 0)
|
||||
{
|
||||
throw new FillMandatoryException(COLUMNNAME_M_Locator_ID);
|
||||
}
|
||||
}
|
||||
|
||||
// Get Line No
|
||||
if (getLine() == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue