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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodeCode that identifies the date interval. | StringDateCode | Yes | RetailPeriodCodeEntity | |
EndChangeNumber of units to add to or take away from the end date. | IntegerPeriods | No | RetailPeriodCodeEntity | |
EndFixedDateFixed date at which the interval ends. | DateTransDate | No | RetailPeriodCodeEntity | |
EndFunction1Choice of start, end or none for the first end rule. | EnumStartEnd (enum) | No | RetailPeriodCodeEntity | |
EndFunction2Choice of start, end or none for the second end rule. | EnumStartEnd (enum) | No | RetailPeriodCodeEntity | |
EndPeriod1Period type used before the end date, such as year, quarter, month or week. | EnumLedgerPeriodType (enum) | No | RetailPeriodCodeEntity | |
EndPeriod2Period type used after the end date, such as year, quarter, month or week. | EnumLedgerPeriodType (enum) | No | RetailPeriodCodeEntity | |
EndUnitUnit for the end offset: days, months, years or periods. | EnumPeriodUnitCalc (enum) | No | RetailPeriodCodeEntity | |
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 to add to or take away from the start date. | IntegerPeriods | No | RetailPeriodCodeEntity | |
StartFixedDateFixed date at which the interval starts. | DateTransDate | No | RetailPeriodCodeEntity | |
StartFunction1Choice of start, end or none for the first start rule. | EnumStartEnd (enum) | No | RetailPeriodCodeEntity | |
StartFunction2Choice of start, end or none for the second start rule. | EnumStartEnd (enum) | No | RetailPeriodCodeEntity | |
StartPeriod1Period type used before the start date, such as year, quarter, month or week. | EnumLedgerPeriodType (enum) | No | RetailPeriodCodeEntity | |
StartPeriod2Period type used after the start date, such as year, quarter, month or week. | EnumLedgerPeriodType (enum) | No | RetailPeriodCodeEntity | |
StartUnitUnit for the start offset: days, months, years or periods. | EnumPeriodUnitCalc (enum) | No | RetailPeriodCodeEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TxtShort description of the date interval. | String (60)Description | No | RetailPeriodCodeEntity |
Indexes (1)
CodeIdxPrimary indexUnique, 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.
RetailPeriodCodeEntity· 16 fields from this table
Need help with RetailPeriodCode in a report, an integration or a migration? Talk to Dr Dynamics.