BF [3094157] - Import Inventory - check Lot and SerNo length
https://sourceforge.net/tracker/?func=detail&aid=3094157&group_id=176962&atid=879332
This commit is contained in:
parent
c3246f437a
commit
efd0b768fd
|
@ -298,7 +298,7 @@ public class ImportInventory extends SvrProcess
|
||||||
|
|
||||||
// Line
|
// Line
|
||||||
int M_AttributeSetInstance_ID = 0;
|
int M_AttributeSetInstance_ID = 0;
|
||||||
if (imp.getLot() != null || imp.getSerNo() != null)
|
if ((imp.getLot() != null && imp.getLot().length() > 0) || (imp.getSerNo() != null && imp.getSerNo().length() > 0))
|
||||||
{
|
{
|
||||||
MProduct product = MProduct.get(getCtx(), imp.getM_Product_ID());
|
MProduct product = MProduct.get(getCtx(), imp.getM_Product_ID());
|
||||||
if (product.isInstanceAttribute())
|
if (product.isInstanceAttribute())
|
||||||
|
|
Loading…
Reference in New Issue