Hello,
is it possible to start a report/dataport/codeunit with an external program ?
Why i ask ?
We have a webshop running. If a customers orders something i wan't wan't to execute a small program that indicates to Navision that there is a new order in a File.
For example:
startreport 12345 ORDER001.txt
This starts Report 12345 with the Parameter ORDER001.txt. Is
this possible ? Or do i have to write a 'server tasked report/dataport/codeunit' that sits on a tcp-port waiting for incoming connection ?
Thanks for your help.
Best regards,
Kai.
--
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG
0
Comments
Thought:
Use a separate "new order queue table" which a separate process could monitor
--
Skeeve
Navision Developer
However, I have successfully implemented the solution suggested by ...
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Skeeve:
Or use a standalone Client that in a OnTimer Trigger "polls" the directory for new files.<HR></BLOCKQUOTE>
If you can wait, this is *definitely* the right answer! I say *definitely* because even if it's not elegant ist easy to implement, cheap and reliable. I was also involved in projects where other attempts were implemented (OCX-calls from within Navision, write to a NF interface-table via ODBC etc.) but at the bottomline the good-old ascii-file always turned out to be the best choice.
Marcus
Marcus Fabian