-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Passing common variable from OFS through pgm file
Passing common variable from OFS through pgm file
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
1 year 6 months ago #24120
by Fk
I have an enquiry for an OFS and I HV passed the R.user in my OFS.now I want to get the same R user in my PGM file.how can this be achieved.in the OFS enquiry have created the field User in the SS ,then I created a variable in which em getting the R.user and pass it in OFS message also used the locate in my OFs routine but the question is I can't create a field just that I did in SS for pgm file and how to get the user now in PGM file
Please Log in or Create an account to join the conversation.
-
silvergem
-
-
Offline
-
Elite Member
-
-
TAFC|R12/R13, TAFJ|R20
Less
More
-
Posts: 267
-
Thank you received: 21
-
-
1 year 6 months ago #24122
by silvergem
1. To the get the current user logged-in you can use the common variable OPERATOR
2. To create a variable accesible by currently user logged-in, you can use the function
CALL System.getVariable(variableName)
CALL System.setVariable(variableName, variableValue)
CALL System.deleteVariable(variableName)
All this function access the table EB.USER.CONTEXT. This can also access the Current variables (E.g. !CURRENT.DEBIT.ACCT.NO , !TODAY) created by enquiry
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Passing common variable from OFS through pgm file
Time to create page: 0.074 seconds