Hi:
How do you conduct "update" statements in SQL for a Business Central company?
Thanks!
John
Hi:
How do you conduct "update" statements in SQL for a Business Central company?
Thanks!
John
You should not really be doing direct updates of your Business Central data directly in SQL server. You should do updates through AL code as Zhu is talking about.
And you will only have access to SQL data in BC on-prem - in BC online you do not have direct database access.
Hi, if you want to modify the existing records in a table, you should use the following method.
Record.Modify([Boolean]) Method
And, Insert, Modify, ModifyAll, Delete, and DeleteAll Methods
Hope this helps.
Thanks.
ZHU
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156