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
VRL with column names in the output file
Collin Praster
I am looking for a tcl that would put the VRL headers on the first line of the file that it is writing to.
Example
Fname lname email
Collin Praster
cpraster@kdhcd.org
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
The problem you will have here is the variable width of each field and record. How do get the fields justified under the proper headings?
Collin Praster
They dont need to stay aligned, I think the receiving system is just using the header to input into excel and then its delimited by the pipe |
Charlie Bursell
I don't know how you are sending the data but it seems to me if you have control of it why not simply build a VRL record with the headers and output it first?
Collin Praster
Hey Charles I get what you are saying but how would I go about it?
Collin Praster
I don't know if this is what you were thinking but you were right I just did a =column name and mapped it to a new vrl file but then I realized it would duplicate that every time a new value was sent over. I would just need that header value one time not every message.
Charlie Bursell
I could not provide more as I had no idea what interfaces you are using.
Looks like what you did is OK just figure when to send the header.