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
xlateStrLength not working?
Jason
I'm trying to trace an XLT and one part I get stuck at is there's an IF statement that's doing a xlateStrLength on what looks like a normal 3 character string but for whatever reason, it's going down the ELSE path which leads me to think the xlateStrLength isn't working... has anyone run into this? Or am I crazy?
thanks!
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
There's an xlateStrLength inside the actual IF statement? Don't think that will work.
If a complex IF statement is needed then do the computation beforehand with a COPY and put the result (Y/N) in a
@result
variable. Then check in the IF whether
@result
eq =Y.
Jason
sorry, should've clarified, it's not in the actual IF statement, it's setup like you described
basically, it's saying
@result
eq=N when I'm expecting it to be Y
Jay
Be sure there is a space between
eq
and
=
value eq =Y
That's bitten me a few times.