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
Read Only Archives
Cloverleaf
Cloverleaf
Good FAC question
Mike Campbell
Clovertechers,
While you are all sitting around you respective Friday Afternoon Clubs how can I code an XLATE to use the site it is running on to flex the P or T in the MSH-11 Processing ID field?
In effect, checking to see if the site is cl_test code a T. If cl_prod code a P. I'm sure there is a simple solution but didn't see anything like that in the forum.
Find more posts tagged with
Clovertech
Comments
david_barr
In a TCL fragment, you could copy $::HciSite to xlateOutVals, and put that in a copy action into a temporary variable. Then you could use an IF action or a TABLE action to translate the site to a P or T.
Mike Campbell
Thanks David. I figured it was fairly easy. I just didn't know exactly how to get that information/variable name.
Works as advertised.
Enjoy the weekend.