Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unit accounts

(0) ShareShare
ReportReport
Posted on by 235

The unit accounts in my reporting have the previous year in the ytd balance.  When they were originally set up, they were not marked to clear at year end.  I want to know how to fix this problem so that last years unit account balances do not show up in my current year balances.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Unit accounts

    Here is a link to a KB

    support.microsoft.com/.../857582

  • Suggested answer
    cynthia dappah Profile Picture
    1,065 on at
    RE: Unit accounts

    If I understand this query well it clears the balance for any unit account with "BBF' as the source document, what if you would like to target a specific "ACTINDX" not all. Can you please help with how the query should be modified to achieve that

    delete GL20000 from GL00100, GL20000
    where GL00100.ACTINDX = GL20000.ACTINDX and GL00100.ACCTTYPE = 2 and GL20000.SOURCDOC = 'BBF'

  • L Vail Profile Picture
    65,271 on at
    RE: Unit accounts

    I believe you could change the posting period to period 0 (make the posting date 12/31) and it will act like your closing entries and just change the beginning balance without disturbing your history.

    Kind regards,

    Leslie

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,527 Super User 2025 Season 1 on at
    RE: Unit accounts

    That is exactly the script you need, McGuire.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Unit accounts

    There's a function IT runs for me each year to zero them out.  Here's the kb article:

    support.microsoft.com/.../857582

    We are on 2010 but I hear this issue is resolved in GP2013.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,527 Super User 2025 Season 1 on at
    RE: Unit accounts

    Okay, in SQL Server Management Studio, you're going to need to find the ACTINDX value for your unit accounts.  Query GL00100 (Account Master), where ACCTTYPE = 2.

    Once you know your unit account indexes, run a delete statement on GL30000 (GL History), deleting any records where ACTINDX = your unit account indexes.

    Of course, try this in a test company first and make sure you backup production prior to deleting any records.

    Let us know how it goes.

  • Mcguire Profile Picture
    235 on at
    RE: Unit accounts

    I can do it but I am not sure how to change the data tables.  I have only a few months of GP experience.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,527 Super User 2025 Season 1 on at
    RE: Unit accounts

    Then the only solution is to change the data in the tables, Mr. McGuire.  Can you do that or have someone assist?

  • Mcguire Profile Picture
    235 on at
    RE: Unit accounts

    Making that entry will correct my ytd problem, but it will make my month to date numbers incorrect

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,527 Super User 2025 Season 1 on at
    RE: Unit accounts

    Enter a JE to reduce the balance by last year's amounts.  Post it in the first period of your fiscal year.

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans