Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

SOP Invoices with GL Distributions

Posted on by Microsoft Employee

Hi all - 

I'm looking for a script that can pull the SOP Invoices (all status) with the GL accounts that were posted. I think Victoria Yudin has one but it only shows the debits and credits, and not the actual GL accounts. 

Thanks!

Od

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SOP Invoices with GL Distributions

    Thanks guys -

    Harry, I will start with your script and keep you posted.

    Oumar Diop

  • Suggested answer
    Redbeard Profile Picture
    Redbeard 12,931 on at
    RE: SOP Invoices with GL Distributions

    I do not know what your SQL skill level is, but here's a quick script to get you started. It identifies the tables you'd likely need for this kind of report.

    select GLD.ACTNUMST Acct_Number,* from SOP10102 SDT

    left join sop10200 SOOL on SDT.SOPTYPE = SOOL.SOPTYPE and SDT.SOPNUMBE = SOOL.SOPNUMBE and SDT.SEQNUMBR = SOOL.LNITMSEQ

    Left Join SOP10100 SOOH on SDT.SOPTYPE = SOOH.SOPTYPE and SDT.SOPNUMBE = SOOH.SOPNUMBE

    left join GL00105 GLD on SDT.ACTINDX = GLD.ACTINDX

  • Shahid.Ahmed Profile Picture
    Shahid.Ahmed 170 on at
    RE: SOP Invoices with GL Distributions

    Hi diop,

    You need along with item codes or at document level. Can you please share the format you desire.  It would help to understand your requirement.

    Regards,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans