ialbert 3 minutes ago создание PaymentInstruction для итоговой МКР по сделкам bugfix
This commit is contained in:
parent
62c92ea4b3
commit
4e283ff5e8
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue