Quantcast
Channel: GP SQL scripts – Victoria Yudin
Browsing all 39 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Customer shipping addresses in Dynamics GP

Need to see a list of all the shipping addresses for your Dynamics GP customers? You can use the view below which pulls out the ship to address and the associated tax schedule, shipping method ,...

View Article



Image may be NSFW.
Clik here to view.

SQL view for last sale by customer and item

When was the last time a particular customer bought a particular item? Here is a little view that will tell you. For other Dynamics GP views and reporting tips, take a look at my GP Reports page. Or...

View Article

Image may be NSFW.
Clik here to view.

SQL view for last sale date of item

An interesting question came up in response to my last SQL view showing the last sale by customer and item. How do you show the latest sale of an item and who the customer was for that particular sale?...

View Article

Image may be NSFW.
Clik here to view.

SQL view for all GL transactions in Dynamics GP

I have been asked a few times now to add unposted General Ledger transactions to my Posted GL Transactions view. Here it is. This view also excludes voided transactions and introduces new columns for...

View Article

Image may be NSFW.
Clik here to view.

SQL view for sales by item by year

I had a request from a blog reader for a view that shows sales of items by year. This seemed like pretty useful code to create, so I put the following view together. I am making a few assumptions...

View Article


Image may be NSFW.
Clik here to view.

SQL view for sales by item by month

Here is a new Dynamics GP SQL view in reponsse to a reader that liked my view for sales by item by year, but wanted to see the same thing by month. I am making a few assumptions (listed in the view...

View Article

Image may be NSFW.
Clik here to view.

SQL view for user activity in Dynamics GP

There are many different pieces of code that I have seen for this over the years, but more often than not what our users ask me for is a way to quickly see who is logged into GP, what company, and when...

View Article

Image may be NSFW.
Clik here to view.

SQL view for current Payables aging in Dynamics GP

Over the past few years I have had several requests for a summary current Payables aging report that can be easily exported into Excel. Yes, you can play with the Report Writer aging report to take out...

View Article


Image may be NSFW.
Clik here to view.

SQL view for bank deposits and receipts in Dynamics GP

About a year ago I published a view for a Checkbook Register and have received some follow up requests asking for a way to show the receipt details. Primarily this request seems to come from the need...

View Article


Image may be NSFW.
Clik here to view.

SQL view to show monthly totals for Dynamics GP Vendors

In response to a reader request, I have created this new view based on my Vendor Yearly Totals view that will show monthly totals for your Dynamics GP Vendors for all years. This view will show both...

View Article

Image may be NSFW.
Clik here to view.

SQL view for vendor yearly totals in Dynamics GP

There has been a lot of talk lately about the year end close Payables and Receivables. I feel like I have spent the last week or two justifying my reasoning for not needing to perform the year end...

View Article

Image may be NSFW.
Clik here to view.

SQL view for customer yearly totals in Dynamics GP

As a follow up to my SQL view for vendor yearly totals, here is something similar for customers. I have combined sales less credits/returns in one column, please take a look at the notes above the code...

View Article

Image may be NSFW.
Clik here to view.

SQL view for sales quantities by item by year

Even since I published my view for sales by item by year I started receiving requests for the same type of view showing quantities instead of amounts. There are two ways of doing this, once from...

View Article


Image may be NSFW.
Clik here to view.

SQL view for current Receivables aging in Dynamics GP

I have created a variation on my view that shows all unapplied Receivables transactions to show customer aging in buckets. This is only looking at functional currency and will return data in summary,...

View Article

Image may be NSFW.
Clik here to view.

SQL view for sales quantities by customer by item by year

Seems like no many how many variations of sales reports there are, people will always want more. I recently had a request for something similar to my view for sales quantities by item by year, but also...

View Article


Image may be NSFW.
Clik here to view.

Dynamics GP SOP line items with serial numbers and comments

Based on some reader requests, this new view is a combination of  my All SOP Line Items view and the recently posted script showing how to get a concatenated list of serial numbers in SQL. This new...

View Article

Image may be NSFW.
Clik here to view.

SQL view for commissions details in Dynamics GP

Commissions are typically difficult to create generic reports for, as many companies have unique commission structures. We find that out-of-the-box functionality in GP does not really work for most...

View Article


Image may be NSFW.
Clik here to view.

SQL view for Variable Allocation Accounts in Dynamics GP

Below is a view that will return a list of the distribution and breakdown accounts for all active variable allocation accounts in your Dynamics GP. Nothing fancy, but sometimes it is easier to have a...

View Article

Image may be NSFW.
Clik here to view.

SQL view for rolling 12 months of sales by item in Dynamics GP

Rolling twelve month reports are not always very easy to create,  and I have been seeing more requests for them, so I thought I would show an example of one way to do this. The view below is a...

View Article

Image may be NSFW.
Clik here to view.

SQL view for Fixed Allocation Accounts in Dynamics GP

Below is a view that will return a list of the distribution accounts and percentages for all active fixed  allocation accounts in your Dynamics GP. Nothing fancy, but sometimes it is easier to have a...

View Article
Browsing all 39 articles
Browse latest View live




Latest Images