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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to Export all Account numbers associated with each Account Group Setup.

(0) ShareShare
ReportReport
Posted on by 766

I have added a few hundred Account Group ID's, based on how we plan to use them.  We have entered a program number before the description, which added quite a bit of setup.


I did use a macro to assist with updating the account numbers, however, I still had a few manual pieces to update.

I would like to export every account group ID and all Account Numbers associated to the ID, so that I can run a few formulas and make sure that the setup is 100% accurate.

Can you help?  Here is a screen shot of one ID.

account-group-setup.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Tom Cruse Profile Picture
    1,477 on at

    There might be an easy SmartList for this but we just build views in SQL. I'm not sure what type of back-end system access you have so you might need the assistance of IT but here's the query you'll need to pull it.

    SELECT

    FA.ACCTGRPINDEX as GROUPINDEX,

    FA.ACCTGRPID as GROUPID,

    FA.ACCTGRPDESC as GROUPDESC,

    ISNULL(GL.ACTNUMST,'') as DEPRECIATION_EXPENSE,

    ISNULL(GL2.ACTNUMST,'') as DEPRECIATION_RESERVE,

    ISNULL(GL3.ACTNUMST,'') as PRIOR_YEAR_DEPRECIATION,

    ISNULL(GL4.ACTNUMST,'') as ASSET_COST,

    ISNULL(GL5.ACTNUMST,'') as PROCEEDS,

    ISNULL(GL6.ACTNUMST, '') as RECOGNIZED_GL,

    ISNULL(GL7.ACTNUMST, '') as NON_RECOGNIZED_GL,

    ISNULL(GL8.ACTNUMST, '') as CLEARING

    FROM FA41300 FA

    left join GL00105 GL on GL.ACTINDX = FA.DEPREXPACCTINDX

    left join GL00105 GL2 on GL2.ACTINDX = FA.DEPRRESVACCTINDX

    left join GL00105 GL3 on GL3.ACTINDX = FA.PRIORYRDEPRACCTINDX

    left join GL00105 GL4 on GL4.ACTINDX = FA.ASSETCOSTACCTINDX

    left join GL00105 GL5 on GL5.ACTINDX = FA.PROCEEDSACCTINDX

    left join GL00105 GL6 on GL6.ACTINDX = FA.RECGAINLOSSACCTINDX

    left join GL00105 GL7 on GL7.ACTINDX = FA.NONRECGAINLOSSACCTINDX

    left join GL00105 GL8 on GL8.ACTINDX = FA.CLEARINGACCTINDX

  • Napolo Profile Picture
    766 on at

    Thank you - Thank you!  I had found a script yesterday, but the data wasn't pulling even though it said successful.  

    This is exactly what I needed. Thanks again!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Anthony Beatty Profile Picture

Anthony Beatty 2

#2
CP04-islander Profile Picture

CP04-islander 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans