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
Problem is on outbound I lose my trailing spaces...
System
Originally posted by Tom Gilbert
I created a pre tcl to add spaces to fit length. In testing spacing is there for the proc. after it goes through xlate post proc all the trailing spaces are gone. any thoughts on how to retain them...?
Find more posts tagged with
Clovertech
Comments
jnelson
If the message is an HL7 message, the reason the spaces are being removed is because, according to the HL7 encoding rules, trailing spaces are not significant so they are removed. This is the same for empty fields at the end of a segment.
If you want to add them after the Xlate, put your tcl proc in the 'Post Procs' stack in the Route Details or in the 'TPS Outbound Data' stack of the outbound thread.
System
Originally posted by Tom Gilbert
Sorry this is a flat file and is suppose to be a fixed length. The source cannot pad spaces at end of the segments so I am adding them to get to max length via a pre tcl so I can map correctly in xlate.
Jim Kosloskey
Is the Xlate FRL to FRL?
Jim Kosloskey
Also what release of Cloverleaf?
Charlie Bursell
The FRL configure allows you to define the fill character which, by default is the empty string (null). Change it to space and try that