Hey, I've only recently started developing on Microsoft dynamics NAV and someone suggested to me to write a C# application that writes directly into the database rather than consuming web services exposed in NAV. I have a feeling there could be something terribly wrong with doing that for a database being used by Microsoft Dynamics NAV but don't know what. Could that really work?
*This post is locked for comments
Besides table triggers, you need to be aware, that your Server Instance don't know that you have been updating the data. If the data you have changed has already been Cached in your Server Instance, it won't be updated before you force it to update. So your users might get outdated data from your Server Instance Cache.
Hi,
You may write a C# code to directly write on the database. As Mohana said, if your requirement is not about checking validations or calculations, then you can though it is not recommended.
Hope it helps.
it depends upon your requirement.
if you are importing to an intermediate table and later process the data then it is fine.
codeunits and table triggers will execute some code to calculate and validate..
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156