I had to convert a real-time ADT feed into a batch feed for our Lawson integration as a matter of fact.
Maybe Lawson has progressed to being able to handle a real-time feed these days or will over time as the Cloverleaf team can help them along.
On the second page of this URL I attempted to describe in enough detail to allow someone else to be able to duplicate the way we are doing it:
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1907&postdays=0&postorder=asc&highlight=batchnumfile&start=15″ class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1907&postdays=0&postorder=asc&highlight=batchnumfile&start=15
The basic concept at a high level is that we have a real-tim interface create a num file of each ADT message real-time so that each num file has one ADT message in it.
Since the num file are sequntially named, when the directory listing is sorted they are also in chronological order.
A proc called batch_num_file.tcl that is argument driven is run on the desired time interval via a cron entry to batch up the currently available num files into a concatenated batch file, which is then available for the destination system to FTP/get or have Cloverleaf FTP/put.
In our case I prefer to have the source system FTP/get the file which happens once an hour for this interface.
The frequency can be much faster and even near real-time if desired.
Our Asset Trakker integration is the same model and batches up the num files every minute.
Here are some other posts that I ran across looking for batch_num_file that might also be worth a look:
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=4142&highlight=batchnumfile” class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=4142&highlight=batchnumfile
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=2501&highlight=batchnumfile” class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=2501&highlight=batchnumfile
Russ Ross
RussRoss318@gmail.com