This commit is contained in:
parent
391384fab2
commit
dc3ea5d48a
2 changed files with 3 additions and 3 deletions
|
|
@ -433,13 +433,13 @@ public class ValidationConfig {
|
|||
IMDGDistributedNames.Map_Company,
|
||||
Company.class,
|
||||
ClearingError.RequiredFieldEmpty,
|
||||
ClearingError.DictionaryNotFound),
|
||||
ClearingError.WrongField),
|
||||
IdPresentRule.instance("addresseeId",
|
||||
PIClearingOutbondActionNewRequest::getAddresseeId,
|
||||
IMDGDistributedNames.Map_Company,
|
||||
Company.class,
|
||||
ClearingError.RequiredFieldEmpty,
|
||||
ClearingError.DictionaryNotFound),
|
||||
ClearingError.WrongField),
|
||||
PaymentOutboundValidationRule.CreditLegAccount,
|
||||
PaymentOutboundValidationRule.DebitLegAccount,
|
||||
PaymentOutboundValidationRule.AddresseePresent,
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ public class PaymentInstructionOutboundService {
|
|||
.build();
|
||||
BankAccount bnkAcc = bnkAccImdg.getFirstObjectBySQL("accountId = %d".formatted(accDeb.getId()));
|
||||
if (bnkAcc != null) {
|
||||
pmt.setAddresseeBankName(bnkAcc.getBankIdentificationCode());
|
||||
pmt.setAddresseeBankName(bnkAcc.getBankName());
|
||||
pmt.setDebit_csAccount(bnkAcc.getCorrespondentAccount());
|
||||
}
|
||||
Currency currency = currImdg.getFirstObjectBySQL("currencyCode = '%s'".formatted(CurrencyCode.RUB.getKey()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue