Table
LedgerPeriodCode
Date intervals
Holds date interval codes. Each code defines a start date and an end date, built from a period type, a start or end position, an offset, and an optional second adjustment. A fixed date can be set instead. Other tables, such as the Russian report queries and cells, refer to these codes.
- Table name
LedgerPeriodCode- Module
General ledger- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
CodeIdx- Replacement key
None- Key fields
Code- Model
GeneralLedger
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodeUnique code of the date interval. | StringDateCode | Yes | LedgerDateIntervalEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndChangeNumber of units added to or taken from the end date. | IntegerPeriods | No | LedgerDateIntervalEntity | |
EndFixedDateFixed end date, used instead of a calculated one. | DateTransDate | No | LedgerDateIntervalEntity | |
EndFunction1Whether the end date is set to the start or end of its period, or neither. | EnumStartEnd (enum) | No | LedgerDateIntervalEntity | |
EndFunction2Whether the second end-date adjustment moves to the start or end of its period, or neither. | EnumStartEnd (enum) | No | LedgerDateIntervalEntity | |
EndPeriod1Period type used for the end date, such as month, quarter or fiscal year. | EnumLedgerPeriodType (enum) | No | LedgerDateIntervalEntity | |
EndPeriod2Period type used for the second end-date adjustment. | EnumLedgerPeriodType (enum) | No | LedgerDateIntervalEntity | |
EndUnitUnit of the end-date adjustment: days, months, years or periods. | EnumPeriodUnitCalc (enum) | No | LedgerDateIntervalEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StartChangeNumber of units added to or taken from the start date. | IntegerPeriods | No | LedgerDateIntervalEntity | |
StartFixedDateFixed start date, used instead of a calculated one. | DateTransDate | No | LedgerDateIntervalEntity | |
StartFunction1Whether the start date is set to the start or end of its period, or neither. | EnumStartEnd (enum) | No | LedgerDateIntervalEntity | |
StartFunction2Whether the second start-date adjustment moves to the start or end of its period, or neither. | EnumStartEnd (enum) | No | LedgerDateIntervalEntity | |
StartPeriod1Period type used for the start date, such as month, quarter or fiscal year. | EnumLedgerPeriodType (enum) | No | LedgerDateIntervalEntity | |
StartPeriod2Period type used for the second start-date adjustment. | EnumLedgerPeriodType (enum) | No | LedgerDateIntervalEntity | |
StartUnitUnit of the start-date adjustment: days, months, years or periods. | EnumPeriodUnitCalc (enum) | No | LedgerDateIntervalEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TxtShort text describing the date interval. | String (60)Description | No | LedgerDateIntervalEntity |
Indexes (1)
CodeIdxPrimary indexUnique.
Get this data out
Tables are not exposed directly. These public entities read from LedgerPeriodCode; use one of them in Power BI, Power Platform or a data management project.
LedgerDateIntervalEntity· 16 fields from this table
Need help with LedgerPeriodCode in a report, an integration or a migration? Talk to Dr Dynamics.