User Tools

Site Tools


dynamiczip:faq:customer_combiner

This is an old revision of the document!


Using the Professional Service Tools Customer Combiner

The Professional Service Tools Customer Combiner can be used to combine two customers into one. It does this by modifying all occurrences of one of the Customer ID's to the other Customer ID. This can result in a duplicate key error if Customer ID is part of a unique key in any SQL table. For example, the DZ Customer Supplement table can contain only one record per customer so if customer ID AMERICAN0001 exists in the table and the combiner tool attempts to change customer ID AMERICAN0002 to AMERICAN0001, a duplicate record error will result.

Also, if two customers have an identical address ID, you may receive the following error on the DZ Customer Address Supplement table:

[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PKDZ01101'. Cannot insert duplicate key in object 'DZ01101'.

Solution

If you have already run the Customer Combiner and received the above error (for the DZ Customer Address Supplement Table: DZ01101), then you will need to identify the duplicate records, determine which one you want to keep and delete the other one which we will refer to as the offending record. To delete the offending Customer Supplement record:

  1. Select the offending record and click Delete.
  2. Run the Customer Combiner tool again.

If you have already run the Customer Combiner and received the above error (for the DZ Customer Supplement Table: DZ01100), then you will need to identify the duplicate records, determine which one you want to keep and delete the other one which we will refer to as the offending record. To delete the offending Customer Supplement record:

  1. Select the offending record and click Delete.
  2. Run the Customer Combiner tool again.

Frequently Asked Questions
Glossary
Known Issues

dynamiczip/faq/customer_combiner.1483739317.txt.gz · Last modified: 2017/01/06 21:48 by chuck

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki