FINERACT-1981: Reverse Interest Refund transaction not allowed directly with 403 error
This commit is contained in:
committed by
Adam Saghy
parent
ff5e993b16
commit
8d25b0c765
+1
-1
@@ -1426,7 +1426,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
||||
}
|
||||
|
||||
if (transactionToAdjust.isInterestRefund()) {
|
||||
throw new PlatformServiceUnavailableException("error.msg.loan.transaction.update.not.allowed",
|
||||
throw new GeneralPlatformDomainRuleException("error.msg.loan.transaction.update.not.allowed",
|
||||
"Interest refund transaction: " + transactionId + " cannot be reversed or adjusted directly", transactionId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user