|
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.
|
IMPORTANT:
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: 11320 times
Submitted by:
Scott Johnson
About Scott Johnson
|
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
|
|
|