Security for the Rate field on PR36.1 screen

Sort:
You are not authorized to post a reply.
Author
Messages
mfameree
New Member
Posts: 3
New Member

    We need to open up security for payroll users to enter time records on the PR36.1 screen for process levels ending in '2' and '3', but these users are not allowed to see the pay rates for employees in these process levels. However, we still need the users to have the capability to enter dollar amounts in the rate field, so we can't completely remove security from the Rate field on PR36.1 for these process levels. 

    I've set up security rules to prevent these users from seeing the TRD-RATE field on process levels ending in '2' and '3'. It does not show up in drill-around. However, if I add a time record on PR36 and leave the RATE field blank, once I do an Inquire on the record, the TRD-RATE value still shows up on the PR36.1 screen.

    I have the following rule set up on the TIMERECORD,RATE field:

    If (user.attributeContains('ProcessLevelControl',trim(getDBField('EMPLOYEE','PROCESS-LEVEL',table.COMPANY,table.EMPLOYEE))))&&(subString(trim(getDBField('EMPLOYEE','PROCESS-LEVEL',table.COMPANY,table.EMPLOYEE)),4,1)=='1') 
    Then ALL_ACCESS
    Else NO_ACCESS

    Why does this rule not prevent the TRD-RATE value from showing up on PR36.1? I also tried setting a security rule on the PR36.1 TRD-RATE field to prevent access to the field if the last digit of the PROCESS-LEVEL is not '1', but this completely removes the field from the screen. As I mentioned earlier, we need the field on the screen for users to enter dollar amounts for these employees on occasion, we just don't want them to see the pay rate if they enter a record on PR36.1 for an hourly employee with process level ending in '2', leave the RATE field blank,and then inquire on the record. Any ideas on how to accomplish this? 
    We need to open up security for payroll users to enter time records on the PR36.1 screen for process levels ending in '2' and '3', but these users are not allowed to see the pay rates for employees in these process levels. However, we still need the users to have the capability to enter dollar amounts in the rate field, so we can't completely remove security from the Rate field on PR36.1 for these process levels. 

    I've set up security rules to prevent these users from seeing the TRD-RATE field on process levels ending in '2' and '3'. It does not show up in drill-around. However, if I add a time record on PR36 and leave the RATE field blank, once I do an Inquire on the record, the TRD-RATE value still shows up on the PR36.1 screen.

    I have the following rule set up on the TIMERECORD,RATE field:

    If (user.attributeContains('ProcessLevelControl',trim(getDBField('EMPLOYEE','PROCESS-LEVEL',table.COMPANY,table.EMPLOYEE))))&&(subString(trim(getDBField('EMPLOYEE','PROCESS-LEVEL',table.COMPANY,table.EMPLOYEE)),4,1)=='1') 
    Then ALL_ACCESS
    Else NO_ACCESS

    Why does this rule not prevent the TRD-RATE value from showing up on PR36.1? I also tried setting a security rule on the PR36.1 TRD-RATE field to prevent access to the field if the last digit of the PROCESS-LEVEL is not '1', but this completely removes the field from the screen. As I mentioned earlier, we need the field on the screen for users to enter dollar amounts on occasion, we just don't want them to see the pay rate if they enter a record on PR36.1 for an hourly employee with process level ending in '2', leave the RATE field blank,and then inquire on the record. 
    You are not authorized to post a reply.