Bug Fix [ 1657115 ] Variable not initialized in Doc_Allocation.java

This commit is contained in:
armenrz 2007-02-12 01:40:57 +00:00
parent 892131e35f
commit aac05de974
1 changed files with 5 additions and 1 deletions

View File

@ -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