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

All other documents related to a particular Order Number.

Long Description:
This query is useful when you want to list all inter-related documents that have the same MASTER NUMBER. This query scans the posted invoices (SOP30200) and looks for all documents and pulls only the ones that have not been voided (VOIDSTTS=0).
If you don't find the document you are looking for then it probably has not been posted posted yet. In that case, just copy the whole query and substitute SOP30200 with SOP10100. SOP10100 work table holds the unposted orders and invoices.

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

Submitted by: R. Sebastian

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 266

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.