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
getDBField Syntax
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:
63
Members:
0
Total:
63
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
getDBField Syntax
Please
login
to post a reply.
3 Replies
1
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Garry Ferwerda
New Member
Posts: 0
8/25/2009 6:03 PM
Hi: Maybe someone can tell what I am doing wrong with this statement written against the GLMASTER table:
user.isMemberOf('RSS-SHOPPING-IT') && trim(getDBField('GLACCMXVAL','MX-VALUE',getDBField('GLCHARTDTL','OBJ-ID',table.CHART_NAME,table.ACCOUNT,table.SUB_ACCOUNT),'RSS-ACCOUNT')) == 'Y'
I am trying to limit access to accounts based on an attribute value. I have tried numerous combinations of trim, lztrim and no matter what I have tried no acccounts are ever accessible.
Thanks,
John Henley
Posts: 3366
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
8/26/2009 7:43 PM
Split
I do have some examples of how to do this (and I do feel your pain), and will post them next week.
Garry Ferwerda
New Member
Posts: 0
8/27/2009 5:41 PM
Split
Thanks John. I did figure out what the problem was. I needed to specifiy the index to use when accessing the GLCHARTDTL table. Here is the working version:
user.isMemberOf('RSS-SHOPPING') && trim(getDBField('GLACCMXVAL','MX-VALUE',getDBFieldByIdx('GLCHARTDTL','OBJ-ID','GDTSET2',table.CHART_NAME,table.ACCOUNT,table.SUB_ACCOUNT),'RSS-ACCOUNT'))== 'Y'
I am not trying to understand how the isElementGrpAccessible works.
Garry Ferwerda
New Member
Posts: 0
8/27/2009 5:42 PM
Split
Typo in previous post.
meant to say I am now trying to understand how the isElementGrpAccessible works.
Please
login
to post a reply.