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.  Remove locked busy inventory batch
Remove locked/busy inventory batch Got it from here: http://dynamicsgp.wordpress.com/2009/06/03/b.. (viewed 34455 times)
2.  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 54872 times)
3.  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 6828 times)
4.  Generate Suggested Purchase Order
Hope this procedure will help your problem for not upgrading your GP just to register this module. I.. (viewed 10408 times)
5.  Serail Number Already Exists
Resolution of Serial Error : Serail Number Already Exists.. (viewed 7184 times)
6.  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 5494 times)
7.  How Payable Invoice Duplicates
Scenario 1. Any Report of Report Writer is already opened (Native GP Report of Report Writer). 2. .. (viewed 5984 times)
8.  How To Reset System Password
The GP Administrator probably forget the system password, here is a hidden technique to resetting pa.. (viewed 16720 times)
9.  Find Table Size of the Database
Very useful script for DBA to know the each table size of a specified database... (viewed 6555 times)
10.  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 6608 times)
11.  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 8304 times)
12.  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 8492 times)
13.  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 9903 times)
14.  List all gpdynamics users
Quick way to get a list of all dynamics gp users.. (viewed 9118 times)
15.  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 4345 times)
16.  Change DECIMAL PLACES CURRENCY
here's one i've used lately.. this script changes decimal places of currency effective for an ite.. (viewed 7558 times)
17.  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 7586 times)
18.  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 4926 times)
19.  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 4339 times)
20.  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 6500 times)
21.  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 5600 times)
22.  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 6344 times)
23.  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 5460 times)
24.  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 5167 times)
25.  Receiving Trx History Details
A very useful SQL routine to view all the details of Receiving Trx History Details, i guess this may.. (viewed 7292 times)
26.  Customer Profit in detail
Query helps you to fetch the Customer Profit in Details. A Variable is declared for the year, chang.. (viewed 4674 times)
27.  Inventory Value by Site (Location)
This Query results Inventory Value by Site/Location.. (viewed 6413 times)
28.  SALES Documents housekeeping routines
Here are some more housekeeping sql routines that you can use to clean up your sales document tables.. (viewed 5807 times)
29.  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 4878 times)
30.  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 7419 times)
31.  Customer Balance Which matches with RM Trail Balance
Customer Balance Query.. (viewed 6147 times)
32.  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 8473 times)
33.  Code to Retrieve Item Sell Price
This code below to Retrieve Item Number, item Description , UOM , Current Cost , Price Lavel ,Mark.. (viewed 5189 times)
34.  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 5841 times)
35.  Total invoiced quantity per item, per customer
Query to show summary of invoice items per customer, grouped by item... (viewed 7552 times)
36.  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 34100 times)
37.  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 4210 times)
38.  Create a new Salesperson entry
insert a new sales person / salesrep account record in great plains dynamics.. (viewed 3569 times)
39.  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 5695 times)
40.  Fix Item custom categories
Background of the problem:   We imported data from various external sources into GP Dynam.. (viewed 5533 times)
41.  Duplicate SalesOrder Documents
Script to search for duplicate sales order documents. A sales order in the current work table is a d.. (viewed 4319 times)
42.  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 6050 times)
43.  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 5876 times)
44.  Batch update GL ACCOUNTS - Case conversion
Programmatically convert all account descriptions into uppercase .. (viewed 4220 times)
45.  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 17420 times)
46.  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 9599 times)
47.  Consolidation of datbases
We are consolidating databases for vendor transactions here is script how we achieved that.. (viewed 7817 times)
48.  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 7993 times)
49.  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 5991 times)
50.  Summary of earnings per country
Query to display the summary of earnings for each country within a particular sales period. This que.. (viewed 4602 times)
51.  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 5712 times)
52.  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 4366 times)
53.  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 5928 times)
54.  previous amount for customer in
Hello The code below to display the previous amount for customer in specific date Mybe useful.. (viewed 4570 times)
55.  Employee Net Paid
Display list of Employees Net paied After sum the salary and Pay codes subtraction the Deductions.. (viewed 4997 times)
56.  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 11561 times)
57.  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 5058 times)
58.  All Currency IDs from the current database
Display list of distinct or unique Currency IDs from the current database. MC60100: Multicurrency .. (viewed 6218 times)
59.  Inventory count per item class
A query to display the number of invetories or stocks per 'Item Class'. Displays all Item Classes.. (viewed 4831 times)
60.  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 4860 times)
61.  Display "ShipComplete" Orders
A query to list orders where customer is unwilling to accept multiple shipments. .. (viewed 4299 times)
62.  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 7000 times)
63.  Count of customers per classification
A useful Dynamics GP script when finding the number of your records on each customer class... (viewed 6637 times)
64.  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 13965 times)
65.  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 7474 times)
66.  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 5929 times)
67.  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 9317 times)
68.  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 254437 times)
69.  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 6610 times)
70.  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 8063 times)
71.  Unlock a posting batch
Dynamics gp sql script to unlock a batch number causing system error message... (viewed 9431 times)
72.  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 6004 times)
73.  Batch update standard cost of all inventory items
A script to update the standard cost of your inventories... (viewed 6498 times)
74.  reset all pricelists for a particular currency
our company ran into a couple of problems during our first time implementing multi currency support .. (viewed 6234 times)
75.  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 6975 times)
76.  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 20646 times)
77.  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 8220 times)
78.  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 8533 times)
79.  Order Comments
Display all comments for a particular order.. (viewed 8311 times)
80.  List all inventories
SqL query to list all inventory items.. (viewed 10394 times)
81.  Details of an inventory item
This sql displays the details of an inventory item. Example below shows the details of Item numbe.. (viewed 5969 times)
82.  Customer Addresses
Display all address entries of a certain customer. The example below shows all address entries of.. (viewed 5759 times)
83.  Current Dynamics GP activities
Display all activities by users in Dynamics.. (viewed 9339 times)
84.  Voided current orders in Dynamics GP
Display all voided current orders in Dynamics GP.. (viewed 6534 times)
85.  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 7203 times)
86.  Display all customer records
This command will display all customer records sorted by Customer name.. (viewed 7756 times)
87.  How to display the internet address of a customer
This command will query the table of internet addresses.. (viewed 5418 times)
88.  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 12911 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.