I've simplified the code like this, just to show a messaje int he event: [EventSubscriber(ObjectType::Table, Database::"Job Task", 'OnBeforeInsertEvent', '', true, true)] local procedure setJobTaskNo(VAR Rec: Record "Job Task") begin Message('aitor'); end; But the error notification appears before my message, so, the validation is made before the "OnBeforeInsertEvent"...
↧