Execute Code from outside of Navision?

bertoosbertoos Member Posts: 19
Hi All,

Can some one please help me??? :?:

Is it at all posible to execute a pease of code from outside of Navision? For instance, I would like to run a codeunit from a third party VB aplication.

This question resulted from the fact that you cannot execute trigers when you insert using ODBC. ](*,)

Thank you in advance

Bert
Bert

Comments

  • WaldoWaldo Member Posts: 3,412
    Why not using NAS to execute the codeunit?

    You can use MSMQ or some kind of interface table to let NAS know when to execute the codeunit.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • bertoosbertoos Member Posts: 19
    I know about that, but the problem with that is you use up a licence to log in. If at all possable, i would like to avoid billing the client for another set of logins.

    Thank you anayway! =P~
    Bert
  • WaldoWaldo Member Posts: 3,412
    As far as I know, the NAS licenses are seperate. And on every license, there is a free NAS license included, so it shouldn't cost the client anything ... .

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • kinekine Member Posts: 12,562
    And you have no other way to run C/AL code... :-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • janpieterjanpieter Member Posts: 298
    Depending on what you want there is another sollution:

    you can use an automation system as well (make 2 classes which communicate with each other. Let a Navision client connect to 1 class and let the VB application connect to another class.

    You will need an open navision client. A disadvantage is that errors are displayed in the navision GUI so if you don't want that you must program the codeunits without errors and messages or find a way to auto click the messages away :whistle:
    In a world without Borders or Fences, who needs Windows and Gates?
Sign In or Register to comment.