FINERACT-2327: when Interest Refund was created manually, we should only return the newly created Interest Refund transaction identifiers in the result.
This commit is contained in:
+2
-4
@@ -3034,10 +3034,8 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
||||
return new CommandProcessingResultBuilder() //
|
||||
.withCommandId(command.commandId()) //
|
||||
.withLoanId(loan.getId()) //
|
||||
.withEntityId(targetTransaction.getId()) //
|
||||
.withEntityExternalId(targetTransaction.getExternalId()) //
|
||||
.withSubEntityId(interestRefundTxn.getId()) //
|
||||
.withSubEntityExternalId(interestRefundTxn.getExternalId()) //
|
||||
.withEntityId(interestRefundTxn.getId()) //
|
||||
.withEntityExternalId(interestRefundTxn.getExternalId()) //
|
||||
.withOfficeId(loan.getOfficeId()) //
|
||||
.withClientId(loan.getClientId()) //
|
||||
.withGroupId(loan.getGroupId()) //
|
||||
|
||||
Reference in New Issue
Block a user