Duplicates in SQL should be impossible, if the Primary Key is configured properly.

As an additional thought, check the server collation and table collation. Anything other than the correct collation method will cause data corruption.


------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------
Original Message:
Sent: 01-23-2025 22:37
From: Kate Krueger
Subject: SO Invoice Batches just won't behave
Thanks for the suggestion Kevin! It seems tangentially related to Click 2 Pay as the invoices that are failing have the Click2Pay flag set to "Y" even though the customer is not a C2P customer. This got a bit weirder however once I determined that the stuck batches were because of invoices for a specific customer. I looked at the customer record in AR_Customer in SQL (SSMS) and AR_Customer has 56 records all with the same division and customer number. The records all appear to be identical. Looking at DFDM I can only see one customer record. I made sure data dictionary knows to create the table in SQL but duplicate records like that is something I have never seen. I can start another thread for this duplicate SQL thing but it seemed far too coincidental that the invoices that are failing are for a customer with duplicate SQL records.
------------------------------
Kate Krueger
Consultant
MicroAccounting
214.800.5555x553
------------------------------
Original Message:
Sent: 01-23-2025 18:52
From: Kevin Moyes
Subject: SO Invoice Batches just won't behave
Post in a test company, with CC processing disabled, and confirm if it is related to Nuvei functionality?
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON