Delte data directly by sql server.

soni_al
Member Posts: 32
I want to delte the customer data in the customer table in sql. If i delte this directly by sql can accurred any problem in Ms Nav.
Thanks ina advance
Thanks ina advance
0
Comments
-
For what purpose?
You will have to manually delete related records (Customer Ledger Entries etc...) and also fields that maintain a relationship (through Nav) to the customer table.
You will get problems in Nav.0 -
YES :!:
The customer table has a lot of delete-trigger code to delete extra tables and check if it can be deleted (if a customer has customer ledger entries, you can't delete the customer).
These tests/deletes in extra tables will NOT be done by a delete in SQL. So you can mess up a lot in NAV.
In short : DO NOT DO IT!Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I have imported the list of customer in data migration, but i have not set the general posting grup. I want to delte all the list of customer that i have imported in nav and than to rimport. It a big list with 2000 customer it is very hard to do manualy all.
Thanks for your reply.0 -
What is said about the problems incurred when deleting directly in NAV is true. Does anyone know where such information can be found to "make it official" that direct use of the SQL database is worst practice. Is there a white paper available or such that states that.
I am not questioning the knowledge of anyone, I am looking for facts to present to customers, prospects, SQL consultants etc. when they are attempting to do this and they need to see something in black and white to "prove" to them that it should not be done. In otherwords, to show a non-NAV person why they should not try this "easier" method.
thanks for any assistance you can offer on this request.0 -
soni_al wrote:I have imported the list of customer in data migration, but i have not set the general posting grup. I want to delte all the list of customer that i have imported in nav and than to rimport. It a big list with 2000 customer it is very hard to do manualy all.
Thanks for your reply.
Can't you run Table 18 from Object Designer, select all records and press delete? :-k0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions