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

Community site session details

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

Identifying the Retained Earnings Account

(2) ShareShare
ReportReport
Posted on by 118
Hi, Is there a way to identify, programmatically, which account from the chart of accounts is the retained earning account? It seems that account name is not reliable as it can be edited. Thanks in advance!
I have the same question (0)
  • Suggested answer
    Yi Yong Profile Picture
    2,545 Super User 2025 Season 2 on at
    Identifying the Retained Earnings Account
    Hello,
     
    You can use 'G/L Account Categories'.
     
    Then assign it to the G/L Account's Account Subcategory.
  • Suggested answer
    Andy Wingate Profile Picture
    326 on at
    Identifying the Retained Earnings Account
    Hello,
     
    That entirely depends on the selection made as part of the year end last year. You would expect the financial controller, or whoever ran the year end process, would have picked the correct account! But just because an account is labelled as such, doesn't 100% mean that was the one selected when the income statement was closed for the prior year. 
     
     
     
    If you check the G/L entries and filter for "Close Income Statement" as the posting desc, (if they used that posting desc) then you could also find the accounts that way..

    good luck!
     
    All best 
    Andy
  • Suggested answer
    Valentin Castravet Profile Picture
    31,262 Super User 2025 Season 2 on at
    Identifying the Retained Earnings Account
    As noted, the retained earnings account is user-defined. You can pick something on the G/L Account card that represents only the retained earnings account. For example, you could create an account subcategory specifically for retained earnings that can be used to identify the account.
     
  • CU07100202-0 Profile Picture
    118 on at
    Identifying the Retained Earnings Account
    The challenge with using the account subcategory is it is a user-define not a system one so I can not use it to identify the account PROGRAMMATICALLY. But thank you for your answers
  • Suggested answer
    YUN ZHU Profile Picture
    95,305 Super User 2025 Season 2 on at
    Identifying the Retained Earnings Account
    You can freely combine G/L Account or Account Category in financial report.
    More details:
    Prepare financial reporting with financial data and account categories
     
    Hope this helps.
    Thanks.
    ZHU
  • CU07100202-0 Profile Picture
    118 on at
    Identifying the Retained Earnings Account
    Thanks YUN ZHU! But I need to identify it programmatically and account categories are not reliable as it can be edited by the user.
  • Suggested answer
    Valentin Castravet Profile Picture
    31,262 Super User 2025 Season 2 on at
    Identifying the Retained Earnings Account
    This is not possible. As we have pointed out, this account is user-defined. Every aspect of the system that classifies a G/L account as the retained earnings account is determined by the user.

    When you create a G/L account, you can use it for any purpose. You populate specific fields on the G/L Account card to indicate its intended use, all of which are user-defined. The system does not impose a standard chart of accounts on you; for example, it won't assign account number 4000 as your retained earnings account with restrictions on changes. 
     

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,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans