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
Iteration on non-existent segment.
System
Originally posted by John Hamilton
I need to determine if an optional segment exists in my source message.
I know there has to be a way to do this but I
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Hi John,
Using the IF statement with
@null
should work!
I have an ADT-translation, where I need to check whether a MRG-segment is present. I use an
IF 0(0).MRG.00211 ne
@null
to check this.
If you get an IR-tags mismatch, check the mapping of your fields: there's something wrong there.
System
Originally posted by John Hamilton
Helps if all the iterations are setup correctly.
The IF was working fine the outside iteration was not. I just needed to move the IF statement up two levels.