Details
Description
To better understand this issue start from FINERACT-1147
Fineract uses future balance to effect transactions thus violating other rules like OVER-DRAFT disabled
- Create a client on 01 Jan 2021
- Apply a savings account on 01 jan 2021 – OVER DRAFT NOT ALLOWED
- Add transactions 4Jan2021 of 50k, 5Jan2021 of 150k and 13 Jan2021 of 500k, 1 Feb2021 of 500k to make a total of 1.2million on the account
- Now make a withdrawal on 29 Jan2021 of 900,000
- Fineract should reject this transaction since overdraft not allowed and because 900K > 700k available balance below is the message- this message is in place
- Now let’s add a savings charge of 900,000 due for 29Jan 2021 and pay it up on 29 Jan 2021
- Lets pay the charge on 29Jan 2021
- On submission the charge gets paid getting the Account into Negative on 29Jan 2021 yet this account's Over-draft is disabled
Two issues here
- Overdraft is disabled but the rule has been violated
- Fineract is using real-time balance (in my view) to effect back-dated transactions
The rule of thumb should be the “balance at transaction date” to be considered during transactions and not available balance
Attachments
Attachments
Issue Links
- is a child of
-
FINERACT-1874 Release Apache Fineract 1.9.0
- In Progress
- links to