Navision and Third party application integration

farrel
Member Posts: 25
Hi All,
I have a client that has an inhouse application and I need to write a code that will access their database and create sales order based on their data. My question is where is the safest way to call the codeunit that I wrote so that I't would be like an online integration between the two application. So that every creation of record on their application and whenever it meets the requirements it will create a sales order on navision.
Thanks in advance,
Farrel
I have a client that has an inhouse application and I need to write a code that will access their database and create sales order based on their data. My question is where is the safest way to call the codeunit that I wrote so that I't would be like an online integration between the two application. So that every creation of record on their application and whenever it meets the requirements it will create a sales order on navision.
Thanks in advance,
Farrel
0
Comments
-
All depends on what the application is able to do. Without this info... e.g. data are saved in SQL, the application can call webservice when something is triggered, or the data are somewhere and I will need to check it myself if there is something new etc...0
-
[Topic moved from Navision Tips & Tricks forum to Navision forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Interesting topics..so farrel what version are you using right now is it native or SQL DB?Sendoh
be smart before being a clever.0 -
kine wrote:All depends on what the application is able to do. Without this info... e.g. data are saved in SQL, the application can call webservice when something is triggered, or the data are somewhere and I will need to check it myself if there is something new etc...
Hi, The third party application is using SQL as their back end. i.e. when ever new Job order is posted this will trigger NAV to capture the posted JO to create new Sales Order based on that JO.
Thanks,0 -
There are some ways you can go:
1) Using SQL Views you can connect the table from the app into your NAV DB as separate table, which you can read. Tan some process on NAS can check these data and if some new record is detected, it can create what you need in your tables and run the logic in NAV. PROS: all is within NAV, CONS: you canhave problems with security when the View is connecting to another SQL server than NAV is using. NAS must use some loop to check the data - it will be "semi-online" solution (some delay can be between inserting and processing)
2) You can do same as in 1 but without view, using just ADO to access the table and read the data.
3) You can use SQL to create some trigger on the table, where the external (from NAV point of view) application is inserting the data. This trigger will send message in some way to NAV (through NAS and MSMQ, TCP/IP or in another way) that there are some new data. PROS: will be "on-line" solution, the delay will be minimal. CONS: you need to have "know how" for creating the trigger.0
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