Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Security
Securing PA52 selections.
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
176
Members:
0
Total:
176
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Security
Securing PA52 selections.
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Jay2
Veteran Member
Posts: 84
5/20/2014 1:19 PM
In S3 portal I have secured the file GLNAMES so that agency users can only select from account unit within their own process level.
Now we are using PA52 to change expense data for an employee.
We have an action called Exp-Data that was defined in PA50 using the topic E2 - Pay Distribution. One of the fields we have selected is Expense Acct Unit. When an agency user uses this action in PA52 and clicks on the arrow next to this field it opens HRSC.1 and it shows all the Account Units available. Where can I go to filter this view so they only see the account units in their own process level?
John Henley
Senior Member
Posts: 3348
5/22/2014 2:11 PM
Are you using LAUA security or LS security?
Jay2
Veteran Member
Posts: 84
5/22/2014 4:29 PM
I am using LS security. I thought I would have to secure the table it is pulling from but I have already secured GLNAMES. Unless it comes from a different table.
Christi
New Member
Posts: 2
6/2/2014 1:35 PM
since you are securing by process level, you may need to build the security around the DEPTCODE.DEP_ACCT_UNIT
Jay2
Veteran Member
Posts: 84
6/6/2014 5:54 PM
Ok, This is what I have done so far and what the issue is.
In S3 portal I have secured the file GLNAMES so that agency users can only select from account unit within their own process level.
Now we are using PA52 to change expense data for an employee.
We have an action called Exp-Data that was defined in PA50 using the topic E2 - Pay Distribution (Attach1.doc 1.). Two of the fields we have selected is Expense Acct Unit and Expense Account. When an agency user uses this action in PA52 and clicks on the V next to the Expense Acct Unit, it opens HRSC.1 and it shows all the Account Units available(Attach1.doc 2.). When the user clicks the V next to Expense Account it shows all the Expense accounts (Attach1.doc 3.).
I have added the following rule against HRSC.1 DT0 section for the Expense Acct Unit.
if(form.PAD_ITEM_NAME=='Expense Acct Unit'&&(user.attributeContains('Agency','ALL')||user.attributeContains('Agency',subString(getDBField('GLNAMES','VAR-LEVELS',lztrim(form.PRS_COMPANY),form.VALUE),1,3))))
'ALL_ACCESS,'
elseif(form.PAD_ITEM_NAME!='Expense Acct Unit')
'ALL_ACCESS,'
else
'NO_ACCESS,'
The rule returns the appropriate keys (Attach1.doc 4.) and now I only see the Account units within that users own process level.(Attach1.doc 5.).
I then added the following code to HRSC.1 DT0 section for Expense Account
if(form.PAD_ITEM_NAME=='Expense Account'&&(user.attributeContains('Agency','ALL')||user.attributeContains('Agency',subString(getDBField('GLNAMES','VAR-LEVELS',subString(trim(form.DETAIL),1,2),subString(trim(form.DETAIL),4,8)),1,3))))
'ALL_ACCESS,'
The rule still returns the appropriate keys(Attach1.doc 6.) but now I get an IOS error(Attach1.doc 7.) when I click on the V next to Expense Account.
Attachments
Attach1.doc
You are not authorized to post a reply.