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
OBR segment counter
Andres Alvarez
Hello all,
I am new to tcl and the forum.
Scenario: Outbound ORM message with multiple ORC segments with their respective OBRs under each ORC. I have collapsed the ORC segments to one ORC. The OBRS are there. However, The SET ID for the OBRS are whatever they were preveiously. I need guiance with an ascending counter for the OBRs (OBR|1, OBR|2, OBR |3)
Any help is appreciated.
Find more posts tagged with
Clovertech
Comments
Keith McLeod
You can make use of the variable used in the iteration that supports your OBRs with something like
math add =1 $%g1 --> 4(0).0(%g1).ORB(0).#1.[0]
Of course use the correct outbound path from your code...
Andres Alvarez
Thanks Kieth. I wil give it a try. I figured there would have to be someway to use those as integers, but they didn't teach that in the intro class.
Jim Kosloskey
I don't think they teach it at all - but I think it is now documented in the Help beginning with CL 6.0.0 anyway.