Accrual transactions not happening for foreclosed loans
1. Create a loan product(any configuration) with accrual periodic accounting enabled.
2. Create/approve/disburse a loan account
3. foreclose the same loan at any date apart from due date.
4. loan is getting closed with the interest accrual entry for the foreclosed transaction
Expected result, system should post the accrual transaction for the foreclosed transaction