FINERACT-2326: Do not remove external id if transaction got not replayed
This commit is contained in:
+3
-1
@@ -1214,7 +1214,9 @@ public class AdvancedPaymentScheduleTransactionProcessor extends AbstractLoanRep
|
||||
|
||||
protected void createNewTransaction(final LoanTransaction oldTransaction, final LoanTransaction newTransaction,
|
||||
final TransactionCtx ctx) {
|
||||
oldTransaction.updateExternalId(null);
|
||||
if (newTransaction.isNotReversed()) {
|
||||
oldTransaction.updateExternalId(null);
|
||||
}
|
||||
oldTransaction.getLoanChargesPaid().clear();
|
||||
|
||||
if (newTransaction.getTypeOf().isInterestRefund()) {
|
||||
|
||||
Reference in New Issue
Block a user