Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Deactivate Financial Accounts w/o activity for a period time.

Posted on by Microsoft Employee

User wants to inactivate all the financial accounts in GP that do not have activities within the last 3 fiscal year. Specifically, as of today, all the accounts that do not have activity or balance from 07/01/2015 should be inactivated. How would this be accomplished?

*This post is locked for comments

  • Suggested answer
    Jeff Grant Profile Picture
    Jeff Grant on at
    RE: Deactivate Financial Accounts w/o activity for a period time.

    Hi Michael,

    You can use SQL scripting to perform this function en masse if you want to avoid the manual window update.

    However, as all SQL work would be at your complete discretion, please insure you have a good backup of the company db before doing so.

    Example SQL scripting that would perform this function as of '06/01/2018' would be:

    UPDATE GL00100

    SET    ACTIVE = 0

    WHERE  ACTINDX NOT IN (SELECT ACTINDX

                          FROM   GL20000

                          WHERE  DOCDATE > '06/01/2015'

                                 AND SOURCDOC <> 'BBF') -- Open Year Entries

          AND ACTINDX NOT IN (SELECT ACTINDX

                              FROM   GL30000

                              WHERE  DOCDATE > '06/01/2015'

                                     AND SOURCDOC <> 'BBF') -- Historical Year Entries

    Once inactive the user would need to manually activate the account before it can be used on a new entry.

    Best Regards,

    Jeff

  • Rosemary Profile Picture
    Rosemary 2 on at
    RE: Deactivate Financial Accounts w/o activity for a period time.

    Hi,

    In Cards>>Financial>>Account>> Account Maintenance window have you tried ticking the GL account number as 'inactive' and unticking 'allow account entry'.

    I am looking at GP 2013, not sure if this has changed.

    Regards,

    Rosemary

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans