Collection of useful Microsoft Great Plains Dynamics Sql Scripts, Tips and Tricks
|
|
1.
Need a query to get great plains events/history
GP went down last night and I need a query to pull the event log to see why this happened. Thank you..
(viewed 754 times)
|
2.
Generate Suggested Purchase Order
Hope this procedure will help your problem for not upgrading your GP just to register this module. I..
(viewed 2045 times)
|
3.
Serail Number Already Exists
Resolution of Serial Error : Serail Number Already Exists..
(viewed 1431 times)
|
4.
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 328 times)
|
5.
How Payable Invoice Duplicates
Scenario
1. Any Report of Report Writer is already opened (Native GP Report of Report Writer).
2. ..
(viewed 379 times)
|
6.
How To Reset System Password
The GP Administrator probably forget the system password, here is a hidden technique to resetting pa..
(viewed 725 times)
|
7.
Find Table Size of the Database
Very useful script for DBA to know the each table size of a specified database...
(viewed 1365 times)
|
8.
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 751 times)
|
9.
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 846 times)
|
10.
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 903 times)
|
11.
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 826 times)
|
12.
List all gpdynamics users
Quick way to get a list of all dynamics gp users..
(viewed 1034 times)
|
13.
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 331 times)
|
14.
Change DECIMAL PLACES CURRENCY
here's one i've used lately..
this script changes decimal places of currency effective for an ite..
(viewed 696 times)
|
15.
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 666 times)
|
16.
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 393 times)
|
17.
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 352 times)
|
18.
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 651 times)
|
19.
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 701 times)
|
20.
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 916 times)
|
21.
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 796 times)
|
22.
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 676 times)
|
23.
Receiving Trx History Details
A very useful SQL routine to view all the details of Receiving Trx History Details, i guess this may..
(viewed 955 times)
|
24.
Customer Profit in detail
Query helps you to fetch the Customer Profit in Details.
A Variable is declared for the year, chang..
(viewed 641 times)
|
25.
Inventory Value by Site (Location)
This Query results Inventory Value by Site/Location..
(viewed 912 times)
|
26.
SALES Documents housekeeping routines
Here are some more housekeeping sql routines that you can use to clean up your sales document tables..
(viewed 880 times)
|
27.
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 711 times)
|
28.
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 948 times)
|
29.
Customer Balance Which matches with RM Trail Balance
Customer Balance Query..
(viewed 1026 times)
|
30.
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 1511 times)
|
31.
Code to Retrieve Item Sell Price
This code below to Retrieve Item Number, item Description , UOM ,
Current Cost , Price Lavel ,Mark..
(viewed 843 times)
|
32.
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 969 times)
|
33.
Total invoiced quantity per item, per customer
Query to show summary of invoice items per customer, grouped by item...
(viewed 957 times)
|
34.
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 3133 times)
|
35.
Show the earnings of each product with comparative sales performance from previous year
What good are product sales figures if you can't tell how well it performed compared to the previous..
(viewed 615 times)
|
36.
Show the top-earning (best selling) products of the year
This query shows the current year sales of each product in your inventory. The figures come from the..
(viewed 744 times)
|
37.
Show customer's invoice total per year, with variance computation from another year
Let us take the invoice year summary query one step further. Wouldn't it be quite useful to see it c..
(viewed 641 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 887 times)
|
39.
Create a new Salesperson entry
insert a new sales person / salesrep account record in great plains dynamics..
(viewed 497 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 1385 times)
|
41.
Fix Item custom categories
Background of the problem:
We imported data from various external sources into GP Dynam..
(viewed 2064 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 1128 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 2124 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 2236 times)
|
45.
Batch update GL ACCOUNTS - Case conversion
Programmatically convert all account descriptions into uppercase
..
(viewed 1300 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 2367 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 2397 times)
|
48.
Consolidation of datbases
We are consolidating databases for vendor transactions here is script how we achieved that..
(viewed 2861 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 2488 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 1754 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 1308 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 1350 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 968 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 2354 times)
|
55.
previous amount for customer in
Hello
The code below to display the previous amount for customer in
specific date
Mybe useful..
(viewed 1086 times)
|
56.
Employee Net Paid
Display list of Employees Net paied After sum the salary and Pay codes subtraction the Deductions..
(viewed 1078 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 4182 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 819 times)
|
59.
All Currency IDs from the current database
Display list of distinct or unique Currency IDs from the current database.
MC60100: Multicurrency ..
(viewed 1821 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 863 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 755 times)
|
62.
Display "ShipComplete" Orders
A query to list orders where customer is unwilling to accept multiple shipments.
..
(viewed 880 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 1259 times)
|
64.
Count of customers per classification
A useful Dynamics GP script when finding the number of your records on each customer class...
(viewed 1715 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 3337 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 1984 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 1001 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 1515 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 1609 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 1563 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 2040 times)
|
72.
Unlock a posting batch
Dynamics gp sql script to unlock a batch number causing system error message...
(viewed 2076 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 1075 times)
|
74.
Batch update standard cost of all inventory items
A script to update the standard cost of your inventories...
(viewed 1184 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 1625 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 1185 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 4631 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 2387 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 2187 times)
|
80.
Order Comments
Display all comments for a particular order..
(viewed 2093 times)
|
81.
List all inventories
SqL query to list all inventory items..
(viewed 1856 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 1742 times)
|
83.
Customer Addresses
Display all address entries of a certain customer.
The example below shows all address entries of..
(viewed 1766 times)
|
84.
Current Dynamics GP activities
Display all activities by users in Dynamics..
(viewed 2262 times)
|
85.
Voided current orders in Dynamics GP
Display all voided current orders in Dynamics GP..
(viewed 1789 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 2255 times)
|
87.
Display all customer records
This command will display all customer records sorted by Customer name..
(viewed 3394 times)
|
88.
How to display the internet address of a customer
This command will query the table of internet addresses..
(viewed 1806 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 2646 times)
|
|
|
|