We recently converted to Navision 4, running on SQL server. We imported all our customers from our old accounting system -- even those that had been inactive for years. We did not import any transactions for those customers.
Now I want to purge the dead customers from the Navision system. Is it safe to just run a SQL delete query on the customer table? Or are there other tables involved for a customer who has no transactions?
James D Bennett
0
Comments
Except if it is a NEW table creating for inserting/modifying/deleting data from SQL.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Thanks!
first dataitem customer
onaftergetrecord trigger put
delete(true);
run the report. Set your filters on what customers you want to delete. and printpreview.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
One small remark: If you are inserting data through direct SQL access, it will trigger Flowfield updates. 3.70 and 4.00 is using SQL triggers on tables to update the SIFT tables. This "SIFT is not updated" is only for older databases.
But that the data are not validated and that's why can data be wrong (for example lowercase characters in code field is disaster for Navision)...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.