U@ISHREMPSEC

U@ISHREMPSEC verifies that the current user has security access to a given employee record. The routine sets E@SECSECURED to Y if the information is secured, meaning the user is not authorized to see an employee record; otherwise, it sets E@SECSECURED to N. The routine also checks process level security based on the values passed in E@COMPANY and E@PROCLEVEL.

For a discussion of security processing, see the Lawson Administration: Resources and Security guide and the Human Resources User Guide.

Module DATABASE
Input

E@SECSECCLASS

E@SECSECLABEL (includes):

Employee security class

E@SECEMPLVL

E@SECEMPLOC

Employee security level

Employee security location

E@COMPANY

E@PROCLEVEL

Output E@SECSECURED (always set)