You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two ways to send customer statements in current versions of Microsoft Dynamics GP:
14
14
15
-
## Option 1 - Word Templates (using the new Word Template functionality)
15
+
## Option 1 - Use the [Word Template functionality](/dynamics-gp/installation/word-templates)
16
16
17
-
### General questions and answers
17
+
####General questions and answers
18
18
19
-
Q1: Which Microsoft Dynamics GP versions does this apply to?
19
+
-Q1: Which Microsoft Dynamics GP versions does this functionality apply to?
20
20
21
-
A1: Microsoft Dynamics GP 2013 RTM (recommend R2) and later versions.
21
+
A1: Microsoft Dynamics GP 2015 or a later version.
22
22
23
-
Q2: Is Adobe PDF Writer required?
23
+
-Q2: Is Adobe PDF Writer required?
24
24
25
-
A2: No.
25
+
A2: No.
26
26
27
-
Q3: Can I edit the Subject line of the email message?
27
+
-Q3: Can I edit the Subject line of the email message?
28
28
29
-
A3: Yes (in the E-mail Message Setup).
29
+
A3: Yes, you can edit it in the E-mail Message Setup.
30
30
31
-
Q4: Can I edit the body of the email message?
31
+
-Q4: Can I edit the body of the email message?
32
32
33
-
A4: Yes (in the E-mail Message Setup).
33
+
A4: Yes, you can edit it in the E-mail Message Setup.
34
34
35
-
Q5: How do I set this up?
35
+
-Q5: How do I set up?
36
36
37
-
A5: Setup documents are outlined in the [GP2013_Finanicals.zip](https://mbs2.microsoft.com/fileexchange/?fileID=cdf1a9bd-bfe1-4223-8b8c-be4e2dc41817) file under Receivables. Additional enhancements are outlined in [Microsoft Dynamics GP 2013 R2 - Email Document New Features](https://community.dynamics.com/blogs/post/?postid=f3603488-0ed1-4e86-8722-332f9199361c).
37
+
A5: The setup documents are outlined in the [GP2013_Finanicals.zip](https://mbs2.microsoft.com/fileexchange/?fileID=cdf1a9bd-bfe1-4223-8b8c-be4e2dc41817) file under Receivables. Additional enhancements are outlined in [Microsoft Dynamics GP 2013 R2 - Email Document New Features](https://community.dynamics.com/blogs/post/?postid=f3603488-0ed1-4e86-8722-332f9199361c).
38
38
39
-
## Option 2 - Microsoft Dynamics GP functionality (using original Dynamics GP functionality)
39
+
## Option 2 - Use the original Microsoft Dynamics GP functionality
40
40
41
-
You can email customer statements as HTML, PDF, XPS and DOCX in Microsoft Dynamics GP. However, Adobe PDF Writer is required to be able to send the statement in PDF format using the Microsoft Dynamics GP way.
41
+
> [!IMPORTANT]
42
+
> This option doesn't work with the [Multi-factor Authentication (MFA) required for Dynamics GP email](/dynamics-gp/installation/email-troubleshooting-guide#mfa---multi-factor-authentication-modern-authentication).
42
43
43
-
### General questions and answers
44
+
You can send customer statements in HTML, PDF, XPS, and DOCX formats in Microsoft Dynamics GP. However, Adobe PDF Writer is required to send the statement in PDF format using the Microsoft Dynamics GP method.
44
45
45
-
Q1: Which Dynamics GP versions does this apply to?
46
+
#### General questions and answers
46
47
47
-
A1: All GP versions (past and current).
48
+
- Q1: Is Adobe PDF Writer required?
48
49
49
-
Q2: Is Adobe PDF Writer required?
50
+
A1: Yes, if you want to send customer statements in PDF format. No, if you want to send customer statements in TXT format.
50
51
51
-
A2: Yes, if you want to send in PDF format. No, if you want to send in TXT format.
52
+
- Q2: Can I edit the Subject line of the email message?
52
53
53
-
Q3: Can I edit the Subject line of the email message?
54
+
A2: Yes. You can edit it in the **E-mail Options** tab of the **Print Receivables Statements** window.
54
55
55
-
A3: Yes (in **E-mail Options** tab in the **Print Receivables Statements** window).
56
+
- Q3: Can I edit the body of the email message?
56
57
57
-
Q4: Can I edit the body of the email message?
58
+
A3: No.
58
59
59
-
A4: No.
60
+
- Q4: How do I set up this email functionality?
60
61
61
-
Q5: How do I set up this email functionality?
62
-
63
-
A5: For the setup steps, see [Use e-mail messages to send letters, statements, and invoices to customers in Microsoft Dynamics GP](use-e-mail-messages-send-letters-statements.md).
62
+
A4: For the setup steps, see [Use e-mail messages to send letters, statements, and invoices to customers in Microsoft Dynamics GP](use-e-mail-messages-send-letters-statements.md).
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
5
5
ms.topic: troubleshooting
6
-
ms.date: 03/31/2021
6
+
ms.date: 09/04/2023
7
7
---
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
9
9
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.
11
11
12
12
_Applies to:_ Microsoft Dynamics GP
13
13
_Original KB number:_ 852808
14
14
15
15
## Symptoms
16
16
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:
18
18
19
19
- Error message 1
20
20
21
-
> Violation of Primary key
21
+
> Violation of Primary key
22
+
22
23
- Error message 2
23
24
24
-
> Error attempting to insert duplicates.
25
+
> Error attempting to insert duplicates.
25
26
26
27
- Error message 3
27
28
28
-
> DBMS 2627
29
+
> DBMS 2627
29
30
30
31
## Cause
31
32
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.
33
34
34
35
## Resolution
35
36
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.
44
39
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/).
46
41
47
42
> [!NOTE]
48
43
>
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