diff --git a/org.adempiere.base.process/src/org/compiere/process/ImportInventory.java b/org.adempiere.base.process/src/org/compiere/process/ImportInventory.java index 9f0beb837b..c7378bbc11 100644 --- a/org.adempiere.base.process/src/org/compiere/process/ImportInventory.java +++ b/org.adempiere.base.process/src/org/compiere/process/ImportInventory.java @@ -298,7 +298,7 @@ public class ImportInventory extends SvrProcess // Line 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()); if (product.isInstanceAttribute())