Table

RetailInventTable

Item table

Holds retail settings for each item, with one row per item number. It covers register blocking, discount restrictions, key-in rules, bar code setup, season, validity dates and label attributes. It links to the item, units, seasons and attributes.

Table name
RetailInventTable
Module
Commerce merchandising
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
itemIdx
Replacement key
itemIdx
Key fields
itemId
Model
Foundation

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
itemIdItem number that these retail settings belong to.String (20)
ItemId
YesInventTable.ItemIdNone
BarcodeSetupIdBar code setup used for the item.String
BarcodeSetupId
NoBarcodeSetup.barcodeSetupIdEcoResReleasedProductV2EntityEcoResReleasedDistinctProductV2EntityEcoResReleasedProductMasterV2Entityand 2 more
baseComparisonUnitCodeUnit symbol used as the base for comparing the item with others.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
blockedOnPOSYes/No flag that blocks the item at the register.Enum
RetailBlocked
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
blockedOnSelfCheckoutYes/No flag that blocks the item at self-checkout.Enum
RetailBlocked
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 1 more
BlockItemReturnYes/No flag that stops the item from being returned.Enum
RetailBlockItemReturn
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 1 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
dateBlockedDate on which the item was blocked.Date
RetailDateBlocked
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
dateToActivateItemDate from which the item is issued and can be used.Date
RetailDateToActivateItem
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
dateToBeBlockedPlanned date on which the item will be blocked.Date
RetailDateToBeBlocked
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
keyingInPriceRule for entering a price at the register. Values range from not mandatory to must key in a new, higher, lower or no price.Enum
RetailKeyingInPrice
RetailPriceKeyingRequirement (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
keyingInQtyRule for entering a quantity at the register. The values are Not mandatory, Must key in quantity and Must not key in quantity.Enum
RetailKeyingInQty
RetailQtyKeyingRequirement (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
LabelAttribute1First attribute used on labels, stored as an attribute record ID.Int64
RefRecId
NoEcoResAttribute.RecIdNone
LabelAttribute2Second attribute used on labels, stored as an attribute record ID.Int64
RefRecId
NoEcoResAttribute.RecIdNone
LabelAttribute3Third attribute used on labels, stored as an attribute record ID.Int64
RefRecId
NoEcoResAttribute.RecIdNone
LabelAttribute4Fourth attribute used on labels, stored as an attribute record ID.Int64
RefRecId
NoEcoResAttribute.RecIdNone
LabelAttribute5Fifth attribute used on labels, stored as an attribute record ID.Int64
RefRecId
NoEcoResAttribute.RecIdNone
lifeFromStart date of the period in which the item is valid.Date
RetailLifeFrom
NoEcoResReleasedProductV2EntityEcoResReleasedDistinctProductV2EntityEcoResReleasedProductMasterV2Entityand 2 more
lifeToEnd date of the period in which the item is valid.Date
RetailLifeTo
NoEcoResReleasedProductV2EntityEcoResReleasedDistinctProductV2EntityEcoResReleasedProductMasterV2Entityand 2 more
mustKeyInCommentYes/No flag requiring the user to enter a comment for the item.Enum
RetailMustKeyInComment
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
noDiscountAllowedYes/No flag that prevents every kind of discount on the item.Enum
RetailNoDiscountAllowed
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
noManualDiscountAllowedYes/No flag that prevents manual discounts on the item.Enum
RetailNoManualDiscountAllowed
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntity
noPeriodicDiscountAllowedYes/No flag that prevents retail (periodic) discounts on the item.Enum
RetailNoRetailDiscountAllowed
NoYes (enum)
NoEcoResReleasedProductV2Entity
noTenderDiscountsAllowedYes/No flag that prevents discounts based on tender type for the item.Enum
RetailNoTenderDiscountAllowed
NoYes (enum)
NoEcoResReleasedProductV2Entity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintVariantsShelfLabelsYes/No flag that prints shelf labels for item variants.Enum
RetailPrintVariantsShelfLabels
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
ProhibitReturn_RUYes/No flag that disallows returns of the item, used for Russia.Enum
RetailProhibitReturn_RU
NoYes (enum)
NoNone
qtyBecomesNegativeYes/No flag linked to the quantity becoming negative.low confidenceEnum
RetailQtyBecomesNegative
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
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
scaleItemYes/No flag showing whether the item is a scale product.Enum
RetailScaleItem
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more
seasonCodeSeason the item is assigned to.String
RetailSeasonCode
NoRetailSeasonTable.seasonCodeEcoResReleasedProductV2EntityEcoResReleasedDistinctProductV2EntityEcoResReleasedProductMasterV2Entityand 2 more
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
useEanStandardBarcodeYes/No flag to use the EAN standard bar code for the item.Enum
RetailUseEanStandardBarcode
NoYes (enum)
NoNone
zeroPriceValidYes/No flag allowing the item to be sold at a zero price.Enum
RetailZeroPriceValid
NoYes (enum)
NoEcoResReleasedProductV2EntityEcoResReleasedProductDVEntityEcoResReleasedDistinctProductV2Entityand 3 more

Indexes (1)

  • itemIdxPrimary indexReplacement key

    itemId

    Unique, alternate key.

Relations (9)

Each relation joins RetailInventTable to another table on the fields shown.

  • BarcodeSetup → BarcodeSetup

    Join on BarcodeSetupId = BarcodeSetup.barcodeSetupId

    Many RetailInventTable records → zero or one BarcodeSetup record

  • InventTable → InventTable

    Join on itemId = InventTable.ItemId

    Exactly one RetailInventTable record → exactly one InventTable record

  • RetailSeasonTable → RetailSeasonTable

    Join on seasonCode = RetailSeasonTable.seasonCode

    Many RetailInventTable records → zero or one RetailSeasonTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on baseComparisonUnitCode = UnitOfMeasure.Symbol

    Many RetailInventTable records → zero or one UnitOfMeasure record

  • LabelAttribute1 → EcoResAttribute

    Join on LabelAttribute1 = EcoResAttribute.RecId

    Many RetailInventTable records → zero or one EcoResAttribute record

  • LabelAttribute2 → EcoResAttribute

    Join on LabelAttribute2 = EcoResAttribute.RecId

    Many RetailInventTable records → zero or one EcoResAttribute record

  • LabelAttribute3 → EcoResAttribute

    Join on LabelAttribute3 = EcoResAttribute.RecId

    Many RetailInventTable records → zero or one EcoResAttribute record

  • LabelAttribute4 → EcoResAttribute

    Join on LabelAttribute4 = EcoResAttribute.RecId

    Many RetailInventTable records → zero or one EcoResAttribute record

  • LabelAttribute5 → EcoResAttribute

    Join on LabelAttribute5 = EcoResAttribute.RecId

    Many RetailInventTable records → zero or one EcoResAttribute record

Get this data out

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

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

Email sales@drdynamics.co.uk