inout reference INOUT_Table_Reference; {Refer to table with the following syntax: table(INOUT_Table_Reference)} out boolean OUT_Active; {default form to 'RM_Customer_Maintenance';} {default window to 'RM_Customer_Maintenance';} OUT_Active = false; { Table Reference not Captured yet } if empty(INOUT_Table_Reference) then abort script; end if; { Get Current User's Class } 'User ID' of table SY_Users_MSTR = 'User ID' of globals; get table SY_Users_MSTR; if err() = OKAY then if not empty('User Class' of table SY_Users_MSTR) then { Validate User Defined Field } range table(INOUT_Table_Reference) where physicalname('User Defined 2' of table RM_Customer_MSTR) + " = '" + 'User Class' of table SY_Users_MSTR +"'"; end if; end if;