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
Lawson Security Version 10
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
32
Members:
0
Total:
32
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Infor / Lawson Platforms
S3 Security
Lawson Security Version 10
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Stacie
New Member
Posts: 2
New Poster
Congrats on posting!
8/6/2013 5:51 PM
Within LSA - Rules for an Online Securable Type - Has anyone utilized the Expression Builder to create an If statement with the Global Function Utils of "getDBField"?
Trying to write this against the PURCHORDER table for PO20.1 form so that once the vendor number has been added the vendor number can not be changed with the Action Function Code of "change" for a certain role of users. Any examples would be helpful.
Greg Moeller
Veteran Member
Posts: 1498
MVP
You're an MVP!
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
8/6/2013 6:46 PM
Split
I don't have a PURCHORDER example for you, but how about an EMPLOYEE table example?
trim(getDBField('EMPLOYEE','PROCESS-LEVEL',form.EMP_COMPANY,form.EMP_EMPLOYEE))=='900'||trim(getDBField('EMPLOYEE','PROCESS-LEVEL',form.EMP_COMPANY,form.EMP_EMPLOYEE))=='950')
'NO_ACCESS,'
else
'ALL_ACCESS,'
This compares the PROCESS-LEVEL field from the EMPLOYEE table to the EMPLOYEE trying to be displayed on the form (form.EMP_EMPLOYEE) and if they are process level 900 or 950 (our executives) it doesn't allow it.
Stacie
New Member
Posts: 2
New Poster
Congrats on posting!
8/6/2013 7:16 PM
Split
Greg,
Thank you.
We do not have HR but wanted to ask that the EMPLOYEE Table has only 2 primary keys:
Company
Employee
Stacie
Greg Moeller
Veteran Member
Posts: 1498
MVP
You're an MVP!
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
8/6/2013 7:30 PM
Split
The index EMPSET1 only has those 2 fields as keys. There are other keys associated with the other indexes.
Please
login
to post a reply.