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
Creating a Batch from Multiple DFT messages.
System
Originally posted by Mike Wilson
Does anyone know of a way I can read in all of my DFT's for a given time frame then Batch them to send to the Vendor? Thanks!
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Create an OB thread with protocol of UPoC and configure as both read and write. Use the same proc in both modes. In the write mode simply append to a file. In the time mode send the file.
Simple
System
Originally posted by Mike Wilson
I guess im not sure how to set the write mode to file and time mode to send...
Charlie Bursell
Just write a proc that runs in both time mode and run mode.
In the run mode, append you message to a file. In the time mode send the file to where you want it to go.
If you cannot do that you will need some implementation assistance
System
Originally posted by Mike Wilson
Is there no way to do it using the built in Createbatchheader/trailer scripts?
Charlie Bursell
Have not tried it. I think it would entail more than the simple Tcl proc I outlined
System
Originally posted by Mike Wilson
Maybe I wasnt totally clear. The "batch" file would need to truly be a batch message with a BHS segment... I would think CL would have this functionality built in...
System
Originally posted by Mike Wilson
I thought I would update the thread and let everyone know what I did incase they wanted/need to do this at some point with the built in tools of the engine only.
First I created a new Message type within the HL7 variant I was using called DFT_BAT. Then created the message structure to have the FHS and BHS segments and Trailers.
I then created an Xlate to populate the fields. So on the inbound I had DFT_P03 and Out was DFT_BAT. No TCL code needed, No UPOC thread setups. Just the engine.