"Do you want to add this code" error when saving an Analytical Accounting Transaction Dimension Code in Microsoft Dynamics GP
This article provides a resolution for the Do you want to add this code that occurs when you add an Analytical Accounting transaction dimension code in the Analytical General Transaction Entry window in Microsoft Dynamics GP.
Applies to: Microsoft Dynamics GP
Original KB number: 968057
Symptoms
When you add an Analytical Accounting transaction dimension code in the Analytical General Transaction Entry window, you receive the following message:
Do you want to add this code?
You continue to receive this message even though the code is saved in the Transaction Dimension Code Maintenance window.
Cause
This problem is caused because the following triggers are missing from the AAG00401 table:
- aagTR_AAG00401Del
- aagTR_AAG00400Ins
- aagUpdateDateTimefor401
Resolution
To resolve this problem, you will need to add back the triggers using these steps:
Open SQL Server Management Studio.
In the Object Explorer section, expand the Databases, expand the appropriate company database, expand Tables, expand dbo.AAG00401, and then expand Triggers.
Right-click aagTR_AAG00401Del, point to Script trigger as, point to CREATE to, and then select New Query Editor Window.
After the script is created in a new query window, run the script against the company database to create the trigger.
Repeat step 3 and step 4 for the following triggers:
- aagTR_AAG00400Ins
- aagUpdateDateTimefor401
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for