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
Concatenate Multiple NTE-3's From Multiple Segments Into A Single OBR field
Jon Souders
I have a need to concatenate multiple order comments from multiple NTE's into a single OBR field.
Has anyone ever done so using an xlate? Would it just make sense to use a proc in this instance? I can't find a way to append a temp variable so I wasn't sure if this would be possible in the xlate or not.
I was trying to avoid using a proc, if I could, mostly just to say I did it - so I don't have a hard line saying I can't use Tcl for it. Just curiosity!
Thanks.
Find more posts tagged with
Clovertech
Comments
Paul Bishop
It can be done in a translate. You would use a temp variable to save the information before moving it to the OBR field. Make sure the temp variable is initialized first (move
@null
into it at the top of the Xlate), then in the loop for the NTE segments, you would have the NTE field and the temp variable as the source, use the CONCAT action, and the temp variable as the destination. If you want to have something between the fields, use the "Separator" field on the CONCAT properties.
Jon Souders
I JUST figured it out right before coming back to see if anyone had commented. Hah!
Thanks for your help though, Paul. This would have saved me some headache if I would have just waited.