Table

RetailDiscountValidationPeriod

Discount validation period

Defines a validation period for retail discounts, identified by a period number. It sets a start and end date and optional start and end times, with separate times for each day of the week.

Table name
RetailDiscountValidationPeriod
Module
Commerce merchandising
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
periodIdx
Replacement key
None
Key fields
periodId
Model
Foundation

Fields (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
periodIdNumber that identifies the discount validation period.String
RetailDiscountValidationPeriodId
YesRetailDiscountValidationPeriodEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
endingTimeGeneral end time of the period.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
endingTimeAfterMidnightYes/No flag showing that the general end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
fridayEndingTimeEnd time on Friday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
fridayEndingTimeAfterMidnightYes/No flag showing that the Friday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
fridayStartingTimeStart time on Friday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
fridayTimeWithinBoundsYes/No flag that restricts Friday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
mondayEndingTimeEnd time on Monday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
mondayEndingTimeAfterMidnightYes/No flag showing that the Monday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
mondayStartingTimeStart time on Monday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
mondayTimeWithinBoundsYes/No flag that restricts Monday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
nameShort description of the validation period.String (60)
Description
NoRetailDiscountValidationPeriodEntity
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
saturdayEndingTimeEnd time on Saturday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
saturdayEndingTimeAfterMidnightYes/No flag showing that the Saturday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
saturdayStartingTimeStart time on Saturday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
saturdayTimeWithinBoundsYes/No flag that restricts Saturday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
startingTimeGeneral start time of the period.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
sundayEndingTimeEnd time on Sunday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
sundayEndingTimeAfterMidnightYes/No flag showing that the Sunday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
sundayStartingTimeStart time on Sunday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
sundayTimeWithinBoundsYes/No flag that restricts Sunday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
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
thuesdayEndingTimeEnd time on Tuesday. The field name is spelt "thuesday".Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
thuesdayEndingTimeAfterMidnightYes/No flag showing that the Tuesday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
thuesdayStartingTimeStart time on Tuesday. The field name is spelt "thuesday".Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
thuesdayTimeWithinBoundsYes/No flag that restricts Tuesday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
thursdayEndingTimeEnd time on Thursday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
thursdayEndingTimeAfterMidnightYes/No flag showing that the Thursday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
thursdayStartingTimeStart time on Thursday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
thursdayTimeWithinBoundsYes/No flag that restricts Thursday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
timeWithinBoundsYes/No flag that restricts the period to the general start and end times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
validFromFirst date of the validation period.Date
RetailStartingDate
NoRetailDiscountValidationPeriodEntity
validToLast date of the validation period.Date
RetailEndingDate
NoRetailDiscountValidationPeriodEntity
wednesdayEndingTimeEnd time on Wednesday.Time
RetailEndingTime
NoRetailDiscountValidationPeriodEntity
wednesdayEndingTimeAfterMidnightYes/No flag showing that the Wednesday end time falls on or after midnight.Enum
RetailEndingTimeAfterMidnight
NoYes (enum)
NoRetailDiscountValidationPeriodEntity
wednesdayStartingTimeStart time on Wednesday.Time
RetailStartingTime
NoRetailDiscountValidationPeriodEntity
wednesdayTimeWithinBoundsYes/No flag that restricts Wednesday to the given times.Enum
RetailTimeWithinBounds
NoYes (enum)
NoRetailDiscountValidationPeriodEntity

Indexes (1)

  • periodIdxPrimary index

    periodId

    Unique, alternate key.

Get this data out

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

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

Email sales@drdynamics.co.uk