900-IS-HR-EMP-SECURED

900-IS-HR-EMP-SECURED verifies that the current user has security access to a given employee record. The routine sets WSSEC-SECURED to Y if the information is secured, meaning the user is not authorized to see an employee record; otherwise, it sets WSSEC-SECURED to N. The routine also checks process level security based on the values passed in CRT-COMPANY and CRT-PROCESS-LEVEL .

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

Library DATABASE
Input

WSSEC-SEC-CLASS

WSSEC-SEC-LABEL (includes):

Employee security class

WSSEC-SEC-LVL

WSSEC-SEC-LOCATION

Employee security level

Employee security location

CRT-COMPANY

CRT-PROCESS-LEVEL

Output WSSEC-SECURED (always set)