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
IAR to IAM Iterate
Tim Purvis
So I need something that will copy all of the IAR.1's into a single IAM.5 field on the outbound separated by a ~. The IAM and IAR are in a repeating group. The IAM segment doesn't repeat but the IAR can have multiple instances associated with a single IAM which is where my problem is. I need to be able to pull Abdominal Pain and Rash from the below example and then place in IAM.5 as Abdominal Pain~Rash. I have an Iterate setup on the group and the segment but I am not having any luck. I have banged my head against the wall for a while one this. Does anyone have any experience pulling values from multiple segments and then placing them into one field?
IAM||DA|8921^Latex^99ING|||X|||||||||||C|K Halley^Halley, Kelly^^^^^^^SOARIAN||201506291029|||||||8921^Latex^99ING
IAR|^Abdominal pain|MO||
IAR|^Rash|MO||
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Yup - you most likely can simply place the counter for your segment or group (%sx or %gx) in the field repetition position of the address path.
I emailed you in case you want to discuss this off-line.
Tim Purvis
Jim
Can you email me at Tpurvis1084@yahoo.com?
System
Originally posted by Ryan Hull
I know this very old, but I'm stuck on something similar. I've got a field which can repeat and I'm trying to copy it into ITM-1 which is also a repeating field. The variants being used both have the repeating option checked.
I copied over the ZIT-48 content for 1 instance of the field (test message isn't repeating in this case). However, I am unfortunately overwriting what is already being copied into ITM-1. I'd like to put this in the next instance of ITM-1 since it repeats.
My iteration is: Type:field Basis: 0(0).ZIT(0).#48 Variable: %f2
Then I use: COPY 0(0).ZIT(0).#48(%f2) --> 1(0).0(0).ITM(0).#1(%f2)
I've tried iterating through the ITM-1 field but since that is an output field I think that's why it doesn't work. Does anyone have a suggestion? I've seen material on the $%g function, but I'm still unclear on how exactly that works.
Jim Kosloskey
Ryan,
email me and I will try to assist.
Just click the email button on my signature.