Custom Programming
Dynamics TechBrief
MSSQL Deepsearch

How these can help you

How to purchase

Free Dynamics GP Sql Scripts


Collection of Useful Microsoft Dynamics GP Sql Scripts, Tips and Tricks

Fix Item custom categories

Long Description:
Background of the problem:
  We imported data from various external sources into GP Dynamics inventory using Integration Manager. Everything else was working great except the custom categories are not displaying correctly. Looking at IV00101 (Master Inventory) table showed that all fields used for storing the custom categories (USCATVLS_1, USCATVLS_2, USCATVLS_3, USCATVLS_4, USCATVLS_5, USCATVLS_6 ) were all correctly populated with the right data.

  Incidentally, all those instances of custom categories need to be present in another table called Item Categories, which was empty at the time.

  This query below extracted all custom categories and created an entry for them in the appropriate table. After running the query, all custom categories now displayed correctly in the Item Maintenance window.

Commands with UPDATE, DELETE or DROP can ruin your data! Please use these queries with caution. We highly recommend that you backup your database before trying out these commands and to load them up first on a test server. Use at your own risk.

Associated SQL Command:

Viewed: 12013 times

Submitted by: Scott Johnson

About Scott Johnson

View complete list previous script
next script

Did you find this script useful?
Please reciprocate by submitting your own script
or any proven advice regarding Dynamics GP use. Click here.


Send the script above to a friend

Send to EMAIL: *

Short MESSAGE: *

Sender NAME: *

Sender EMAIL:

Validation code: *  Enter 300

Trademarks: Microsoft™, Microsoft Dynamics™ and/or Microsoft logos, products, and services referenced in this site are either trademarks or registered trademarks of Microsoft Corporation.

Disclaimer: This product is not officially endorsed by Microsoft. Furthermore, this website does not imply representation of Dynamics™ or relationship with Microsoft in any form.