Lawson Security 9 - Benefits drill

 2 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
ChrisW
Basic Member
Posts: 10
Basic Member

    Is anyone using Lawson Security for HCM?  I have developed an RM structure to limit user access to employees in specific process levels using ***isStructNodeTitleAbove('xxxStructure',PROCESS_LEVEL,user.getAttribute('xxxx'))***.  This works beautifully for the application and drills involving the "Employee" or "PAEmployee" (etc) files.  However, when I drill on a benefit plan or a deduction, the drill returns values for all employees even though the employee name and number are blank.  Has anyone been able to write a conditional rule to stop this from happening?

    John Henley
    Posts: 3353
      Chris, since Process Level isn't stored in those tables, you'll probably need to add rules using getDBField to lookup the ProcessLevel in the EMPLOYEE table and them compare that using the isStructNodeTitleAbove rule...
      Thanks for using the LawsonGuru.com forums!
      John
      ChrisW
      Basic Member
      Posts: 10
      Basic Member

        Thanks, John!  I actually have been trying that, but haven't been able to get the syntax just right.  At least I know I'm on the right track and will keep trying.