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
Xlate IF variable
System
Originally posted by Todd Yingling
I am trying to use a variable in an IF statement in an xlate.
Find more posts tagged with
Clovertech
Comments
Tom Rioux
You should not encounter a problem with the @ symbol in an IF statement. You should be able to access it with something like:
IF 0(0).PV1.00133.[0] eq
@null
The syntax does not require an = sign before the variable name.
Can you give us an example of how you are attempting to access it?
Thanks....
Tom Rioux
System
Originally posted by Todd Yingling
Thanks Tom. I was using the = sign. I removed that and it works fine now.
Thanks again,
Todd
System
Originally posted by Ruth Chong
Hi All Experts
If say, I have a few variable and the only different is the suffix number, for example, Rad_Display_info1, Rad_Display_info2, Rad_Display_info3, I think more efficiently is to check IF Rad_Display_info* then empty...how to let the engine recognise this wild card?
I have this error when I run the tester
[0:TEST] IF expression parse failed: Unrecognizable lexical token
Error occurred at: '*'
Tom Rioux
You may be able to iterate through this with a list basis. Do you have an example of the segments or fields you are trying to search through?
Thanks...
Tom Rioux
System
Originally posted by Ruth Chong
Thanks for the reply....
I choose the ge so that any string equal or greater than the Rad_Display_info is catered for and its working..
I iterate the OBX as a group of segment