Executing external programs

Sometimes it’s needed to add functionality not delivered by NAV. One way is to use .net addemblies or automations. Another scenario can be to run an external program in C/AL. The old way is to use the quite old SHELL Command or class WshShell of the Windows Scripting Host. In both cases when running an external program a security warning is displayed. To avoid that and to have also a much prettier solution, use the class System.Diagnostics.Process from the .net framework (assembly System.dll). For usage in RTC set the property RunOnClient to true, for usage on the server only like job queues set the value to false.

Bron : Moxie4nav
Lees meer…

NAV RTC – Get Data From Navision in a External Application using Web Services – Part III

Import the objects into navision Database. If you required to assign a new number to the Codeunit then use the Text File.

Create Web Service as discussed in Post 1.

The only thing that need to be changed is the web service reference.

Bron : Saurav Dhyani
Lees meer…