I'd like to pick a few brains please. I'm trying to determine if IPA is a viable option for running SQL code and FTP'g the file or moving it to a directory. Most of my Lawson exports are created via a SQL View. So the next step just pulls the entire view (select * from LawsonView).
Currently in order to get the file into csv, tab, excel, etc... I have to create a crystal report and schedule it via LBI which exports it to a specific directory. My network team have to create the FTP connection, make any file name corrections/additions (via scripting) and send the file.
Another option is to have my network team create a scheduled task to do the above. I don't like about this option because I as a developer can not see the task to know if it ran or even to check the scheduled run time etc...
In IPA I can use a SQL query node to get the data and an ftp node to send the data, but I'm not quite sure what to use in the middle. I tried a data iterator, a msg builder both together a separately. I've tried just writing the records to a file (file node, append). None of these seem to do what I'm looking for or at least it doesn't appear to be very efficient.
Hi Kwane - I know Powershell and Perl have been discussed for the more complicated scripts. I'll have to ask my sys admin about cygwin since I don't know what that is. We have some planning meetings scheduled in the near future. I'm sure the simple ftp scripts will be handled one way, the scripts that load information into lawson with be replaced with IPA flows and the other more complicated scripts...will depend on what they do. Needless to say we have some fun ahead of us ;-). Thanks for your input.
There are some downsides to Cygwin, but most of them are almost entirely outside the scope of what I would perceive the normal Lawson/Infor sort of environment to be worried about.