Hello guys, quick question for the SQL experts
Using NAV 5.0 on SQL
Our company has merged with another and an application has been developed to extract data from our NAV SQL db to another ERP-system.
The app. uses also modifies custom fields in multiple tables, including Items, Sales Invoice Header and more.
Like these
Enabled Field No. Field Name Data Type
Yes 62101 ERP_ChangeDate Date
Yes 62102 ERP_ChangeTime Integer
Is it advisable to write directly to a NAV Database without the NAV Client?
Could this cause corruption?
-
I guess the fields could just aswell, be placed in another database... :-k
Best regards / Venlig hilsen
Johannes Sebastian
MB7-840,MB7-841
0
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
And maybe even leading to an inoperable system ?
The tables are vital standard tables like 27/Item
Johannes Sebastian
MB7-840,MB7-841
1 - wrong values (NULL values, lower case in Code fields, etc.)
2 - missing validation
Issues with number 1 can actually cause NAV to stop working, issues with number 2 can cause severe inconsistencies in the data.
You have to know 100% what you're doing. If you don't know what you're doing, then don't do it. In your case, I would say don't take the risk.
RIS Plus, LLC
:thumbsup: Thank you all for your input, this is a real help to us!
Johannes Sebastian
MB7-840,MB7-841
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
Nulls will still cause the processing app to bomb, but as long as the processing code is well written and tested, then this method will work.
With NAV 2009, the service tier provides a better way of handling outside data if you have an outside app that can do .net function calls and NAV developer who can write the NAV functions.
http://mibuso.com/blogs/davidmachanick/
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
http://mibuso.com/blogs/davidmachanick/
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
It could be kerebos settings that you need to install.
http://msdn.microsoft.com/en-us/library/dd301254.aspx
And you have to do it for http protocols as well.
http://blogs.msdn.com/b/nav/archive/201 ... am+Blog%29
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n