Table

RetailPeriodCode

Retail date interval

Defines a retail date interval by a code. Both the start and the end are set by rules. A rule can use a fixed date, or a period type with a start/end choice and an offset. The key is the date interval code.

Table name
RetailPeriodCode
Module
Commerce merchandising
Table group
Group
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
CodeIdx
Replacement key
None
Key fields
Code
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CodeCode that identifies the date interval.String
DateCode
YesRetailPeriodCodeEntity
EndChangeNumber of units to add to or take away from the end date.Integer
Periods
NoRetailPeriodCodeEntity
EndFixedDateFixed date at which the interval ends.Date
TransDate
NoRetailPeriodCodeEntity
EndFunction1Choice of start, end or none for the first end rule.Enum
StartEnd (enum)
NoRetailPeriodCodeEntity
EndFunction2Choice of start, end or none for the second end rule.Enum
StartEnd (enum)
NoRetailPeriodCodeEntity
EndPeriod1Period type used before the end date, such as year, quarter, month or week.Enum
LedgerPeriodType (enum)
NoRetailPeriodCodeEntity
EndPeriod2Period type used after the end date, such as year, quarter, month or week.Enum
LedgerPeriodType (enum)
NoRetailPeriodCodeEntity
EndUnitUnit for the end offset: days, months, years or periods.Enum
PeriodUnitCalc (enum)
NoRetailPeriodCodeEntity
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 to add to or take away from the start date.Integer
Periods
NoRetailPeriodCodeEntity
StartFixedDateFixed date at which the interval starts.Date
TransDate
NoRetailPeriodCodeEntity
StartFunction1Choice of start, end or none for the first start rule.Enum
StartEnd (enum)
NoRetailPeriodCodeEntity
StartFunction2Choice of start, end or none for the second start rule.Enum
StartEnd (enum)
NoRetailPeriodCodeEntity
StartPeriod1Period type used before the start date, such as year, quarter, month or week.Enum
LedgerPeriodType (enum)
NoRetailPeriodCodeEntity
StartPeriod2Period type used after the start date, such as year, quarter, month or week.Enum
LedgerPeriodType (enum)
NoRetailPeriodCodeEntity
StartUnitUnit for the start offset: days, months, years or periods.Enum
PeriodUnitCalc (enum)
NoRetailPeriodCodeEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TxtShort description of the date interval.String (60)
Description
NoRetailPeriodCodeEntity

Indexes (1)

  • CodeIdxPrimary index

    Code

    Unique, alternate key.

Get this data out

Tables are not exposed directly. These public entities read from RetailPeriodCode; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk