automated processes in Navision 3.70

Hello! An interesting question - has anyone ever done some automated (demon) processes in Navision? The problem is that whenever an xml-file is created in specific directory, navision has to create a sales order out of it and print it out to a printer. So far i have not found any realiable way to make this happen. Any ideas?

Well, there are some options you can chose: Easy: Create a Form using the OnTimer Trigger to look up the XML periodically and process it Easy too: Create a Codeunit using the Navision Timer Automation to look up the XML periodically and process it Medium: Create a job for the “Job Scheduler” (Service Management) Tricky: Create a Codeunit using Socket Bus Adapter as Automation. Open a TCP/IP port and listen on it for XML files. On event, import the XML and process it Your choice … [:P]

You can also use the NAS to run a codeunit that looks in the directory periodically. Just a note - NAS cannot run a report or a dataport. If you can, upgrade to the 4.0 client and use the XMLPorts… Django

quote:

Hello! An interesting question - has anyone ever done some automated (demon) processes in Navision? The problem is that whenever an xml-file is created in specific directory, navision has to create a sales order out of it and print it out to a printer. So far i have not found any realiable way to make this happen. Any ideas?
Originally posted by annar - 2005 Feb 02 : 10:48:35

You can probably record the demo before hand so you don’t have to replicate it. If printing is the problem, why don’t you set your default printer to print to a .PDF file?