GP-DYNAMICS
 
 Custom Programming
Home
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

How to speed up PRICELIST related routines in Dynamics


Long Description:
Another very slow process in Dynamics is the loading and maintaining Price Lists. This is because each customer record is matched up with a separate set of inventory data to create a unique set of custom pricing. This architecture easily gives the Item Price List(IV00108) and Item Price List Options (IV00107) a gargantuan number of rows.

To make sure it runs at an optimal level, you have make sure these tables don't contain orphaned rows.

The script below will automatically delete rows from the pricelist tables that do not have a corresponding entry in the master inventory table.



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: 6570 times

Submitted by: L. Gates

About L. Gates

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 745

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.