Call Navision Code From External Application

timlara
Member Posts: 2
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!
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!
0
Comments
-
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,
Bruno0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions