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 OBX
Ray Mullen
Hi ,
Hi I have a message with multiple OBR and OBX segments and need to change the value in the third field of every OBX within a translate. I have set up an iteration with the following
Type : group Basis: 1(0).1(0).1 variable: %g1 and within the translate
Pathcopy: Input : =L Output : 1(0).1(0).1(%g1).OBX.00571.[2]
This changes all the values in the first set of OBX
Find more posts tagged with
Clovertech
Comments
Tom Rioux
Ray,
If your variant is set up in a similar fashion to ours, then you have a group for the OBX/NTE segments. The iteration for this is set up just as you have described below:
Type : group Basis: 1(0).1(0).1 variable: %g1 and within the translate
Pathcopy: Input : =L Output : 1(0).1(0).1(%g1).OBX.00571.[2]
You should also have a grouping that includes all of the OBR, OBX, and the associated NTE's, if any. You will probably need to do nested iterates like:
Type : group Basis: 1(0).1 variable: %g1
Type : group Basis: 1(0).1(%g1).1 variable: %g2
(and within the translate)
Pathcopy: Input : =L Output : 1(0).1(%g1).1(%g2).OBX.00571.[2]
Hope this helps....
Tom Rioux
Ray Mullen
Thanks Tom , for your reply , that worked fine for me using nested iteration. it's very much appreciated