Adam Saghy created FINERACT-2273:
------------------------------------
Summary: Make sure the setters of Loan repayment installment
entity balances maintain the scaling of 6 and set null in case the value is zero
Key: FINERACT-2273
URL: https://issues.apache.org/jira/browse/FINERACT-2273
Project: Apache Fineract
Issue Type: Sub-task
Reporter: Adam Saghy
The stored balances of LoanRepaymentScheduleInstallment
(m_loan_repayment_schedule) is BigDecimal with precision of 19 and scale of 6.
This means whenever we fetch this entity, the BigDecimal values will have these
precision and scaling.
# We need to make sure whenever we change the value of any of these balances,
the setters are set the correct scaling back!
# We need to make sure whenever the value of the balances fields are zero, we
should not store 0, rather null
*During the accrual calculation we saw the values of some of the fields are
changed as the scaling is differ or we store 0!*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)