Company Control

 0 Replies
 1 Subscribed to this topic
 43 Subscribed to this forum
Sort:
Author
Messages
bobc
Basic Member
Posts: 10
Basic Member
    We have numerous companies in Lawson for our Finance users and we have moved from LAUA security to Lawson security. I haven't been able to figure out how to restrict security classes to certain companies. I was able to restrict access by process levels with this element:

    if(user.attributeContains('ProcessLevelControl',PROCESS_LEVEL))
    'ALL_ACCESS'
    else
    'NO_ACCESS'

    and entering the process levels in the ProcessLevelControl field in the user's profile

    but it doesn't seem to work with CompanyControl with this element:

    if(user.attributeContains('CompanyControl',COMPANY))
    'ALL_ACCESS'
    else
    'NO_ACCESS'

    Any ideas how this should be set up? Thanks.