From f76c0dd242159ccd78dc78f0ccaedf170959150e Mon Sep 17 00:00:00 2001 From: croo Date: Mon, 19 Feb 2007 22:11:28 +0000 Subject: [PATCH] Fix for Bug#: 1603966 committed of behalf of Idalica & Tamak ICT --- base/src/org/compiere/process/InOutGenerate.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/src/org/compiere/process/InOutGenerate.java b/base/src/org/compiere/process/InOutGenerate.java index b7a9581517..a64870b55d 100644 --- a/base/src/org/compiere/process/InOutGenerate.java +++ b/base/src/org/compiere/process/InOutGenerate.java @@ -229,6 +229,10 @@ public class InOutGenerate extends SvrProcess if (product != null && toDeliver.signum() == 0) continue; + // or it's a charge - Bug#: 1603966 + if (line.getC_Charge_ID()!=0 && toDeliver.signum() == 0) + continue; + // Check / adjust for confirmations BigDecimal unconfirmedShippedQty = Env.ZERO; if (p_IsUnconfirmedInOut && product != null && toDeliver.signum() != 0)