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
msgcreate and the recovery db
Mike Strout
We have charges messages coming from our lab system containing multiple FT1 and PR1 segments, but our target system can only handle one FT1 per message.
My solution a year ago was to throw the MSH, PID, and PV1 segments into a "header" variable and then use foreach to iterate through each FT1 segment. I then join the header variable and the FT1 into a new message and then use "msgcreate -recover" to make a brand new message.
The problem is that when I test this tcl proc using the route testing tool, the engine panics and crashes, but when I run this script inside a process, it performs fine. Can someone help me understand what is happening?
Find more posts tagged with
Clovertech
Comments
david_barr
Usually it's better to use a msgcopy of the original message instead of a msgcreate. This ensures that all of the metadata fields have the right values.