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
Adding a new NTE instead of overwriting
System
Originally posted by Randall Constant
I have a project where that I need to add a new NTE in the OBR group, but I don't want to overwrite any existing NTE's in that group. How would one approach this in the engine?
Find more posts tagged with
Clovertech
Comments
Max Drown
You could do something like NTE(1). You can either hardcode the number if you know how many NTE segments there are, or you could use a loop to count and a loop variable to set the number like NTE(%s1).
Keith McLeod
If yo use the iterate inside an xlate, the %s1 or whatever you define variable will contain the loop count. You can add to it just outside and below the iterate. For example:
math add $%s1 =1 --> $%s1
The $ symbols allows for access to the variables value. Use is on both sides.
just beyond the iterate
copy 'something' --> 1(0).0(0).NTE(%s1)....
I beleive the %s1 retains it value unless it is initialized by another iterate statement using %s1 as it variable.
Tom Rioux
Keith and Randall,
It appears that the iteration variable does not hold it's value once you have completed the iteration.
System
Originally posted by Randall Constant
Thanks to everyone! With your help I think I've got it.