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
IF problem within Iterate
Gordon Koch
Hello All,
I need to iterrogate down to the field level amongst repeating OBX.5 fields (within a repeating group), and then output the whole group if the condition is met. My IF statement successfully finds the match, but my output only includes the matched field, and not the rest of the OBX.5 fields that I want included. Here is the basis in my IF statement:
1(0).2(0).1(%g1).OBX(0).#5(%f1)
Any input would be appreciated to fix the Xlate.
Thanks.
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Daniel Lee
What's inside your if? When you're including an element of an itterate only if it matches a certain criteria you also have to keep a variable that keeps track of how many matches you've had so you know which itteration of the output variant you're on.
Gordon Koch
Hello Daniel,
My IF statement has a contains (ct) doing a string match. I understand why it is returning only the subfield with the match, but I want to apply different code to the whole OBX.5 when this element is present. This is what I am trying to figure out.
Thank you.
System
Originally posted by Daniel Lee
Can you include a screenshot so I can see what you're Xlate is doing?