Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unable to delete unused GL Strings

(0) ShareShare
ReportReport
Posted on by

Hello

I am trying to delete a number of GL strings that were created several years ago but never used. You get the error message 'Account xxxx has account history. It cannot be deleted'.

I have run the Account Transactions smartlist for these account numbers with no results. I have also queried the index number in SSMS tables GL20000 Year-to-Date Transaction Open and GL30000 Account Transaction History and there are no results.

There is however results in table GL10111 Account Summary History for these index numbers. How is it possible for a transaction to be in this table with no associated GL transaction?

We also have an archive company which I thought perhaps GL transactions from GL20000 and GL30000 were archived, leaving a transaction behind in the main company, but only querying that database there were no transactions either.

Thankyou

*This post is locked for comments

  • Mahmoud Saadi Profile Picture
    32,738 on at
    RE: Unable to delete unused GL Strings

    You are most welcome Tania

    Never hesitate to share any further inquiries,

  • Community Member Profile Picture
    on at
    RE: Unable to delete unused GL Strings

    Hi Justin and Mahmoud

    Reconcile did work. The log came out with no errors but it seems to have removed the transactions in GL10111 anyway and I could delete the string.

    Thanks

  • Verified answer
    Mahmoud Saadi Profile Picture
    32,738 on at
    RE: Unable to delete unused GL Strings

    Hello Tania

    Go to Microsoft Dynamics GP > Utilities > Financial > Reconcile

    Include the history years that shall be corrected, this will ensure to reconcile the account balances against account transactions.

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    on at
    RE: Unable to delete unused GL Strings

    Hi Ian

    Thanks for your response. It says there are 2.8 millions records in Account Transaction History before I start to run checklinks on it, but when I run it the error log prints immediately with no results, it doesn't even seem like it's running anything. There is no progress bar. This seems a bit strange?

  • Verified answer
    Justin Thorp Profile Picture
    2,265 on at
    RE: Unable to delete unused GL Strings

    Hi,

    If you don't mind deleting the summary information you can manually run a query for the 1 ACTINDX in SSMS. 

    Alternatively if you want to make sure that the records in the detailed tables (GL20000 and GL30000) match what is in the summary tables (GL10110 and GL10111), then I recommend you run a reconcile on potentially all years (Tools - Utilities - Financial - Reconcile).

    Thanks,
    Justin

  • Suggested answer
    Ian Grieve Profile Picture
    22,784 on at
    RE: Unable to delete unused GL Strings

    Sounds like corruption from what you describe. May be worth running Check Links against Account Master and Account Transaction History.

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