Table
RetailPeriodicDiscountCategoryLookup
Lookup table for RetailPeriodicDiscount by category
Flat lookup table that lists periodic discount lines by product category. Each row combines a category with the discount offer, its validity dates, currency and the line settings. Settings cover mix and match, simple and threshold discounts. It has no defined key.
- Table name
RetailPeriodicDiscountCategoryLookup- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CategorySystem record ID of the product category the discount line applies to. | Int64EcoResCategoryId | No | None | |
CurrencyCodeCurrency code for the discount. | String (3)CurrencyCode | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountPercentOrValuePercentage off for the discount line. | RealRetailDiscountPercentValue | No | None | |
IsDiscountApplyingLineYes or no flag showing whether this line is one that the discount is applied to. | EnumRetailIsDiscountApplyingLineNoYes (enum) | No | None | |
LineNumNumber of the line within the discount offer. | RealLineNum | No | None | |
LineTypeShows whether the line includes or excludes the category or product. | EnumRetailDiscountLineTypeRetailDiscountLineIncludeExcludeTypeBase (enum) | No | None | |
MixAndMatchDiscountTypeHow a mix and match discount is expressed: deal price, percentage off or amount off. | EnumRetailDealPriceDiscountPctRetailDealPriceDiscountPctBase (enum) | No | None | |
MixAndMatchLineGroupName of the line group used by mix and match discounts. | StringRetailMixAndMatchLineGroup | No | None | |
MixAndMatchNumberOfItemsNeededNumber of products needed for a mix and match discount line. | IntegerRetailNumberOfItemsNeeded | No | None | |
OfferIdIdentifier of the discount offer. | String (20)RetailOfferIdEx3 | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodicDiscountTypeKind of discount offer, such as quantity, mix and match, simple or threshold discount. | EnumRetailDiscountOfferTypeBase (enum) | 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 | |
RetailPeriodicDiscountLineRecordIdSystem record ID of the periodic discount line this row comes from. | Int64RecId | No | None | |
SimpleDiscountAmountCash amount taken off by a simple discount. | RealDiscAmount | No | None | |
SimpleDiscountMethodHow a simple discount is expressed: percentage off, amount off or unit price. | EnumRetailDiscountOfferLineDiscountMethodRetailDiscountOfferLineDiscMethodBase (enum) | No | None | |
SimpleDiscountOfferPriceUnit price offered by a simple discount. | RealRetailOfferPrice | No | None | |
SimpleDiscountPctPercentage taken off by a simple discount. | RealDiscPct | No | None | |
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 | |
ThresholdLineDiscountMethodHow a threshold discount line is expressed: percentage off, amount off or unit price. | EnumRetailDiscountThresholdLineDiscountMethodRetailDiscountThresholdLineDiscountMethodBase (enum) | No | None | |
ThresholdQuantityLimitQuantity limit for a threshold discount line. | RealRetailDiscountThresholdLineQuantityLimit | No | None | |
ThresholdTierTier number for a threshold discount. The meaning is not stated in the metadata.low confidence | Int64 | No | None | |
UnitOfMeasureSystem record ID of the unit of measure for the line. | Int64UnitOfMeasureRecId | No | None | |
ValidFromFirst date on which the discount is valid. | DateValidFromDate | No | None | |
ValidToLast date on which the discount is valid. | DateValidToDate | No | None |
Indexes (3)
RetailPeriodicDiscountCategoryLookup_Category_CurrencyCodeNot unique.
RetailPeriodicDiscountCategoryLookup_Category_PeriodicDiscountTypeCategory,PeriodicDiscountTypeNot unique.
RetailPeriodicDiscountCategoryLookup_OfferIdNot unique.
Get this data out
No public entity reads from RetailPeriodicDiscountCategoryLookup. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPeriodicDiscountCategoryLookup in a report, an integration or a migration? Talk to Dr Dynamics.