infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Update a global variable?
tim-jipson
I'm running 6.2 on AIX. I can create and call a global variable from inside an xlate but I can't change the value. I've tried the gv commands and the normal tcl set but the value never updates. Is there a trick to this?
Find more posts tagged with
Clovertech
Comments
dirkengels
Tim,
have you execute the gvsave command after setting the new value? Otherwise you only update the variable in memory, but do not write it back into the file. I'm using the following
gvsetvar LASTSCANDATE $scandate; gvsave
and my global variable LASTSCANDATE will be updated in the file.
tim-jipson
I was missing the gvsave, I did not know that was needed after a gvsetvar. Thank you!