Hi All,
Recently the company where I work decided to upgrade from Navision 4 to NAV 2009. We found a partner to do the migration and everything is working (almost) fine.
I have an issue caused by a codeunit that was schedule to run on the Navision 4 scheduler and now needs to be ran by the NAV job queue. Then basic flow of execution of the codeunit is:
-
Check for the existence of any *.csv files on a server share
-
If found:
a. set the FILENAME property of a specific dataport
b. calls the dataport function RUN
I set the codeunit property TableNo to “Job Queue Entry” and when I try to save and compile I have these 4 warnings (in brackets is the original Portuguese text error):
-
dataport type not supported (“Dataport” não suportado)
-
dataport type not supported (Tipo “Dataport” não suportado)
-
the FILENAME function is obsolete in Microsoft Dynamics NAV Server. (A função ‘FILENAME’ é obsoleta para o Microsoft Dynamics NAV Server.)
-
the RUN function is obsolete in Microsoft Dynamics NAV Server. (A função ‘RUN’ é obsoleta para o Microsoft Dynamics NAV Server.)
By now every time an user as anything to import has to call me and I have to run the codeunit manually [:S]. Is there a way to keep the functionality and add this codeunit to the NAV job queue?
Thank you all for your time and help.
Best Regards.