web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SQL QUERY FOR PAYABLE OUTSTANDING TRANSACTIONS WITH INVOICES THEY'RE APPLIED TO

(0) ShareShare
ReportReport
Posted on by

Hi all,

I'm trying to get a report for outstanding payable transactions (ie. checks, cash) with the invoices they were applied to and the distributions that posted from the invoices. Any idea if there's an available SQL script for that? I've looked but couldn't find one. I tried joining the various tables (PM30200, PM30300, PM30600, CM30200) but the data comes out wrong. The report I'm looking for should also contain the description on the invoice.

Any help would be greatly appreciated!

Odiop

*This post is locked for comments

I have the same question (0)
  • MattPaulen Profile Picture
    6,912 on at

    Have you checked Victoria Yudin's site?  I'm not sure if there is something with exactly what you need but it should be a good starting point.  She's got one that has the apply info and one that has the distributions so maybe utilizing the two will help.

    victoriayudin.com/.../payables-sql-views

  • Bill Campbell Profile Picture
    12 on at

    Matt that is a great suggestion.  Sometimes we spend a ton of time looking for that 'last' piece of data on a single report, when two might just do fine.  If I had the details on one and then needed to get into the distribution, I might find that an acceptable solution.

    Often times as you likely encountered it when you try to link that one more transaction laden table into a view that messes up everything else.

  • Community Member Profile Picture
    on at

    I agree with Matt and Bill. Victoria Yudin has tons and tons of SQL views posted on her site.  Also look at the existing views in the GP company database.

    If you want to post a description of each column you want on your report I'd be happy to take a swing at it when I have time.

  • Suggested answer
    Victoria Yudin Profile Picture
    22,769 on at

    Thanks for all the shout outs guys! :-)

    I do have a view on my blog that combines the Payables apply detail with the GL distributions of the invoices:

    victoriayudin.com/.../sql-view-for-payables-apply-detail-and-gl-distributions-in-dynamics-gp

    Hope that helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans