prevent ceation od duplicate customer/vendor/contact NAV 4
dlauwers
Member Posts: 127
Hi,
I am new to Navision development :-s and would like to know if it is standard possible to prevent the user in creating a duplicate customer/vendor or contact when more than x% of the fields are the same.
I found a feature in the settings of sales where you can enter some settings that handle duplicates in customers/vendor/contacts. But it does not prevent me in entering a customer/vendor/contact twice. It will warn you, but it will not block it. The user still has the option of creating duplicates. Users faster click on buttons without reading the content, and before you know your database is full with duplicate vendor info because it is entered by 2 different persons.
Can someone guide me what I have to change in order to prevent this so that the user never can enter duplicate records. Maybe always showing the duplicate record window is a acceptable option ?
Thanx for your time
Danny
I am new to Navision development :-s and would like to know if it is standard possible to prevent the user in creating a duplicate customer/vendor or contact when more than x% of the fields are the same.
I found a feature in the settings of sales where you can enter some settings that handle duplicates in customers/vendor/contacts. But it does not prevent me in entering a customer/vendor/contact twice. It will warn you, but it will not block it. The user still has the option of creating duplicates. Users faster click on buttons without reading the content, and before you know your database is full with duplicate vendor info because it is entered by 2 different persons.
Can someone guide me what I have to change in order to prevent this so that the user never can enter duplicate records. Maybe always showing the duplicate record window is a acceptable option ?
Thanx for your time
Danny
0
Comments
-
Here is a nice simple algorithm for it: http://en.wikipedia.org/wiki/Levenshtein_distance0
-
But be warned that there is a reason why Navision does not prevent it. For example, would you prevent saving the company name Macrosoft? Only one characters away from Microsoft and there still are quite some companies of this name, just Google it. And on the other hand if you would only prevent perfect matches, then what about somebody try saving Mcrosoft mis-typed?
I don't think it's possible to solve this problem on a technical way. On the other hand there is a simple organization change that solves it: allow entering new customers/vendors to one and only one person, to an assistant (and of course havin someone else in reserve as a backup) and kick his/her ass each time the duplicate detection batch job shows valid duplicates.0 -
Miklos Hollender
take a look at Contact fuzzy logic that searches for contacts in navision. Users can search for names in there before creating the contact. and it actually searches for contacts even if you have typos.
As for dlauwers, my guess you need to change the message box to Error so it stops the user?0 -
Quickly advice : use vat registration number as "No." in those tables. With this you never insert 2 times the same customer.0
-
Hihihi. We've done that for a client about two years ago. But the problem was that about 30 customers who we migrated from the legacy system had no VAT Reg. No. entered so we programatically changed those to DUMMY001 - DUMMY-030 in order to have a unique primary key.
Guess what I saw when I logged onto their system a year after going live? Hundreds of new DUMMYXXX records...
0 -
Miklos That a funny story.

I guess if you leave a way for people to work around something, they will find it.0 -
Thanks for the advice !!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 117 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
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 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
