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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Trying to delete a GL Account

(0) ShareShare
ReportReport
Posted on by 90

One of our accountants was adding, editing a GL or testing something; whatever they were doing they tried to delete the GL and could not.  I cannot delete it either.  There is not history, and I am not quite understanding the error message.  When I go to delete the GL Account I get the following:

"Check G/L Acc. Deletion After must have a value in General Ledger Setup: Primary Key=. It cannot be zero or empty."

Any help would be great.

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Go to the general ledger setup page. In that page there is a field about g/l account deletion. Add a date to that field. The tooltip for the field is “Specifies if and when general ledger accounts can be deleted. If you enter a date, G/L accounts with entries on or after this date cannot be deleted.” So pick a valid date and then try again.

  • Suggested answer
    Dirk Profile Picture
    on at

    Actually G/L Accounts can also be deleted if entries exists after that date (if they are in closed periods and the balance of the G/L Account is zero).

    Using the date in the General Ledger Setup is mandatory, but it does not prevent from deletion.

    It just throws another confirm message.

    And if you confirm ... you can delete the G/L Account even if entries exist after that date.

    It's the same priciple as if you want to delete the entire company ... you get a second confirm message.

  • tww Profile Picture
    90 on at

    Thanks that did it!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans