SDF01 company check fix
This commit is contained in:
parent
1e8ae0a47b
commit
2c917e0ddf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ public enum Sdf01NewValidationRule implements IValidationRule<ImdgValidationCont
|
|||
|
||||
Company company = companyImdg.getSingleObjectBySQL("tradingCode = '" + sdf01.getDeal() + "'");
|
||||
if (company == null) {
|
||||
of(ClearingError.CompanyNotFoundB, sdf01.getDeal());
|
||||
return of(ClearingError.CompanyNotFoundB, sdf01.getDeal());
|
||||
}
|
||||
context.storeObject(ValidationStored.Sdf01Company, company);
|
||||
return empty();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue