BeyondERP.Newsletter
Menu

Setup step on the Main accounts page · General ledger

Set up Main accounts

Use this page to add main accounts with a main account type, category, default currency, legal entity overrides, and financial reporting exchange rate settings.

See how to set it up Back to General ledger

Used by
Accountant, Accounting manager, Accounting supervisor and 8 more roles
Business process
Develop chart of accounts strategy
Menu item
MainAccountDetails
Main table
MainAccount
Data entity
MainAccountEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Main account type drives year-end treatment”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isThe list page of main accounts, the accounts that make up a chart of accounts.
What you do hereUse this page to add main accounts with a main account type, category, default currency, legal entity overrides, and financial reporting exchange rate settings.
ExampleAssign a main account category so that the account is used on the default financial reports and Power BI content.
Main accounts page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Main accounts1 screen

Use this page to add main accounts with a main account type, category, default currency, legal entity overrides, and financial reporting exchange rate settings.

  1. Screen 1

    Create the main account

    Go to General ledger > Chart of accounts > Accounts > Main accounts

    1. Select New
    2. Enter the main account number and name
    3. Set the main account type
    1Main account110100
    2NameCash clearing
    3Main account typeAsset
    Create the main account (zoomed on the outlined fields)
    Show the full screenCreate the main account
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to General ledger > Chart of accounts > Accounts > Main accounts.
  2. Select New.
  3. In the Main account field, enter the account number.
  4. In the Name field, enter a name.
  5. In the Main account type field, select the type that matches the account's balance and place on financial statements.
  6. Select the main account category the account belongs to.
  7. Change the default debit or credit balance if needed.
  8. In the Default currency field, select a currency.
  9. In the Legal entity overrides section, add legal entities and select Suspended where the account must not be used.
  10. In the Financial reporting section, select the Exchange rate type and the Currency translation type.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Main account typeDecides whether the balance is carried forward as an opening balance or closed into retained earnings at year end.Microsoft Learn AssetType
Main account categoryThe more detailed group the account belongs to, used by default financial reports and Power BI content.Microsoft Learn
DB/CR requirementRestricts the account to debit-only or credit-only postings, checked when journal lines are validated and posted.Microsoft Learn DebitCreditCheck
Do not allow entryStops users from entering the account by hand on a journal line.Microsoft Learn
SuspendedBlocks all postings to the account.Microsoft Learn
Legal entity overridesLists the companies where the account is suspended, its owner, and the period when it is active.Microsoft Learn
Opening accountAnother main account that receives this account's balance at year-end close, typically when the account is retired.Microsoft Learn MainAccountId
Currency translation typeHow exchange rates are calculated for the account in financial reporting.Microsoft Learn FinancialReportingTranslationType
Main accountThe number that identifies the main account in the chart of accounts.Microsoft Learn 110100MainAccountId
NameThe name of the main account.Microsoft Learn Cash clearingName

Common errors and fixes

MessageWhat to do
The MainAccount '<account number>' is currently being checked for references before it can be deleted. It can't be deleted until the process is complete.Wait for the reference check to finish, clear any references it finds (posting profiles, ledger setup, module parameters), then select Delete again. If the account was used in a ledger account, suspend it instead. Microsoft Learn

Test checklist

  1. Create a balance sheet and a profit and loss main account with the right Main account type and category.
  2. Set DB/CR requirement to Debit on one account and check a credit journal line fails validation.
  3. Suspend one account for a legal entity under Legal entity overrides and check it can't be used there.
  4. Run a year-end close in a test environment and check profit and loss balances move to retained earnings while balance sheet balances carry forward.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Main accountsSet Main account type and Main account category correctly on every account before go-liveMain account type decides whether a balance is carried forward or closed to retained earnings at year-end. The category drives the default financial reports and Power BI content.How are main account numbers laid out?Creating test or wrong accounts and using them in journals. Once an account is used in any ledger account it can never be deleted, even if the transactions are reversed.Test: Main account type drives year-end treatment

Feature management and licence

Licence or add-inIn this system 11 roles can open this page. Accounting supervisor and Accounting manager maintain it; Accountant, Financial controller, Chief financial officer, Budget manager and Chief executive officer can view it. No Feature management feature needs to be turned on for this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyShared: the same records are used by every legal entity. Microsoft data model
Can it be undoneIrreversible: A main account that was used in any ledger account can never be deleted; it can only be suspended or renamed.
If you change it laterA main account can't be deleted once it has been used in a ledger account, even if those transactions are later removed; it can only be suspended or renamed. Microsoft Learn
Technical architect

6Technical

Menu itemMainAccountDetails Checked in Dynamics 365
FormMainAccount Checked in Dynamics 365
TableMainAccountShown as “Main account” in Record infoKey field: RecIdChecked in Dynamics 365
Data entitiesMainAccountEntityMain account Microsoft data model DimAttributeMainAccountEntityMain accounts Microsoft data model MainAccountCompanyEntityMain account Microsoft data model MainAccountLegalEntityViewEntityMain account legal entity Microsoft data model
Who can open it

11 security roles. Select a role to see its duties and privileges.

  • RoleBudget clerkBudgetBudgetClerk
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleBudget contributorBudgetBudgetContributor
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleBudget managerBudgetBudgetManager
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleChief executive officerCompanyChiefExecutiveOfficer
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleChief financial officerCompanyChiefFinancialOfficer
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleAccountantLedgerAccountant
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleAccounting managerLedgerAccountingManager
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
    • DutyMaintain chart of accounts masterLedgerChartOfAccountsMaintain
      • PrivilegeMaintain main accountsMainAccountDetailsMaintain
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
    • DutyMaintain chart of accounts masterLedgerChartOfAccountsMaintain
      • PrivilegeMaintain main accountsMainAccountDetailsMaintain
  • RoleFinancial controllerLedgerFinancialController
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
  • RoleAccounts payable managerVendInvoiceAccountsPayableManager
    • DutyInquire into chart of account masterLedgerChartOfAccountsInquire
      • PrivilegeView main accountsMainAccountDetailsView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounting supervisor LedgerAccountingSupervisorAccounting manager LedgerAccountingManagerTo use itAccountant LedgerAccountantFinancial controller LedgerFinancialControllerChief financial officer CompanyChiefFinancialOfficerBudget manager BudgetBudgetManagerChief executive officer CompanyChiefExecutiveOfficerGive people one of these roles. On this system, 11 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=MainAccountDetails
Integrate withMainAccountEntity data entity Microsoft data model
Data migrationMainAccountEntity (Main account): shared by all companies, in Microsoft's default template 020 - GL Shared.MainAccountLegalEntityOverrideEntity (Main account legal entity overrides): the per-company suspensions and active dates; load after the main accounts.Load order: Microsoft's default template 020 - GL Shared loads Main account at execution unit 1, level 20, sequence 20, after the chart of accounts and main account categories. Load the final chart before any opening balance or journal is imported, because an account used in a ledger account can't be deleted later.Load first: Chart of accounts, Currencies, Main account categoriesMicrosoft Learn
Table definitionMainAccount columns and relations Microsoft data model
Everyone

8Sources