etreschenkov 2023-07-09 13:10:43 +03:00
parent 0668fa8b46
commit 1d4e1b4a3e
2 changed files with 2 additions and 1 deletions

View file

@ -125,7 +125,7 @@ public class FormingPaymentInstructionSecondaryT0 implements ISessionStage {
.formatted(AccountType.Dtrn.getKey(), AccountStatus.ACTIVE.getKey(), Allowed.ALLOWED.getKey()));
if (tranAcc == null) {
return new StageResult<>(
new EnumMessage(ClearingError.AccountNotPresent, "accountType = " + AccountType.Tran.getKey()),
new EnumMessage(ClearingError.AccountNotPresent, "accountType = " + AccountType.Dtrn.getKey()),
false);
}
log.debug("found tranAcc.id = {}", tranAcc.getId());

View file

@ -139,6 +139,7 @@ public class RegistryFondBuilder implements IRegistryBuilder {
}
reg.setSettlementDate(execFond.getSettlementDate());
reg.setValueDate(execFond.getSettlementDate());
reg.setSettlementCode(execFond.getSettlementCode());
reg.setTradingDate(exec.getTradingDate());
reg.setClearingDate(LocalDate.now());