Skip to content

Commit

Permalink
FINERACT-1981: Fix loan transaction relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsaghy committed Oct 4, 2024
1 parent 8aaad45 commit 49ad000
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ protected void createNewTransaction(LoanTransaction oldTransaction, LoanTransact
oldTransaction.updateExternalId(null);
oldTransaction.getLoanChargesPaid().clear();
// Adding Replayed relation from newly created transaction to reversed transaction
oldTransaction.getLoanTransactionRelations()
newTransaction.getLoanTransactionRelations()
.add(LoanTransactionRelation.linkToTransaction(newTransaction, oldTransaction, LoanTransactionRelationTypeEnum.REPLAYED));

// if chargeback is getting reverse-replayed, find the original transaction with CHARGEBACK relation and point
Expand Down

0 comments on commit 49ad000

Please sign in to comment.