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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CodeUnique code of the date interval.String
DateCode
YesLedgerDateIntervalEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndChangeNumber of units added to or taken from the end date.Integer
Periods
NoLedgerDateIntervalEntity
EndFixedDateFixed end date, used instead of a calculated one.Date
TransDate
NoLedgerDateIntervalEntity
EndFunction1Whether the end date is set to the start or end of its period, or neither.Enum
StartEnd (enum)
NoLedgerDateIntervalEntity
EndFunction2Whether the second end-date adjustment moves to the start or end of its period, or neither.Enum
StartEnd (enum)
NoLedgerDateIntervalEntity
EndPeriod1Period type used for the end date, such as month, quarter or fiscal year.Enum
LedgerPeriodType (enum)
NoLedgerDateIntervalEntity
EndPeriod2Period type used for the second end-date adjustment.Enum
LedgerPeriodType (enum)
NoLedgerDateIntervalEntity
EndUnitUnit of the end-date adjustment: days, months, years or periods.Enum
PeriodUnitCalc (enum)
NoLedgerDateIntervalEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StartChangeNumber of units added to or taken from the start date.Integer
Periods
NoLedgerDateIntervalEntity
StartFixedDateFixed start date, used instead of a calculated one.Date
TransDate
NoLedgerDateIntervalEntity
StartFunction1Whether the start date is set to the start or end of its period, or neither.Enum
StartEnd (enum)
NoLedgerDateIntervalEntity
StartFunction2Whether the second start-date adjustment moves to the start or end of its period, or neither.Enum
StartEnd (enum)
NoLedgerDateIntervalEntity
StartPeriod1Period type used for the start date, such as month, quarter or fiscal year.Enum
LedgerPeriodType (enum)
NoLedgerDateIntervalEntity
StartPeriod2Period type used for the second start-date adjustment.Enum
LedgerPeriodType (enum)
NoLedgerDateIntervalEntity
StartUnitUnit of the start-date adjustment: days, months, years or periods.Enum
PeriodUnitCalc (enum)
NoLedgerDateIntervalEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TxtShort text describing the date interval.String (60)
Description
NoLedgerDateIntervalEntity

Indexes (1)

  • CodeIdxPrimary index

    Code

    Unique.

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.

Need help with LedgerPeriodCode in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk