diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_Inventory.java b/org.adempiere.base/src/org/compiere/acct/Doc_Inventory.java index a819e82fcb..cf09b43379 100644 --- a/org.adempiere.base/src/org/compiere/acct/Doc_Inventory.java +++ b/org.adempiere.base/src/org/compiere/acct/Doc_Inventory.java @@ -107,6 +107,9 @@ public class Doc_Inventory extends Doc for (int i = 0; i < lines.length; i++) { MInventoryLine line = lines[i]; + if (!line.isActive()) + continue; + String docSubTypeInv; if (Util.isEmpty(parentDocSubTypeInv)) { // IDEMPIERE-675: for backward compatibility - to post old documents that could have subtypeinv empty