|
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.
|
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: 7303 times
Submitted by:
R. Sebastian
|
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
|
|
|