* Posting zero for interest bank statement line
just fixed the first part of an annoying message - fixing the second part Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2904193
This commit is contained in:
parent
887ef24b8a
commit
9479e2008c
|
|
@ -292,13 +292,15 @@ public final class FactLine extends X_Fact_Acct
|
||||||
if (AmtAcctDr != null && AmtAcctDr.scale() > precision)
|
if (AmtAcctDr != null && AmtAcctDr.scale() > precision)
|
||||||
{
|
{
|
||||||
BigDecimal AmtAcctDr1 = AmtAcctDr.setScale(precision, BigDecimal.ROUND_HALF_UP);
|
BigDecimal AmtAcctDr1 = AmtAcctDr.setScale(precision, BigDecimal.ROUND_HALF_UP);
|
||||||
log.warning("Accounted DR Precision " + AmtAcctDr + " -> " + AmtAcctDr1);
|
if (AmtAcctDr1.compareTo(AmtAcctDr) != 0)
|
||||||
|
log.warning("Accounted DR Precision " + AmtAcctDr + " -> " + AmtAcctDr1);
|
||||||
setAmtAcctDr(AmtAcctDr1);
|
setAmtAcctDr(AmtAcctDr1);
|
||||||
}
|
}
|
||||||
if (AmtAcctCr != null && AmtAcctCr.scale() > precision)
|
if (AmtAcctCr != null && AmtAcctCr.scale() > precision)
|
||||||
{
|
{
|
||||||
BigDecimal AmtAcctCr1 = AmtAcctCr.setScale(precision, BigDecimal.ROUND_HALF_UP);
|
BigDecimal AmtAcctCr1 = AmtAcctCr.setScale(precision, BigDecimal.ROUND_HALF_UP);
|
||||||
log.warning("Accounted CR Precision " + AmtAcctCr + " -> " + AmtAcctCr1);
|
if (AmtAcctCr1.compareTo(AmtAcctCr) != 0)
|
||||||
|
log.warning("Accounted CR Precision " + AmtAcctCr + " -> " + AmtAcctCr1);
|
||||||
setAmtAcctCr(AmtAcctCr1);
|
setAmtAcctCr(AmtAcctCr1);
|
||||||
}
|
}
|
||||||
} // setAmtAcct
|
} // setAmtAcct
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue