I am trying to use a Process Level Security class to globally secure data by process level. The formula I have written verifies in the build screens but when I apply the security class against the user I am unable to select any records on the HR11 when in fact I should have about 250 records to choose from. I using the RM attribute, ProcessLevelControl (lawson delivered, as multi-attribute). Below is the formula,
if((SystemCode=='HR'||'PR'||'BN'||'PA'||'LP')&&(COMPANY==user.getCompany())&&(PROCESS_LEVEL=='')) 'ALL_ACCESS,' else if((SystemCode=='HR'||'PR'||'BN'||'PA'||'LP')&&(COMPANY==user.getCompany())&&(user.attributeContains('ProcessLevelControl',PROCESS_LEVEL))) 'ALL_ACCESS,' else 'NO_ACCESS,'
Thanks,
Kyle Gray
Good Samaritan Hospital