This commit is contained in:
parent
0668fa8b46
commit
1d4e1b4a3e
2 changed files with 2 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ public class FormingPaymentInstructionSecondaryT0 implements ISessionStage {
|
||||||
.formatted(AccountType.Dtrn.getKey(), AccountStatus.ACTIVE.getKey(), Allowed.ALLOWED.getKey()));
|
.formatted(AccountType.Dtrn.getKey(), AccountStatus.ACTIVE.getKey(), Allowed.ALLOWED.getKey()));
|
||||||
if (tranAcc == null) {
|
if (tranAcc == null) {
|
||||||
return new StageResult<>(
|
return new StageResult<>(
|
||||||
new EnumMessage(ClearingError.AccountNotPresent, "accountType = " + AccountType.Tran.getKey()),
|
new EnumMessage(ClearingError.AccountNotPresent, "accountType = " + AccountType.Dtrn.getKey()),
|
||||||
false);
|
false);
|
||||||
}
|
}
|
||||||
log.debug("found tranAcc.id = {}", tranAcc.getId());
|
log.debug("found tranAcc.id = {}", tranAcc.getId());
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,7 @@ public class RegistryFondBuilder implements IRegistryBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
reg.setSettlementDate(execFond.getSettlementDate());
|
reg.setSettlementDate(execFond.getSettlementDate());
|
||||||
|
reg.setValueDate(execFond.getSettlementDate());
|
||||||
reg.setSettlementCode(execFond.getSettlementCode());
|
reg.setSettlementCode(execFond.getSettlementCode());
|
||||||
reg.setTradingDate(exec.getTradingDate());
|
reg.setTradingDate(exec.getTradingDate());
|
||||||
reg.setClearingDate(LocalDate.now());
|
reg.setClearingDate(LocalDate.now());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue