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)

Posted AP transactions missing distribution on GL side

(0) ShareShare
ReportReport
Posted on by

I just found that that some of my posted payables do not have a distribution on the GL side. Is there a script that I can run to see which all transactions are missing the GL distributions. I found it out after running inquiry on the account number posted on the payable transactions.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Mick Egan Profile Picture
    3,561 on at

    The below queries are samples of how to start, not including fully applied documents and only at Invoices, you can get the idea from here.  Run against the company database.

    First check, see if any Unposted Journals:

    SELECT a.VENDORID, a.DOCNUMBR, b.JRNENTRY FROM PM20000 a LEFT OUTER JOIN GL10001 b ON a.DOCNUMBR = b.ORDOCNUM WHERE b.JRNENTRY IS NOT NULL AND a.DOCTYPE = 1

    Second Check, only looking at Unapplied PM Transactions, and in the Current Financial Year:

    SELECT a.VENDORID, a.DOCNUMBR, b.JRNENTRY FROM PM20000 a LEFT OUTER JOIN GL20000 b ON a.DOCNUMBR = b.ORDOCNUM WHERE b.JRNENTRY IS NULL AND a.DOCTYPE = 1

    Mick

  • L Vail Profile Picture
    65,271 on at

    Hi,

    What does the Reconcile to GL routine give you?

    Leslie

  • Community Member Profile Picture
    on at

    Hi Leslie,

    I ran the reconcile for payable accounts (batches), reconcile to GL and checklinks which did not fix the issue.

    Reconcile to GL did not give me any output.

    Thanks!

  • Rosemary Profile Picture
    10 on at

    Hi,

    I have a question.

    If there were no distribution on the GL side, how did the batch balance, i.e. if I am understanding this correctly.

    Regards

  • Community Member Profile Picture
    on at

    We have had occasions where GP 'hiccups' and the payables side of the transaction runs but not the GL side, we realized that there were Financial batches with odd Batch ID's.  We just posted these batches then the GL entries posted.  

  • Community Member Profile Picture
    on at

    These payable transactions have been posted and paid as well. But when, we do an inquiry on the distribution, they are not there.

  • Heather Roggeveen Profile Picture
    9,146 on at

    If you mean the enquiry on the Payable document - sometimes the distribution record will drop off - but it has actually posted to the GL.  If you know of one transaction, then you could run a SmartList from the Account Transactions under Financial and search on:

    - GL Code = Accounts Payable Control Account

    - Originating Master ID = the Vendor ID

    And then narrow it down using the Amount or Originating Document Number.

    That would at least help you verify whether your issue is that the distributions were never posted or it is an issue in the distributions held against the AP transaction.

  • Community Member Profile Picture
    on at

    Heather, I tried that as well. It is not showing up in smartlist as well.

    Thanks!

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi, I think you should look at the distribution tables. Please be advised that this tables is shared between work and open (PM10100). If the invoice is posted and paid, you may look into the history distribution table (Pm30600). If you could not find (the probability of which is very less, it must be somewhere if entered), you may try to enter the same voucher and copy the distribution using SQL query for this document. Now copying where ..? The answer is the status of the invoice - if it is paid then in history if not then in PM10100. If the GL distribution is missing you might want to copy there as well. Please do not copy blindly and take a backup of all the relevant tables. When copied you may delete the voucher entered for copying. Or you may check your GL distribution and copy from there. Either way, this can be done by using SQL query only.

  • Heather Roggeveen Profile Picture
    9,146 on at

    Hi nlo

    If the AP reconcile did not throw any records, then Mick's SQL scripts are a good starting point.

    Victoria Yudin also has a view to see all AP distributions:  victoriayudin.com/.../sql-view-to-show-all-gl-distributions-for-ap-transactions

    You may be able to join that to the GL20000 table to try and see what is missing.

    In the bad old days before I knew anything about SQL, and before the AP reconcile, I would download a SmartList from AP of all the transactions with Document Amount and all the transactions from GL and include Originating Document Number, Originating Master ID and use vlookups to find all the transactions that existed in both.

    So if you don't have the SQL skills, that is a more manual way of achieving the same outcome.

    Once you isolate, if they truly don't exist in the GL, then a journal will be your only option to correct.

    Cheers

    Heather

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