an we create a "database driven website" which is directly connected to a navision database in SQL. I have already done this using NAS & IIS but now i dont want to use NAS or IIS. I want to know what will be the disadvantage (or advantage ) of directly inserting data into navision table using a website. For ex: Creating a customer or order using website and pushing data into SQL Navision table and then seeing the data using customer card or sales order form in navision. PLease advice
0
Answers
For "complex" datastructures like Sales Orders with Lines where some business logic exist, use a NAS or a Client that insert/modify the recs.
Store the data in a preprocess table, or use a webservice or something else. But doen't create orders directly from SQL. Did you take a look into the tab 36/37 what for C/AL is there running? All these code that u need, u must also develop in SQL. So, this is a lot of work, and what is, if there are some changes in the future? Then u must also change your SQL. Also u must fill all fields from SQL with the DEFAULT values. If you doesn't do this, these fields have a NULL value. And this is not allowed for NAV. So, let a NAS or a Client create these datas in NAV. And the IIS is not needed.
Regards
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
:thumbsup:
what will happen when the SharePoint client is released for NAV? I guess we will cross the bridge when we get there.
Or rather jump from it.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You can also do an exe upgrade to 2009 and use webservices.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n