@@ -1132,3 +1132,45 @@ Feature: LoanReschedule
11321132 | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed |
11331133 | 24 July 2025 | Disbursement | 500 .0 | 0 .0 | 0 .0 | 0 .0 | 0 .0 | 500 .0 | false | false |
11341134 Then LoanRescheduledDueAdjustScheduleBusinessEvent is raised on "24 July 2025"
1135+
1136+ @TestRailId:C4225
1137+ Scenario : Verify after reschedule of loan by changing due date, the last Accrual Activity transaction is reversed-replayed only once
1138+ When Admin sets the business date to "05 September 2025"
1139+ And Admin creates a client with random data
1140+ And Admin creates a fully customized loan with the following data:
1141+ | LoanProduct | submitted on date | with Principal | ANNUAL interest rate % | interest type | interest calculation period | amortization type | loanTermFrequency | loanTermFrequencyType | repaymentEvery | repaymentFrequencyType | numberOfRepayments | graceOnPrincipalPayment | graceOnInterestPayment | interest free period | Payment strategy |
1142+ | LP2_ADV_PYMNT_INTEREST_DAILY_EMI_ACTUAL_ACTUAL_ACCRUAL_ACTIVITY | 31 December 2024 | 1111 | 24 .99 | DECLINING_BALANCE | DAILY | EQUAL_INSTALLMENTS | 24 | MONTHS | 1 | MONTHS | 24 | 0 | 0 | 0 | ADVANCED_PAYMENT_ALLOCATION |
1143+ And Admin successfully approves the loan on "31 December 2024" with "1111" amount and expected disbursement date on "31 December 2024"
1144+ And Admin successfully disburse the loan on "31 December 2024" with "1111" EUR transaction amount
1145+ And Customer makes "AUTOPAY" repayment on "31 January 2025" with 59.26 EUR transaction amount
1146+ And Customer makes "AUTOPAY" repayment on "28 February 2025" with 59.26 EUR transaction amount
1147+ And Customer makes "AUTOPAY" repayment on "31 March 2025" with 59.26 EUR transaction amount
1148+ And Customer makes "AUTOPAY" repayment on "30 April 2025" with 59.26 EUR transaction amount
1149+ And Customer makes "AUTOPAY" repayment on "30 May 2025" with 59.26 EUR transaction amount
1150+ And Customer makes "AUTOPAY" repayment on "29 June 2025" with 59.26 EUR transaction amount
1151+ And Customer makes "AUTOPAY" repayment on "31 July 2025" with 59.26 EUR transaction amount
1152+ And Customer makes "AUTOPAY" repayment on "31 August 2025" with 59.26 EUR transaction amount
1153+ When Admin sets the business date to "06 September 2025"
1154+ When Admin runs inline COB job for Loan
1155+ When Admin sets the business date to "11 September 2025"
1156+ When Customer undo "1" th "Repayment" transaction made on "31 August 2025"
1157+ When Admin sets the business date to "30 September 2025"
1158+ And Customer makes "AUTOPAY" repayment on "30 September 2025" with 59.26 EUR transaction amount
1159+ And Customer makes "AUTOPAY" repayment on "30 September 2025" with 59.26 EUR transaction amount
1160+ When Admin runs inline COB job for Loan
1161+ When Admin sets the business date to "10 October 2025"
1162+ When Customer undo "1" th "Repayment" transaction made on "30 September 2025"
1163+ When Customer undo "2" th "Repayment" transaction made on "30 September 2025"
1164+ When Admin sets the business date to "16 October 2025"
1165+ And Customer makes "AUTOPAY" repayment on "16 October 2025" with 60 EUR transaction amount
1166+ When Admin sets the business date to "31 October 2025"
1167+ And Customer makes "AUTOPAY" repayment on "31 October 2025" with 59.26 EUR transaction amount
1168+ And Customer makes "AUTOPAY" repayment on "31 October 2025" with 58.52 EUR transaction amount
1169+ When Admin runs inline COB job for Loan
1170+ When Admin sets the business date to "10 November 2025"
1171+ When Admin runs inline COB job for Loan
1172+ When Admin creates and approves Loan reschedule with the following data:
1173+ | rescheduleFromDate | submittedOnDate | adjustedDueDate | graceOnPrincipal | graceOnInterest | extraTerms | newInterestRate |
1174+ | 30 November 2025 | 10 November 2025 | 31 January 2026 | | | | |
1175+ Then In Loan Transactions the "1" th Transaction of "Accrual Activity" on "31 October 2025" has "1" relationship with type="REPLAYED"
1176+
0 commit comments