Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

General ledger and vendor information

(0) ShareShare
ReportReport
Posted on by 465

Hi,

I want to review a particular GL account and I want to see the names of all the vendors for that particular GL account that I have paid or coded to.  How can I go about doing that?  Thanks

*This post is locked for comments

  • Mahmoud Saadi Profile Picture
    32,738 on at
    RE: General ledger and vendor information

    tayket1285

    Just following up, is this settled ?

    Your feedback is highly appreciated,

  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at
    RE: General ledger and vendor information

    Nothing more valuable to add up, just a simple script which can deliver the desired output.

    Here is the result data set:

    Replace the #AccountPayableNumber in the WHERE below, with the required account number like 000-2100-00

    SELECT  B.TRX_Year ,
            A.ACTNUMST ,
            B.JRNENTRY ,
            B.DEBITAMT ,
            B.CRDTAMNT ,
            B.ORMSTRID AS VendorID ,
            B.ORMSTRNM AS VendorName
    FROM    ( SELECT    *
              FROM      dbo.GL00105
              WHERE     ACTNUMST = '#AccountPayableNumber'
            ) AS A
            LEFT OUTER JOIN ( SELECT    OPENYEAR AS TRX_Year ,
                                        ACTINDX ,
                                        JRNENTRY ,
                                        DEBITAMT ,
                                        CRDTAMNT ,
                                        ORMSTRID ,
                                        ORMSTRNM
                              FROM      dbo.GL20000
                              UNION ALL
                              SELECT    HSTYEAR ,
                                        ACTINDX ,
                                        JRNENTRY ,
                                        DEBITAMT ,
                                        CRDTAMNT ,
                                        ORMSTRID ,
                                        ORMSTRNM
                              FROM      dbo.GL30000
                            ) AS B ON A.ACTINDX = B.ACTINDX


    Your feedback is highly appreciated,

  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,527 Super User 2025 Season 1 on at
    RE: General ledger and vendor information

    Tayket, I would start with this SQL view from Victoria Yudin - victoriayudin.com/.../sql-view-to-show-all-gl-distributions-for-ap-transactions.  You can use the view to create a Smartlist, Excel, or SSRS report.

  • tayket1285 Profile Picture
    465 on at
    RE: General ledger and vendor information

    I mean how can I go about printing a report that has all the names of the vendors that I have used to that particular GL account?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans