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
string at end of message
Kevin Crist
i have been tasked with adding "ENDOFTRX" at the end of each result.
Has anyone ever done anything like this? No real sure how to accomplish it.
Here is an example they sent me:
OBX|4|NM|METERSN^^GSHLRR||47005912216||||||F| || ||||
OBX|5|ST|OPERATOR^^GSHLRR||Scooby, Doo||||||F| || ||||
ENDOFTRX
Thanks for any help
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
I think you will need some post Xlate Tcl if you are building the results with an Xlate.
I think it should be a fairly simple proc just adding a string to the end of the message then giving the handle back.
As to whether post Xlate UPoC or Outbound is up to you and dependent on the situation.
I normally would opt for Outbound.
Kevin Crist
I figured a tcl in the OB but not strong enough with to make it happen by the time they want it...which is tonight.
Jim Kosloskey
I don't think I have such a script since we would not entertain doing such a thing.
Does someone else have a script that does what Kevin needs (insert text at the end of a message)?
Keith McLeod
Are you trying to simply add "ENDOFTRX to the end of each result message?
Maybe in your tps proc add something like:
set msg [join "$msg ENDOFTRX" r]
msgset $mh $msg
Do this in your run stanza before the disposition.
Not sure how your receiving system will like this though....
System
Originally posted by Michael Hertel
run {
# 'run' mode always has a MSGID; fetch and process it
keylget args MSGID mh
msgset $mh [msgget $mh]ENDOFTRXr
lappend dispList "CONTINUE $mh"
}
Kevin Crist
that did the trick. thank you all for the help. I owe you all a frosty beverage.