FINERACT-2226: progressive loan charge-off reverse replay events fix

This commit is contained in:
adam.magyari
2025-04-04 14:29:30 +02:00
committed by Adam Saghy
parent eb7ec383f8
commit 49feaab3e5
3 changed files with 155 additions and 10 deletions
@@ -2944,6 +2944,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
journalEntryPoster.postJournalEntries(loan, existingTransactionIds, existingReversedTransactionIds);
businessEventNotifierService.notifyPostBusinessEvent(new LoanChargeOffPostBusinessEvent(chargeOffTransaction));
loanAccrualTransactionBusinessEventService.raiseBusinessEventForAccrualTransactions(loan, existingTransactionIds);
return new CommandProcessingResultBuilder() //
.withCommandId(command.commandId()) //
.withEntityId(chargeOffTransaction.getId()) //