BeyondERP.Newsletter
Menu

Setup page · General ledger

Date intervals

Codes that define dynamic date ranges for financial statements, reports, and allocation rules.

Read the guide Back to General ledger

Used by
Accountant, Accounting manager, Accounting supervisor and 6 more roles
Business process
Add new date intervals in Dynamics 365 Finance
Menu item
LedgerPeriodCode
Main table
LedgerPeriodCode
Data entity
LedgerDateIntervalEntity
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, “Code fills the dates”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isCodes that define dynamic date ranges for financial statements, reports, and allocation rules.
What you do hereUse this page to set up predefined periods, so that reports can be run without entering From and To dates each time.
ExampleBEAT creates CURMONTH (current period) and PRIORYTD (previous year to date). On 15 November 2026 the controller picks CURMONTH on the trial balance and gets 1 to 30 November 2026 without typing dates.
Date intervals 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 Date intervals1 screen

Use this page to set up predefined periods, so that reports can be run without entering From and To dates each time.

  1. Screen 1

    Create the date interval

    Go to General ledger > Ledger setup > Date intervals

    1. Select New and enter the date interval code and description
    2. On the General FastTab, set the interval start and end
    3. Check the calculated from and to dates, then select Save
    1Date interval codeBEAT-CM
    2From date10/1/2026
    3To date10/31/2026
    DescriptionCurrent month
    Create the date interval (zoomed on the outlined fields)
    Show the full screenCreate the date interval
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to General ledger > Ledger setup > Date intervals.
  2. Select New.
  3. In the Date interval code field, enter a code, such as January.
  4. In the Description field, enter a description.
  5. Under Interval Start, set the From date period type, From date Start/End and From date adjustment unit.
  6. Under Interval End, set the To date period type, To date Start/End, To date +/- and To date adjustment unit.
  7. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Date interval codeThe name of the interval, picked on reports instead of typing From and To dates each time.Microsoft Learn CURMONTHCode
DescriptionA short text that describes the date interval.Microsoft Learn Current monthTxt
From dateThe first date of the range the code gives, worked out from the Interval Start settings when the code is used.Microsoft Learn 11/1/2026StartChange
To dateThe last date of the range the code gives, worked out from the Interval End settings when the code is used.Microsoft Learn 11/30/2026EndChange

Common errors and fixes

MessageWhat to do
A report run with a date interval shows the wrong monthThe interval is relative to the date it runs on. Check the From date and To date period type, Start/End and adjustment settings of the code. Microsoft Learn

Test checklist

  1. Create a date interval code for the current period.
  2. Run the Trial balance and select the code in Date interval.
  3. Check From and To dates fill in with the current period.
  4. Select the code on a ledger allocation rule and check the rule picks up the same range.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Date intervalsCodes for the periods you report on repeatedly, such as Current period, Previous year and Current year to dateDate intervals give dynamic dates, so recurring reports such as the trial balance and allocation rules can run without retyping From and To dates.Which date interval codes does the company keep?Editing a code that allocation rules or scheduled reports already use. The change applies to every later run, so create a new code when only one report needs other dates.Test: Code fills the dates

Feature management and licence

Licence or add-inIn this system 9 roles can open this page, among them Budget manager, Chief financial officer, Accountant and Accounting manager. No Feature management feature needs to be on for this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Date intervals are dynamic date ranges used when reports and allocation rules run; editing one changes the dates used from the next run. Microsoft Learn
If you change it laterA date interval is evaluated each time a report or allocation rule runs, so editing one changes the dates of every later run that uses it. Microsoft Learn
Technical architect

6Technical

Menu itemLedgerPeriodCode Checked in Dynamics 365
FormLedgerPeriodCode Checked in Dynamics 365
TableLedgerPeriodCodeShown as “Date intervals” in Record infoChecked in Dynamics 365
Data entitiesLedgerDateIntervalEntityDate intervals Microsoft data model
Who can open it

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

  • RoleBudget managerBudgetBudgetManager
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleChief financial officerCompanyChiefFinancialOfficer
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccountantLedgerAccountant
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccounting managerLedgerAccountingManager
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleFinancial controllerLedgerFinancialController
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleRental managerRentalManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
  • RoleRental sales managerRentalSalesManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounting supervisor LedgerAccountingSupervisorAccounting manager LedgerAccountingManagerRental manager RentalManagerRental sales manager RentalSalesManagerRental purchasing manager RentalPurchasingManagerTo use itAccountant LedgerAccountantFinancial controller LedgerFinancialControllerChief financial officer CompanyChiefFinancialOfficerBudget manager BudgetBudgetManagerGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=LedgerPeriodCode
Integrate withLedgerDateIntervalEntity data entity Microsoft data model
Data migrationLedgerDateIntervalEntity (Date intervals): loaded for each company, in Microsoft's default template 025 - General ledger.Load order: Microsoft's default template 025 - General ledger loads Date intervals at execution unit 1, level 25, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to Workflow)Microsoft Learn
Table definitionLedgerPeriodCode columns and relations Microsoft data model
Everyone

8Sources