Skip to content

Commit 8d5d19a

Browse files
authored
Merge pull request #1254 from theley502/patch-13
Update violation-of-primary-key-or-dbms-2627-error.md
2 parents ced6fe2 + a5b2c6b commit 8d5d19a

1 file changed

Lines changed: 18 additions & 24 deletions

File tree

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,47 @@
11
---
22
title: Error when you post or print in Payables Management
3-
description: Provides a solution to an error that occurs when you post or print in Payables Management.
4-
ms.reviewer:
3+
description: Provides a solution to an error that occurs when you post or print in Payables Management in Microsoft Dynamics GP.
4+
ms.reviewer: theley
55
ms.topic: troubleshooting
6-
ms.date: 03/31/2021
6+
ms.date: 09/04/2023
77
---
8-
# "Violation of Primary key" or "DBMS 2627" error messages when you post or print in Payables Management
8+
# "Violation of Primary key" or "DBMS 2627" error message when you post or print in Payables Management
99

10-
This article provides a solution to an error that occurs when you post or print in Payables Management.
10+
This article provides a solution to an error that occurs when you post or print in Payables Management in Microsoft Dynamics GP.
1111

1212
_Applies to:_   Microsoft Dynamics GP
1313
_Original KB number:_   852808
1414

1515
## Symptoms
1616

17-
When you try to post or you try to print in Payables Management in Microsoft Dynamics GP or in Microsoft Business Solutions - Great Plains, you receive one of the following error messages:
17+
When you try to post or print in Payables Management in Microsoft Dynamics GP, you receive one of the following error messages:
1818

1919
- Error message 1
2020

21-
> Violation of Primary key
21+
> Violation of Primary key
22+
2223
- Error message 2
2324

24-
> Error attempting to insert duplicates.
25+
> Error attempting to insert duplicates.
2526
2627
- Error message 3
2728

28-
> DBMS 2627
29+
> DBMS 2627
2930
3031
## Cause
3132

32-
These errors occur after some type of posting interruption. Typically, a transaction is written to the history table. However, the interruption occurs before the transaction is removed from the work table or from the open table. Therefore, the transaction exists in both tables and violates the primary key fields of the table.
33+
These errors occur after some type of posting interruption. Typically, a transaction is written to the history table. However, the interruption occurs before the transaction is removed from the work table or the open table. Therefore, the transaction exists in both tables and violates the primary key fields of the table.
3334

3435
## Resolution
3536

36-
To resolve the problem, locate the duplicate records and then remove the appropriate record manually. This article is designed only to assist you in locating the duplicate records. If you need assistance in removing the problem records, you may contact Microsoft Technical Support or your Partner.
37-
38-
### Automated solution
39-
40-
Use the automated solution to identify the duplicate records in the Payables Management (PM) tables.
41-
42-
> [!NOTE]
43-
> Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.
37+
> [!IMPORTANT]
38+
> Before you follow the instructions in this article, make sure that you have a complete backup of the database that you can restore if a problem occurs.
4439
45-
An Automated Solution script may be available to perform this task.
40+
To resolve the problem, locate the duplicate records and remove the invalid records manually. If you need assistance removing the invalid records, contact your partner, or create a ticket with [Microsoft Support](https://support.microsoft.com/contactus/).
4641

4742
> [!NOTE]
4843
>
49-
> - The Automated Solution will report the duplicate records.
50-
> - You should back up your company database before proceeding. You should also verify that the information in the History tables is correct and complete.
51-
> - If the duplicate records are in history and also either the work or open tables, determine if the records in the history table are valid. If so, then remove the records from the work tables or from the open tables.
52-
> - If the duplicate records are in both the work and open tables only, determine which record is valid and remove the other record. However, when removing the problem record, keep in mind that these tables share a distribution table which also must be modified.
53-
> - If you require further assistance regarding this process, contact Technical Support for Microsoft Dynamics at 1-8888-477-7877 or open a chargeable support case.
44+
> - You should back up your company database before proceeding. You should also verify that the information in the history tables is correct and complete.
45+
> - If the duplicate records are in the history table and also either the work table or open table, determine if the records in the history table are valid. If so, remove the records from the work table or the open table.
46+
> - If the duplicate records are only in the work and open tables, determine which record is valid, and remove the invalid records. When removing the invalid records, note that these tables share a distribution table that must also be modified.
47+
> - If you need further assistance regarding this process, contact your partner, or create a ticket with [Microsoft Support](https://support.microsoft.com/contactus/).

0 commit comments

Comments
 (0)