создание PaymentInstruction для итоговой МКР по сделкам bugfix
This commit is contained in:
parent
621069c933
commit
62c92ea4b3
1 changed files with 2 additions and 5 deletions
|
|
@ -135,11 +135,8 @@ public class PaymentInstructionBuilderFinalMkrDeals {
|
|||
payment1.setCredit_csAccount(null);
|
||||
|
||||
{
|
||||
Account acc1 = selectAccount(payment1.getAddresseeId(), AccountType.Corr, Status.Active, Allowed.ALLOWED);
|
||||
if (acc1 != null) {
|
||||
payment1.setDebitLeg_accountId(acc1.getId());
|
||||
payment1.setDebitLeg_account(acc1.getAccount());
|
||||
}
|
||||
payment1.setDebitLeg_accountId(tranAccount.getId());
|
||||
payment1.setDebitLeg_account(tranAccount.getAccount());
|
||||
}
|
||||
|
||||
payment1.setDebit_csAccount(null);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue