Saving records in Navision Native database in C#

m.pacanam.pacana Member Posts: 75
I have a navision form wherein i call an external C# form that performs adding, deleting, and modifying records both on its SQL server and Navision native database. Whenever I perform changes there, i also want it to reflect in the records inside the navision tables.

What's the best way to handle the insertion of records in navision db using c# function?

Comments

  • kinekine Member Posts: 12,562
    Best is to have some NAS and:

    1) Insert data from C# into some special Navision table (without triggers etc) and let NAS to transfer this data into target Navision tables
    2) Talk to NAS through MSMQ or TCP Sockets and let NAS to insert the data (create something like WebService on NAS)

    If you will use C/Front for inserting data into Navision, you still need to run the Business Logic withing Navision in some way. It is why the NAS is used...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.