создание PaymentInstruction при обработке сделок для итоговой сессии МКР создание SDF03 фикс

This commit is contained in:
ialbert 2023-06-08 16:00:00 +03:00
parent 9d2be448ee
commit 29ecf18e2e

View file

@ -176,7 +176,8 @@ public class FormingPaymentInstructionDealsFinalMkr implements ISessionStage {
List<SDf03> sDf03Created = new ArrayList<>();
for (PaymentInstruction paymentInstruction : formedPaymentInstructions) {
Account account = accountImdg.getSingleObjectByID(paymentInstruction.getCreditLeg_accountId());
if (List.of(AccountType.Corr, AccountType.Clrn).contains(IEnumKey.getEnumByKey(AccountType.class, account.getAccountType()))) {
if (List.of(AccountType.Corr, AccountType.Clrn, AccountType.Tran, AccountType.Anlt)
.contains(IEnumKey.getEnumByKey(AccountType.class, account.getAccountType()))) {
sDf03Created.add(newSDf03(paymentInstruction));
}
}