GP-DYNAMICS
 
 Custom Programming
Home
Dynamics TechBrief
MSSQL Deepsearch

How these can help you

How to purchase

Free Dynamics GP Sql Scripts

 



digg this  |  add to delicious


Collection of useful Microsoft Great Plains Dynamics Sql Scripts, Tips and Tricks

 

*
1.  Assign all Inventory Items to all Currency
Script to assign all inventory items to all available currency. You can modify the script as per you.. (viewed 139981 times)
2.  Remove locked busy inventory batch
Remove locked/busy inventory batch Got it from here: http://dynamicsgp.wordpress.com/2009/06/03/b.. (viewed 51553 times)
3.  How to list ordered line items with special instructions
Display current ordered items where there are line-item comments. Useful for identifying items that .. (viewed 61576 times)
4.  Item Having Current Cost and no Movement
At times you need to know the items which are having the currentcost but no inventory movement.. (viewed 12827 times)
5.  Generate Suggested Purchase Order
Hope this procedure will help your problem for not upgrading your GP just to register this module. I.. (viewed 16834 times)
6.  Serail Number Already Exists
Resolution of Serial Error : Serail Number Already Exists.. (viewed 14441 times)
7.  Item Quantity is not equal to the Item Serials
The Error message appear when the Item Trx Quantity is not equal to the Item Serials in IV10002, .. (viewed 11159 times)
8.  How Payable Invoice Duplicates
Scenario 1. Any Report of Report Writer is already opened (Native GP Report of Report Writer). 2. .. (viewed 13162 times)
9.  How To Reset System Password
The GP Administrator probably forget the system password, here is a hidden technique to resetting pa.. (viewed 33821 times)
10.  Find Table Size of the Database
Very useful script for DBA to know the each table size of a specified database... (viewed 13455 times)
11.  Find table column in the Database
There may be some instance where in you need to know in how many table the column exist, this is use.. (viewed 12729 times)
12.  Find Field Value in Database
The following is a SQL Script that can be run in a database to return all tables and columns where a.. (viewed 19094 times)
13.  How to remove the Customer Experience Improvement Program (CEIP) task from Microsoft Dynamics GP
The CEIP task appears after you install Microsoft Dynamics GP. CEIP collects information about how a.. (viewed 14858 times)
14.  List all Employee names, with department and job title and codes
This script will list all employee names and their correponding code and description for Department .. (viewed 31901 times)
15.  List all gpdynamics users
Quick way to get a list of all dynamics gp users.. (viewed 15963 times)
16.  Batch update customer shipping methods, change from DHL, to UPS, to Fedex and vice versa
This script is useful if your company changes its official shipper or carrier and you want to update.. (viewed 9446 times)
17.  Change DECIMAL PLACES CURRENCY
here's one i've used lately.. this script changes decimal places of currency effective for an ite.. (viewed 15718 times)
18.  Display quantity on hand, allocated and remaining inventory level (IV00102)
A simple way to get a birds eye view of your inventory level. Not the most accurate way to measure a.. (viewed 14266 times)
19.  A quick way to duplicate or copy a GP dynamics PRICELEVEL SET
Use this command to easily duplicate a pricelevel in GP DYNAMICS. You just need to specify the price.. (viewed 11448 times)
20.  Global find and replace command to update inventory item descriptions
Use this query to update the description of multiple inventory items. Example if I have computer ite.. (viewed 9460 times)
21.  Determine Qty Allocated for a Item and location
Find Qty allocated for a specified item and location, you can modify this code as per your needs, th.. (viewed 26156 times)
22.  Display latest transaction date for each inventory item
Query to display latest transaction date for all document types of each inventory item. May be helpf.. (viewed 11918 times)
23.  Dynamics query to display matching orders and invoices
This command will show a chronological list of order, backorder and invoice documents that are relat.. (viewed 12267 times)
24.  running script of multiple/all companies
sometimes one needs to run same script on all companies e.g. dbcc checkdb on all great plains compan.. (viewed 10985 times)
25.  How to list all customers and their internet address
Since customer address information is stored per location and each location can have a contact with .. (viewed 11890 times)
26.  Receiving Trx History Details
A very useful SQL routine to view all the details of Receiving Trx History Details, i guess this may.. (viewed 14542 times)
27.  Customer Profit in detail
Query helps you to fetch the Customer Profit in Details. A Variable is declared for the year, chang.. (viewed 9772 times)
28.  Inventory Value by Site (Location)
This Query results Inventory Value by Site/Location.. (viewed 13207 times)
29.  SALES Documents housekeeping routines
Here are some more housekeeping sql routines that you can use to clean up your sales document tables.. (viewed 11167 times)
30.  How to speed up PRICELIST related routines in Dynamics
Another very slow process in Dynamics is the loading and maintaining Price Lists. This is because ea.. (viewed 10254 times)
31.  Cleaning up SALES TRANSACTION tables will result in faster Dynamics performance
SALES TRANSACTION tables Housekeeping by deleting orphaned rows. Sales history table is one of th.. (viewed 15003 times)
32.  Customer Balance Which matches with RM Trail Balance
Customer Balance Query.. (viewed 12261 times)
33.  Display chart of accounts info (originally posted by Claudia)
[This is an edited entry] GL00100 - Account Master GL00100 - Account Master Copy A GL00100 - Dist.. (viewed 15584 times)
34.  Code to Retrieve Item Sell Price
This code below to Retrieve Item Number, item Description , UOM , Current Cost , Price Lavel ,Mark.. (viewed 10683 times)
35.  Get inventory items with positive quantity-on-hand with latest corresponding invoice info
This routine gets a list of all inventory items where quantity-on-hand is greater than zero. Also, i.. (viewed 11660 times)
36.  Total invoiced quantity per item, per customer
Query to show summary of invoice items per customer, grouped by item... (viewed 15502 times)
37.  Tell how many customer accounts per salesperson
This Dynamics GP script will show how many customers are under each salesperson. A great tool to tel.. (viewed 81050 times)
38.  Show invoice year summary of each customer
This query will sum up all invoice totals of each customer. We'll use the SOP30200 table. It hold.. (viewed 8703 times)
39.  Create a new Salesperson entry
insert a new sales person / salesrep account record in great plains dynamics.. (viewed 9155 times)
40.  Check validity of location-codes in the inventory quantities table (IV00102) against the master table of locations (IV40700)
During importing/exporting of inventory and their corresponding quantity breakdowns, sometimes the l.. (viewed 13424 times)
41.  Fix Item custom categories
Background of the problem:   We imported data from various external sources into GP Dynam.. (viewed 11929 times)
42.  Duplicate SalesOrder Documents
Script to search for duplicate sales order documents. A sales order in the current work table is a d.. (viewed 9303 times)
43.  A nifty way to reverse engineer data manipulation in MS GREAT PLAINS applications
** This is a sponsored post from GP-DYNAMICS.COM** Helpful Tip for MICROSOFT GREAT PLAINS develop.. (viewed 9562 times)
44.  Batch update GL ACCOUNTS - Search and replace account descriptions
This next query is useful if you want to make batch updates on your list of GL Accounts. For ins.. (viewed 9892 times)
45.  Batch update GL ACCOUNTS - Case conversion
Programmatically convert all account descriptions into uppercase .. (viewed 7337 times)
46.  How to export GP Dynamics table (like USERS LIST) to MS Excel sheet
This is a procedure we use to export a table content from a Dynamics database into an Excel sheet. I.. (viewed 33344 times)
47.  How to query ms dynamics database
To determine the tables you need to run query statements on, just go to: 1. On main menu, click Too.. (viewed 16672 times)
48.  Consolidation of datbases
We are consolidating databases for vendor transactions here is script how we achieved that.. (viewed 11401 times)
49.  The number of decimal places for a currency can't be decreased once the currency has been saved.
This site has helped me a great deal.. in return here's a script that might help other. This script .. (viewed 24835 times)
50.  How to create a quick table back-up ( and avoid banging your head against the wall! )
How many times have you messed up a table and wished you could restore it exactly as it was some 5 m.. (viewed 9813 times)
51.  Summary of earnings per country
Query to display the summary of earnings for each country within a particular sales period. This que.. (viewed 7821 times)
52.  Historical transaction records of a customer
Hello, it's me again.. I have been inspired to write a lot of scripts since purchasing your GP-DYNAM.. (viewed 9042 times)
53.  All other documents related to a particular Order Number.
This query is useful when you want to list all inter-related documents that have the same MASTER NUM.. (viewed 7576 times)
54.  Quick list of each customer's currency settings.
Useful for those whose companies whose that have support for multi-currency setup. The list displays.. (viewed 11103 times)
55.  previous amount for customer in
Hello The code below to display the previous amount for customer in specific date Mybe useful.. (viewed 9286 times)
56.  Employee Net Paid
Display list of Employees Net paied After sum the salary and Pay codes subtraction the Deductions.. (viewed 10283 times)
57.  Get the table schema of RM00101, SOP10100, SOP30200 - heck any table, any database!
This is great script for quickly generating the table schema of any table you pick from any Dynamics.. (viewed 16400 times)
58.  Update quantity decimals of selected items
Set the 'Decimal Places QTYS' of some items. This can be done by updating the value of column DECPLQ.. (viewed 9733 times)
59.  All Currency IDs from the current database
Display list of distinct or unique Currency IDs from the current database. MC60100: Multicurrency .. (viewed 12127 times)
60.  Inventory count per item class
A query to display the number of invetories or stocks per 'Item Class'. Displays all Item Classes.. (viewed 8057 times)
61.  Generate a quick 'Orders Urgent list'
This Dynamics gp sql will list orders not yet fulfilled and is either 5 days overdue or 5 days befor.. (viewed 10483 times)
62.  Display "ShipComplete" Orders
A query to list orders where customer is unwilling to accept multiple shipments. .. (viewed 9443 times)
63.  Which customer owes your company the most money?
This Dynamics GP script shows all customers that have a balance due. The output is sorted by descend.. (viewed 12667 times)
64.  Count of customers per classification
A useful Dynamics GP script when finding the number of your records on each customer class... (viewed 13813 times)
65.  Grant access to all users under DYNGRP group
This is another sleek script for granting all your users access to all tables and stored procedures... (viewed 30284 times)
66.  Migrating a Dynamics GP database from one server to another - Script 6 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 14678 times)
67.  Migrating a Dynamics GP database from one server to another - Script 5 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 12598 times)
68.  Migrating a Dynamics GP database from one server to another - Script 4 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 16475 times)
69.  Migrating a Dynamics GP database from one server to another - Script 3 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 287180 times)
70.  Migrating a Dynamics GP database from one server to another - Script 2 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 13626 times)
71.  Migrating a Dynamics GP database from one server to another - Script 1 of 6
This is a series of SQL scripts to be used when migrating a Dynamics GP database from one server to .. (viewed 15610 times)
72.  Unlock a posting batch
Dynamics gp sql script to unlock a batch number causing system error message... (viewed 17707 times)
73.  Mapping list of all manufacturer Item No. and dealer's Item No.
Dynamics script to query all dealers' item numbers, side by side with your own company's item number.. (viewed 12775 times)
74.  Batch update standard cost of all inventory items
A script to update the standard cost of your inventories... (viewed 14012 times)
75.  reset all pricelists for a particular currency
our company ran into a couple of problems during our first time implementing multi currency support .. (viewed 13082 times)
76.  Reset tax schedule id of all customer shipping addresses
this is a script we used on our dynamics gp to initialize all customer delivery addresses' tax flags.. (viewed 14365 times)
77.  How to unlock a Dynamics user
This is useful in solving Dynamics GP error: "User is already logged-in" when you are trying to log .. (viewed 35741 times)
78.  Remove a database from Dynamics Great Plains
How to remove a database from Dynamics Great Plains. Make sure to back up your database first before.. (viewed 16991 times)
79.  The invoice is being edited by another user
Solution to error: "The invoice is being edited by another user" 1. Have all your users logout 2.. (viewed 16555 times)
80.  Order Comments
Display all comments for a particular order.. (viewed 15514 times)
81.  List all inventories
SqL query to list all inventory items.. (viewed 21865 times)
82.  Details of an inventory item
This sql displays the details of an inventory item. Example below shows the details of Item numbe.. (viewed 11743 times)
83.  Customer Addresses
Display all address entries of a certain customer. The example below shows all address entries of.. (viewed 11144 times)
84.  Current Dynamics GP activities
Display all activities by users in Dynamics.. (viewed 15493 times)
85.  Voided current orders in Dynamics GP
Display all voided current orders in Dynamics GP.. (viewed 12275 times)
86.  Display all ORDERS that are on-hold in Dynamics GP
Command to pull all current orders that are on hold and not void in Dynamics GP database... (viewed 13770 times)
87.  Display all customer records
This command will display all customer records sorted by Customer name.. (viewed 13229 times)
88.  How to display the internet address of a customer
This command will query the table of internet addresses.. (viewed 11174 times)
89.  How to display the details of an order
This command displays the details of a Dynamics GP order that is current or has not yet been posted... (viewed 23364 times)
sort by: Date | Most popular

 

 

 

Share your own Dynamics-GP SQL script

 

 

Request a FREE Dynamics GP script (for everyone!)


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.