Disabled Assignment Tab(HR11) does not refresh

 3 Replies
 0 Subscribed to this topic
 15 Subscribed to this forum
Sort:
Author
Messages
GregSl
Veteran Member
Posts: 38
Veteran Member

    I have managed to disable the Assignment Tab by using the following rule.

    If (isElementGrpAccessible('PROCLEVEL','I,','HR',form.EMP_COMPANY,'CORP'))

    'NO_ACCESS' else ''I'

    My problem is when I enter an Employee ID from a different Process Level it will work the first time, but the Assignment info is blank. If I enter an ID from Corp process Level it will freeze the tab.But will not refresh or enable, when I enter different Process Level EID.

    Has anyone come across this situation ?

    Greatly appreciate any assistance.

     

     

     

     

    John Henley
    Posts: 3353
      In your example, you aren't passing the process level, so entering in an employee from a different process level shouldn't have any effect unless you're also doing something in the rule assigned to the PROCLEVEL element group.
      Thanks for using the LawsonGuru.com forums!
      John
      GregSl
      Veteran Member
      Posts: 38
      Veteran Member
        Hi John,

        'CORP' is the process level in the example.

        The PROCLEVEL Element Group rule is as follows:

        if(COMPANY==88&&(PROCESS_LEVEL=='EXEC'))
        'NO_ACCESS,'
        else
        'ALL_ACCESS,'

        Am I confusing the Rules with the PROCLEVEL Element group and isElementGroupAccessible rule ?

        Greatly appreciate your help.
        John Henley
        Posts: 3353
          Re: Disabled Assignment Tab(HR11) does not refresh (7f853524-6dba-4b01-b657-68d898875f90) <!-- Converted from text/plain format -->

          The combined rules are confusing. I have some examples/documents I write which should help. I will try to post them soon.
          John Henley

          Thanks for using the LawsonGuru.com forums!
          John