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

Generate a quick 'Orders Urgent list'


Long Description:
This Dynamics gp sql will list orders not yet fulfilled and is either 5 days overdue or 5 days before date of Requested ShipDate.

You change the numbers of days covered by changing the value assigned to variable @days.

The script queries the WORK ORDER TABLE SOP10100 to look for documents where
1. Order type = "2"
2. Void indicator (VOIDSTTS) is equal to "0"
3. Request ship date (ReqShipdate) is past 5 days
4. Request ship date (ReqShipdate) is upcoming within 5 days
5. And non of the items have been fulfilled. This is done by lookin at every item on WORK ORDER ITEMS (SOP10200) and comparing the value of QUANTITY FULFILLED (QtyFulfi)



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

Submitted by: MCSA Millford

About MCSA Millford

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 195

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.