Table
RetailCompetitorPriceTable
Competitor prices
Holds prices of items at competitors. Each record is for one competitor, one item and one price date. It links to the item, the competitor group and optionally a bar code.
- Table name
RetailCompetitorPriceTable- Module
Commerce merchandising- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
itemCompetitorDateIdx- Replacement key
itemCompetitorDateIdx- Key fields
CompetitorGroupId, itemId, priceDate- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CompetitorGroupIdPoints to the competitor record in smmQuotationCompetitorGroup. | Int64RefRecId | No | smmQuotationCompetitorGroup.RecId | None |
itemIdItem number the competitor price is for. | String (20)ItemId | Yes | InventTable.ItemId | None |
priceDateDate the price applies to. | DatePriceDate | Yes | None | |
barcodeBar code of the item, related to the item bar code table. | String (80)ItemBarCode | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
lastCheckedDateDate when the price was last checked. | DateRetailLastCheckedDate | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
pricePrice found at the competitor. The currency is not stated in the metadata. | RealPrice | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
itemCompetitorDateIdxPrimary indexReplacement keyCompetitorGroupId,itemId,priceDateUnique, alternate key.
Relations (3)
Each relation joins RetailCompetitorPriceTable to another table on the fields shown.
InventItemBarcode→InventItemBarcodeJoin on
barcode = InventItemBarcode.itemBarCodeMany RetailCompetitorPriceTable records → zero or one InventItemBarcode record
InventTable→InventTableJoin on
itemId = InventTable.ItemIdMany RetailCompetitorPriceTable records → exactly one InventTable record
smmQuotationCompetitorGroup→smmQuotationCompetitorGroupJoin on
CompetitorGroupId = smmQuotationCompetitorGroup.RecIdMany RetailCompetitorPriceTable records → zero or one smmQuotationCompetitorGroup record
Get this data out
No public entity reads from RetailCompetitorPriceTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailCompetitorPriceTable in a report, an integration or a migration? Talk to Dr Dynamics.