U@PLSECURED

U@PLSECURED verifies that the current user has security access to the process level. E@PLSECURED is set to Y if the current user is secured from access to the process level in the specified company; otherwise, it is set to N.

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

Module DATABASE
Input

E@COMPANY

E@PROCLEVEL

Output E@PLSECURED (always set)

Programming Example

    EVAL      E@COMPANY      = DIACCMPNY 
    EVAL      E@PROCLEVEL    = DIACFRTLC    
    EVAL      E@PLSECURED    = 'N'          
    CALLP     U@PLSECURED                   
    IF        E@PLSECURED    = 'Y'             
    EVAL      E@ERRORNBR     = 112          
    EVAL      E@FIELDNBR     = F1FN@ICFRLC  
    EVAL      F1@ICFRCM      = DIACFRTCMP   
    EVAL      F1@ICFRLC      = DIACFRTLC