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 is
Codes that define dynamic date ranges for financial statements, reports, and allocation rules.
What you do here
Use this page to set up predefined periods, so that reports can be run without entering From and To dates each time.
Example
BEAT 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.
The page in Dynamics 365. page title tab to open what to set or check
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.
Screen 1
Create the date interval
Go to General ledger > Ledger setup > Date intervals
Select New and enter the date interval code and description
On the General FastTab, set the interval start and end
Check the calculated from and to dates, then select Save
1Date interval code
BEAT-CM
2From date
10/1/2026
3To date
10/31/2026
Description
Current month
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to General ledger > Ledger setup > Date intervals.
Select New.
In the Date interval code field, enter a code, such as January.
In the Description field, enter a description.
Under Interval Start, set the From date period type, From date Start/End and From date adjustment unit.
Under Interval End, set the To date period type, To date Start/End, To date +/- and To date adjustment unit.
The first date of the range the code gives, worked out from the Interval Start settings when the code is used.Microsoft Learn
11/1/2026
StartChange
To date
The last date of the range the code gives, worked out from the Interval End settings when the code is used.Microsoft Learn
11/30/2026
EndChange
Common errors and fixes
Message
What to do
A report run with a date interval shows the wrong month
The 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
Create a date interval code for the current period.
Run the Trial balance and select the code in Date interval.
Check From and To dates fill in with the current period.
Select the code on a ledger allocation rule and check the rule picks up the same range.
Codes 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.
In 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.
Reversible: 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 later
A 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 item
LedgerPeriodCodeChecked in Dynamics 365
Form
LedgerPeriodCodeChecked in Dynamics 365
Table
LedgerPeriodCodeShown as “Date intervals” in Record infoChecked in Dynamics 365
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 it
To 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
LedgerDateIntervalEntity (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
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.