diff --git a/serverRoot/src/main/server/org/compiere/acct/Doc_Allocation.java b/serverRoot/src/main/server/org/compiere/acct/Doc_Allocation.java index 4f17ae22bf..9d78120b56 100644 --- a/serverRoot/src/main/server/org/compiere/acct/Doc_Allocation.java +++ b/serverRoot/src/main/server/org/compiere/acct/Doc_Allocation.java @@ -173,7 +173,11 @@ public class Doc_Allocation extends Doc BigDecimal allocationSource = line.getAmtSource() .add(line.getDiscountAmt()) .add(line.getWriteOffAmt()); - BigDecimal allocationAccounted = null; // AR/AP balance corrected + //Modified Lines by Armen + //Old: + //BigDecimal allocationAccounted = null; // AR/AP balance corrected + BigDecimal allocationAccounted = Env.ZERO; // AR/AP balance corrected + //End of Modified Lines FactLine fl = null; MAccount bpAcct = null; // Liability/Receivables