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 ]

Thank a lot Low, I implemented your catch

kind regards
Victor Perez
www.e-evolution.com
This commit is contained in:
vpj-cd 2009-05-21 17:57:56 +00:00
parent 2b649d4fe2
commit 7067b7b2f7
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ public class MInOutLine extends X_M_InOutLine
return false;
}
// Locator is mandatory if no charge is defined - teo_sarca BF [ 2757978 ]
if(MProduct.PRODUCTTYPE_Item.equals(getProduct().getProductType()))
if(getProduct() != null && MProduct.PRODUCTTYPE_Item.equals(getProduct().getProductType()))
{
if (getM_Locator_ID() <= 0 && getC_Charge_ID() <= 0)
{