Hi All,
Is there a way to set the editability or visibility of a page field from the OnOpenPageEvent trigger from a codeUnit.
[EventSubscriber(ObjectType::Page, Page::"Job Card", 'OnOpenPageEvent', '', true, true)]
Procedure JobCrdOnOpenPage(var Rec: Record "Field Security Header")
begin
//setVisibility();--code here for each field
//SetEditability();--code here for each field
end;
Regards,
Indira