Call Navision Code From External Application

timlaratimlara Member Posts: 2
edited 2003-12-29 in Navision Attain
We are in the design phase of implementing Navision Attain in our company, and at this point, we are trying to figure out how we're going to integrate pieces of our existing system with core Navision.

One of our major goals is to AVOID re-creating any core Navision logic outside of Navision. In other words, if we have external applications editing Navision data, (an ASP.NET web form, for instance) we want those applications to be able to somehow pass a call to Navision which will apply core Navision table validations, etc before accepting any external data.

So far, I have figured out how to call specific functions in Navision externally using Navision Application Server (NAS), but the problem I am seeing with this approach is that it seems that the communcation with Navision is one-way only. By this, I mean that even though I can call a given trigger in Navision externally, there does not seem to be a way to tell whether the call succeeded or not.

For our purposes, knowing whether or not a particular process succeeded or failed (for example, whether data entered through a web form was valid, and posted into Navision successfully) is crucial.

Does anyone have any experience doing something like this?

And if Application Server does not support this, then is there a better way?

Happy Holidays, and Thanks in advance for your replies!

Comments

  • bruno77bruno77 Member Posts: 62
    Hi,

    The approach to take would be to have Navision (the NAS) send back a status after it processed the transaction. This can be done by using i.e. MSMQ and ReplyQueue, or some other simular technology. By doing this your external application knows if the Navision transaction was successful or not.

    Regards,

    Bruno
Sign In or Register to comment.