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.  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 10390 times)
2.  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 2848 times)
3.  Generate Suggested Purchase Order
Hope this procedure will help your problem for not upgrading your GP just to register this module. I.. (viewed 6093 times)
4.  Serail Number Already Exists
Resolution of Serial Error : Serail Number Already Exists.. (viewed 2892 times)
5.  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 1509 times)
6.  How Payable Invoice Duplicates
Scenario 1. Any Report of Report Writer is already opened (Native GP Report of Report Writer). 2. .. (viewed 1699 times)
7.  How To Reset System Password
The GP Administrator probably forget the system password, here is a hidden technique to resetting pa.. (viewed 3727 times)
8.  Find Table Size of the Database
Very useful script for DBA to know the each table size of a specified database... (viewed 2687 times)
9.  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 2518 times)
10.  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 2712 times)
11.  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 3390 times)
12.  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 4255 times)
13.  List all gpdynamics users
Quick way to get a list of all dynamics gp users.. (viewed 3859 times)
14.  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 1266 times)
15.  Change DECIMAL PLACES CURRENCY
here's one i've used lately.. this script changes decimal places of currency effective for an ite.. (viewed 2437 times)
16.  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 2586 times)
17.  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 1571 times)
18.  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 1283 times)
19.  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 2023 times)
20.  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 1923 times)
21.  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 2373 times)
22.  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 2032 times)
23.  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 1739 times)
24.  Receiving Trx History Details
A very useful SQL routine to view all the details of Receiving Trx History Details, i guess this may.. (viewed 2637 times)
25.  Customer Profit in detail
Query helps you to fetch the Customer Profit in Details. A Variable is declared for the year, chang.. (viewed 1673 times)
26.  Inventory Value by Site (Location)
This Query results Inventory Value by Site/Location.. (viewed 2292 times)
27.  SALES Documents housekeeping routines
Here are some more housekeeping sql routines that you can use to clean up your sales document tables.. (viewed 2171 times)
28.  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 1671 times)
29.  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 2477 times)
30.  Customer Balance Which matches with RM Trail Balance
Customer Balance Query.. (viewed 2400 times)
31.  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 3259 times)
32.  Code to Retrieve Item Sell Price
This code below to Retrieve Item Number, item Description , UOM , Current Cost , Price Lavel ,Mark.. (viewed 1901 times)
33.  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 2134 times)
34.  Total invoiced quantity per item, per customer
Query to show summary of invoice items per customer, grouped by item... (viewed 2292 times)
35.  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 8650 times)
36.  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 1771 times)
37.  Create a new Salesperson entry
insert a new sales person / salesrep account record in great plains dynamics.. (viewed 1191 times)
38.  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 2078 times)
39.  Fix Item custom categories
Background of the problem:   We imported data from various external sources into GP Dynam.. (viewed 2699 times)
40.  Duplicate SalesOrder Documents
Script to search for duplicate sales order documents. A sales order in the current work table is a d.. (viewed 1861 times)
41.  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 3302 times)
42.  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 3048 times)
43.  Batch update GL ACCOUNTS - Case conversion
Programmatically convert all account descriptions into uppercase .. (viewed 1939 times)
44.  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 4575 times)
45.  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 4255 times)
46.  Consolidation of datbases
We are consolidating databases for vendor transactions here is script how we achieved that.. (viewed 4273 times)
47.  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 3541 times)
48.  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 2647 times)
49.  Summary of earnings per country
Query to display the summary of earnings for each country within a particular sales period. This que.. (viewed 1971 times)
50.  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 2371 times)
51.  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 1760 times)
52.  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 3001 times)
53.  previous amount for customer in
Hello The code below to display the previous amount for customer in specific date Mybe useful.. (viewed 1895 times)
54.  Employee Net Paid
Display list of Employees Net paied After sum the salary and Pay codes subtraction the Deductions.. (viewed 1975 times)
55.  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 6589 times)
56.  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 1631 times)
57.  All Currency IDs from the current database
Display list of distinct or unique Currency IDs from the current database. MC60100: Multicurrency .. (viewed 2698 times)
58.  Inventory count per item class
A query to display the number of invetories or stocks per 'Item Class'. Displays all Item Classes.. (viewed 1862 times)
59.  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 1673 times)
60.  Display "ShipComplete" Orders
A query to list orders where customer is unwilling to accept multiple shipments. .. (viewed 1616 times)
61.  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 2431 times)
62.  Count of customers per classification
A useful Dynamics GP script when finding the number of your records on each customer class... (viewed 2741 times)
63.  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 5567 times)
64.  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 3262 times)
65.  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 2062 times)
66.  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 4981 times)
67.  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 47464 times)
68.  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 2758 times)
69.  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 3598 times)
70.  Unlock a posting batch
Dynamics gp sql script to unlock a batch number causing system error message... (viewed 4164 times)
71.  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 2129 times)
72.  Batch update standard cost of all inventory items
A script to update the standard cost of your inventories... (viewed 2320 times)
73.  reset all pricelists for a particular currency
our company ran into a couple of problems during our first time implementing multi currency support .. (viewed 2538 times)
74.  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 2219 times)
75.  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 8355 times)
76.  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 3685 times)
77.  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 3942 times)
78.  Order Comments
Display all comments for a particular order.. (viewed 3634 times)
79.  List all inventories
SqL query to list all inventory items.. (viewed 3603 times)
80.  Details of an inventory item
This sql displays the details of an inventory item. Example below shows the details of Item numbe.. (viewed 2828 times)
81.  Customer Addresses
Display all address entries of a certain customer. The example below shows all address entries of.. (viewed 2842 times)
82.  Current Dynamics GP activities
Display all activities by users in Dynamics.. (viewed 4474 times)
83.  Voided current orders in Dynamics GP
Display all voided current orders in Dynamics GP.. (viewed 2890 times)
84.  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 3482 times)
85.  Display all customer records
This command will display all customer records sorted by Customer name.. (viewed 4555 times)
86.  How to display the internet address of a customer
This command will query the table of internet addresses.. (viewed 2714 times)
87.  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 5340 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.