Forums
Lawson Design Studio
Design Studio Scripting
Author
Messages
JoeS
Basic Member
Posts: 20
3/27/2013 2:15 PM
I would like to limit the list of HR11 user fields to a specific group. Is it possible to use scripting within Design Studio to limit the list when the form loads? I have a group of users who should only see/modify a limited list of user fields. Any ideas or examples would be much appreciated.
Thanks,
Joe
Ragu Raghavan
Veteran Member
Posts: 469
3/27/2013 4:50 PM
Quick and dirty option:
On_Aftertransaction
blank out/fill with XXX/hide the lines that the user is not supposed to see. Track the lines that user is not supposed to modify
on_beforetransaction
Use the line#s tracked to change line_fc to blank, so even if users entered A/C/D, values are not changed
JoeS
Basic Member
Posts: 20
3/27/2013 6:53 PM
You would not happen to have any sample code that would do what you mentioned in your reply? Thanks.
Ragu Raghavan
Veteran Member
Posts: 469
3/27/2013 8:00 PM
Sorry no. If I had to do it, that is probably how I would do it.