ialbert 3 minutes ago создание PaymentInstruction для итоговой МКР по сделкам bugfix

This commit is contained in:
ialbert 2023-06-08 14:32:50 +03:00
parent 62c92ea4b3
commit 4e283ff5e8

View file

@ -144,6 +144,8 @@ public class PaymentInstructionBuilderFinalMkrDeals {
payment1.setDebitLeg_currencyCode(CurrencyCode.RUB.getKey());
payment1.setTransactionStatus(TransactionStatus.stld.getKey());
payment1.setDocumentNumber(nextDocumentNumber(lm_t, payment1));
payment1.setCreditLeg_direction(InOutDirection.out.getKey());
payment1.setDebitLeg_direction(InOutDirection.in.getKey());
}
//****************
@ -189,6 +191,8 @@ public class PaymentInstructionBuilderFinalMkrDeals {
payment2.setDebit_csAccount(null);
payment2.setTransactionStatus(TransactionStatus.stld.getKey());
payment2.setDocumentNumber(nextDocumentNumber(cm_t, payment2));
payment2.setCreditLeg_direction(InOutDirection.out.getKey());
payment2.setDebitLeg_direction(InOutDirection.in.getKey());
}
return new Pair<>(payment1, payment2);
}