Error message "Do you want to add this code?" when you save an Analytical Accounting Transaction Dimension Code in Microsoft Dynamics GP


Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION THAT IS CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED TO SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

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:
  1. Open SQL Server Management Studio.
  2. In the Object Explorer section, expand the Databases, expand the appropriate company database, expand Tables, expand dbo.AAG00401, and then expand Triggers.
  3. Right-click aagTR_AAG00401Del, point to Script trigger as, point to CREATE to, and then click New Query Editor Window.
  4. After the script is created in a new query window, run the script against the company database to create the trigger.
  5. Repeat step 3 and step 4 for the following triggers:
    • aagTR_AAG00400Ins
    • aagUpdateDateTimefor401

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, THE RELIABILITY OR THE ACCURACY OF THE INFORMATION THAT IS CONTAINED IN THE DOCUMENTS AND THE RELATED GRAPHICS PUBLISHED ON THIS WEB SITE (THE “MATERIALS”) FOR ANY PURPOSE.

THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON-INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.