Table

RetailStoreTable

Stores

Holds the setup for each retail store. It covers tax groups, language, receipt and label options, rounding and difference limits, statement and closing settings, and the database connection details. Each store links to records such as a warehouse, a functionality profile, an offline profile, a screen layout and an optional call centre channel.

Table name
RetailStoreTable
Module
Commerce stores
Table group
Main
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
RetailChannelTable

Fields (65)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
bankDropCalculationSets whether the bank drop uses the sum or the last value.Enum
RetailBankDropCalculation
RetailBankDropCalculationBase (enum)
NoRetailStoreEntityRetailStoreTableBiEntity
closingMethodSets how the store closes: by date and time, or by shift.Enum
RetailClosingMethod
RetailClosingMethodType (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
createLabelsForZeroPriceYes/no option for whether labels are created for products with a zero price.Enum
RetailCreateLabelsForZeroPrice
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
cultureNameLanguage of the store, pointing to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
DatabaseNameName of the database that the store connects to.String (50)
RetailDatabaseName
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
EFTStoreNumberStore number used for electronic funds transfer (EFT).String
RetailEFTStoreNumber
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
functionalityProfilePoint-of-sale functionality profile assigned to the store.String
RetailFunctionalityProfileId
NoRetailFunctionalityProfile.profileIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
generatesItemLabelsYes/no option for whether the store prints product labels.Enum
RetailGeneratesItemLabels
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
generatesShelfLabelsYes/no option for whether the store prints shelf labels.Enum
RetailGeneratesShelfLabels
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
hideTrainingModeYes/no option to hide the training mode.Enum
RetailHideTrainingMode
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
InventLocationIdForCustomerOrderWarehouse used for shipping customer orders from this store.String
InventLocationId
NoInventLocation.InventLocationIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
inventoryLookupYes/no option for inventory lookup at the store.low confidenceEnum
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
IsCallCenterYes/no flag showing whether the store is a call centre. The label is empty, so this is inferred from the name.low confidenceEnum
NoYes (enum)
NoRetailStoreTableBiEntity
IsSpokeChannelYes/no flag showing whether the channel was created for a workload running on a spoke.Enum
NoYesId
NoYes (enum)
NoNone
itemIdOnReceiptChooses what identifies a product on the receipt: nothing, the product number, or the barcode or product number.Enum
RetailItemIdOnReceipt
RetailItemIdOnReceiptBase (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
layoutIdScreen layout used by the store.String
RetailLayoutId
NoRetailTillLayout.layoutIdRetailStoreEntityRetailStoreTableBiEntity
LinkedCallCenterPoints to the call centre channel linked to the store.Int64
RefRecId
NoRetailMCRChannelTable.RecIdRetailStoreTableBiEntity
maximumPostingDifferenceLargest difference amount allowed for posting. The label is only "Posting", so the exact use is inferred.low confidenceReal
RetailMaxDifferenceAmount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
maximumTextLengthOnReceiptMaximum number of characters for text printed on a receipt.Integer
RetailMaximumTextLengthOnReceipt
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
maxRoundingAmountLargest amount that may be used for rounding.Real
RetailMaxRoundingAmount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
maxRoundingTaxAmountTax difference limit above which the store is informed. The exact use is inferred from the label.low confidenceReal
RetailMaxRoundingTaxAmount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
maxShiftDifferenceAmountLargest difference amount allowed at shift level.Real
RetailMaxDifferenceAmount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
maxTransactionDifferenceAmountLargest difference amount allowed for a single transaction.Real
RetailMaxDifferenceAmount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
numberOfTopOrBottomLinesNumber of lines at the top or bottom, as set for the store.low confidenceInteger
RetailNumberOfTopOrBottomLines
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
OfflineProfilePoints to the offline profile assigned to the store.Int64
RefRecId
NoRetailOfflineProfile.RecIdRetailStoreTableBiEntityRetailChannelEntity
oneStatementPerDayYes/no option to create only one statement per day.Enum
RetailOneStatementPerDay
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
openFromTime of day when the store opens.Time
RetailFromTime
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
openToTime of day when the store closes.Time
RetailToTime
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
PackedExtensionsContainer that stores extension data for the record in packed form.Container
SysExtensionSerializerPackedContainer
NoRetailStoreTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PasswordPassword for the database connection of the store.String (50)
RetailDBPassword
NoRetailStoreTableBiEntity
phoneTelephone number of the store.String (20)
Phone
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
poItemFilterYes/no option for a product filter on purchase orders.Enum
RetailPOItemFilter
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailStoreTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoRetailStoreTableBiEntity
removeAddTenderPayment method linked to removing or adding a payment method.low confidenceString
RetailTenderTypeId
NoRetailTenderTypeTable.tenderTypeIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
replicationCounterCounter used to track replication for the store.Integer
RetailReplicationCounter
NoRetailStoreTableBiEntity
RetailReqPlanIdSchedMaster plan assigned to the store.String
RetailReqPlanIdSched
NoReqPlanSched.ReqPlanIdSchedRetailStoreTableBiEntityRetailChannelEntity
ReturnTaxGroup_WSales tax group applied to returns at the store.String
TaxGroup
NoTaxGroupHeading.TaxGroupRetailStoreTableBiEntityRetailChannelEntity
RoundingAccountLedgerDimensionLedger account, as a dimension combination, used for rounding amounts.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
roundingTaxAccountAccount for tax differences.String (20)
RetailRoundingTaxAccount
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
secondaryLanguagesText value listing additional languages for the store. The format is not given.low confidenceString (255)NoNone
separateStmtPerStaffTerminalYes/no option to split statements by the statement method.Enum
RetailseparateStmtPerStaffTerminal
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
serviceChargePctService charge as a percentage.Real
RetailServiceChargePct
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
serviceChargePromptText shown as the prompt for the service charge.String (30)
RetailServiceChargePrompt
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
SQLServerNameName of the database server that the store connects to.String (80)
ServerName
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
startAmountCalculationSets whether the start amount uses the sum or the last value.Enum
RetailStartAmountCalculation
RetailStartAmountCalculationBase (enum)
NoRetailStoreEntityRetailStoreTableBiEntity
statementMethodSets how statements are grouped: by operator ID, POS terminal, total or shift.Enum
RetailStatementMethod
RetailStaffTerminalTotal (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
stmtCalcBatchEndTimeTime of day that marks the end of the business day.Time
TimeOfDay
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
stmtPostAsBusinessDayYes/no option to post statements as a business day.Enum
RetailPostAsBusinessDay
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
StoreNumberStore number that identifies the store.String
RetailStoreId
YesRetailStoreEntityDimAttributeRetailStoreEntityRetailStoreTableBiEntityand 13 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
taxGroupSales tax group used for the store, taken from the sales tax group list.String
TaxGroup
YesTaxGroupHeading.TaxGroupRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
TaxGroupDataAreaIdCompany (legal entity) used together with the tax group and master plan references.low confidenceString
DataAreaId
NoReqPlanSched.dataAreaIdTaxGroupHeading.dataAreaIdTaxGroupHeading.dataAreaIdRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
TaxIdentificationNumberTax identification number (TIN) of the store.String (25)
RetailTaxIdNumber
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
TaxOverrideGroupPoints to the sales tax override group for the store.Int64
RefRecId
NoRetailSalesTaxOverrideGroup.RecIdRetailStoreTableBiEntityRetailChannelEntity
tenderDeclarationCalculationSets whether tender declaration uses the last value or the sum.Enum
RetailTenderDeclarationCalculation
RetailTenderDeclarationCalculationBase (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
UseCustomerBasedTaxYes/no option to use taxes based on the customer.Enum
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
UseCustomerBasedTaxExemptionYes/no option to calculate customer tax exemption, which works with store-based or destination-based taxes.Enum
RetailStoreTableUseCustomerBasedTaxExemption
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
UseDefaultCustAccountYes/no option to add a customer automatically at the point of sale.Enum
NoYesId
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
UseDestinationBasedTaxYes/no option to use taxes based on the destination.Enum
NoYes (enum)
NoRetailStoreEntityRetailStoreTableBiEntityRetailChannelEntity
UserNameUser name for the database connection of the store.String (50)
RetailDBUserName
NoRetailStoreTableBiEntityRetailChannelEntity
WorkloadInstanceIdIdentifier of a workload instance, stored as text up to 36 characters.low confidenceString (36)NoNone

Indexes (3)

Relations (13)

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

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on RoundingAccountLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RetailStoreTable records → zero or one DimensionAttributeValueCombination record

  • InventLocationForCustomerOrder → InventLocation

    Join on InventLocationIdForCustomerOrder = InventLocation.InventLocationId

    Many RetailStoreTable records → zero or one InventLocation record

  • LanguageTable → LanguageTable

    Join on LanguageTable.LabelFile = 1, cultureName = LanguageTable.LanguageId

    Many RetailStoreTable records → zero or one LanguageTable record

  • OfflineProfile → RetailOfflineProfile

    Join on OfflineProfile = RetailOfflineProfile.RecId

    Many RetailStoreTable records → zero or one RetailOfflineProfile record

  • ReqPlanSched → ReqPlanSched

    Join on TaxGroupDataAreaId = ReqPlanSched.dataAreaId, RetailReqPlanIdSched = ReqPlanSched.ReqPlanIdSched

    Many RetailStoreTable records → zero or one ReqPlanSched record

  • RetailChannel_FK → RetailChannelTable

    Join on RecId = RetailChannelTable.RecId

    Zero or one RetailStoreTable record → exactly one RetailChannelTable record

  • RetailFunctionalityProfile → RetailFunctionalityProfile

    Join on functionalityProfile = RetailFunctionalityProfile.profileId

    Many RetailStoreTable records → zero or one RetailFunctionalityProfile record

  • RetailSalesTaxOverrideGroup → RetailSalesTaxOverrideGroup

    Join on TaxOverrideGroup = RetailSalesTaxOverrideGroup.RecId

    Many RetailStoreTable records → zero or one RetailSalesTaxOverrideGroup record

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on removeAddTender = RetailTenderTypeTable.tenderTypeId

    Many RetailStoreTable records → zero or one RetailTenderTypeTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupDataAreaId = TaxGroupHeading.dataAreaId, taxGroup = TaxGroupHeading.TaxGroup

    Many RetailStoreTable records → zero or one TaxGroupHeading record

  • TaxGroupHeading_ReturnTaxGroup_W → TaxGroupHeading

    Join on TaxGroupDataAreaId = TaxGroupHeading.dataAreaId, ReturnTaxGroup_W = TaxGroupHeading.TaxGroup

    Many RetailStoreTable records → zero or one TaxGroupHeading record

  • CallCenter → RetailMCRChannelTable

    Join on LinkedCallCenter = RetailMCRChannelTable.RecId

    Zero or one RetailStoreTable record → exactly one RetailMCRChannelTable record

  • RetailTillLayout → RetailTillLayout

    Join on layoutId = RetailTillLayout.layoutId

    Zero or one RetailStoreTable record → zero or one RetailTillLayout record

Get this data out

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

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

Email sales@drdynamics.co.uk