Table

RetailPubRetailStoreTable

Published store

Holds the published copy of each retail store's settings. It covers POS behaviour, receipts, labels, statements, rounding, tax, and the connection details of the store database. Rows link to the store, channel, warehouse, language, tax group, screen layout, functionality profile and offline profile.

Table name
RetailPubRetailStoreTable
Module
Commerce merchandising
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
RetailPubRetailChannelTable

Fields (58)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
bankDropCalculationWhether bank drop is calculated as the sum or the last value.Enum
RetailBankDropCalculation
RetailBankDropCalculationBase (enum)
NoNone
closingMethodWhether the store closes by date and time or by shift.Enum
RetailClosingMethod
RetailClosingMethodType (enum)
NoNone
createLabelsForZeroPriceYes/No setting for creating labels for products whose price is zero.Enum
RetailCreateLabelsForZeroPrice
NoYes (enum)
NoNone
cultureNameLanguage of the store, pointing to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
DatabaseNameName of the database used by the store.String (50)
RetailDatabaseName
NoNone
functionalityProfilePOS functionality profile assigned to the store.String
RetailFunctionalityProfileId
NoRetailFunctionalityProfile.profileIdNone
generatesItemLabelsYes/No setting for whether the store prints product labels.Enum
RetailGeneratesItemLabels
NoYes (enum)
NoNone
generatesShelfLabelsYes/No setting for whether the store prints shelf labels.Enum
RetailGeneratesShelfLabels
NoYes (enum)
NoNone
hideTrainingModeYes/No setting to hide training mode at the POS.Enum
RetailHideTrainingMode
NoYes (enum)
NoNone
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.InventLocationIdNone
inventoryLookupYes/No setting for inventory lookup at the store.Enum
NoYes (enum)
NoNone
itemIdOnReceiptWhat identifies a product on the receipt: nothing, the product number, or the barcode or product number.Enum
RetailItemIdOnReceipt
RetailItemIdOnReceiptBase (enum)
NoNone
layoutIdScreen layout used by the POS in this store.String
RetailLayoutId
NoRetailTillLayout.layoutIdNone
maximumPostingDifferenceLargest posting difference allowed; the currency is not stated in the metadata.Real
RetailMaxDifferenceAmount
NoNone
maximumTextLengthOnReceiptMaximum number of characters of text printed on the receipt.Integer
RetailMaximumTextLengthOnReceipt
NoNone
maxRoundingAmountLargest rounding amount allowed; the currency is not stated in the metadata.Real
RetailMaxRoundingAmount
NoNone
maxRoundingTaxAmountTax difference threshold above which information is given; the currency is not stated in the metadata.Real
RetailMaxRoundingTaxAmount
NoNone
maxShiftDifferenceAmountLargest difference allowed for a shift; the currency is not stated in the metadata.Real
RetailMaxDifferenceAmount
NoNone
maxTransactionDifferenceAmountLargest difference allowed for a transaction; the currency is not stated in the metadata.Real
RetailMaxDifferenceAmount
NoNone
numberOfTopOrBottomLinesNumber of top or bottom lines used on the receipt.Integer
RetailNumberOfTopOrBottomLines
NoNone
OfflineProfileOffline profile used by the store, pointing to an offline profile record.Int64
RefRecId
NoRetailOfflineProfile.RecIdNone
oneStatementPerDayYes/No setting for creating only one statement per day.Enum
RetailOneStatementPerDay
NoYes (enum)
NoNone
openFromTime the store opens.Time
RetailFromTime
NoNone
openToTime the store closes.Time
RetailToTime
NoNone
PackedExtensionsContainer that stores extension data in packed form.Container
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PasswordPassword for the store database connection.String (50)
RetailDBPassword
NoNone
phoneTelephone number of the store.String (20)
Phone
NoNone
poItemFilterYes/No setting for the purchase order product filter.Enum
RetailPOItemFilter
NoYes (enum)
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
removeAddTenderPayment method used for removing or adding tender.String
RetailTenderTypeId
NoRetailTenderTypeTable.tenderTypeIdNone
replicationCounterCounter used for replication of the store record.Integer
RetailReplicationCounter
NoNone
RetailReqPlanIdSchedMaster plan assigned to the store.String
RetailReqPlanIdSched
NoReqPlanSched.ReqPlanIdSchedNone
RoundingAccountLedgerDimensionLedger account combination used for rounding differences.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
roundingTaxAccountAccount used for tax differences caused by rounding.String (20)
RetailRoundingTaxAccount
NoNone
separateStmtPerStaffTerminalYes/No setting to split statements by the statement method.Enum
RetailseparateStmtPerStaffTerminal
NoYes (enum)
NoNone
serviceChargePctService charge as a percentage.Real
RetailServiceChargePct
NoNone
serviceChargePromptText shown as the prompt for the service charge.String (30)
RetailServiceChargePrompt
NoNone
SQLServerNameName of the database server used by the store.String (80)
ServerName
NoNone
startAmountCalculationWhether the start amount is calculated as the sum or the last value.Enum
RetailStartAmountCalculation
RetailStartAmountCalculationBase (enum)
NoNone
statementMethodHow statements are grouped: by operator ID, POS terminal, total or shift.Enum
RetailStatementMethod
RetailStaffTerminalTotal (enum)
NoNone
stmtCalcBatchEndTimeEnd time for the transactions included in statement calculation.Time
TimeOfDay
NoNone
StoreNumberStore number that identifies the store.String
RetailStoreId
YesNone
StoreOriginIdSystem record ID of the store this published record comes from.Int64
RetailOriginId
NoRetailStoreTable.RecIdNone
StoreOriginRecVersionVersion number of the origin store record.Integer
RetailOriginRecVersion
NoNone
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 applied to the store.String
TaxGroup
YesTaxGroupHeading.TaxGroupNone
TaxGroupDataAreaIdCompany that owns the related master plan and sales tax group.String
DataAreaId
NoReqPlanSched.dataAreaIdTaxGroupHeading.dataAreaIdNone
TaxIdentificationNumberTax identification number (TIN) of the store.String (25)
RetailTaxIdNumber
NoNone
TaxOverrideGroupSales tax override group used by the store.Int64
RefRecId
NoRetailSalesTaxOverrideGroup.RecIdNone
tenderDeclarationCalculationWhether tender declaration uses the last value or the sum.Enum
RetailTenderDeclarationCalculation
RetailTenderDeclarationCalculationBase (enum)
NoNone
UseCustomerBasedTaxYes/No setting to use customer-based taxes.Enum
NoYes (enum)
NoNone
UseDefaultCustAccountYes/No setting to add a customer automatically at the POS.Enum
NoYesId
NoYes (enum)
NoNone
UseDestinationBasedTaxYes/No setting to use destination-based tax.Enum
NoYes (enum)
NoNone
UserNameUser name for the store database connection.String (50)
RetailDBUserName
NoNone

Relations (12)

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

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on RoundingAccountLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RetailPubRetailStoreTable records → zero or one DimensionAttributeValueCombination record

  • InventLocationForCustomerOrder → InventLocation

    Join on InventLocationIdForCustomerOrder = InventLocation.InventLocationId

    Many RetailPubRetailStoreTable records → zero or one InventLocation record

  • LanguageTable → LanguageTable

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

    Many RetailPubRetailStoreTable records → zero or one LanguageTable record

  • OfflineProfile → RetailOfflineProfile

    Join on OfflineProfile = RetailOfflineProfile.RecId

    Many RetailPubRetailStoreTable records → zero or one RetailOfflineProfile record

  • ReqPlanSched → ReqPlanSched

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

    Many RetailPubRetailStoreTable records → zero or one ReqPlanSched record

  • RetailFunctionalityProfile → RetailFunctionalityProfile

    Join on functionalityProfile = RetailFunctionalityProfile.profileId

    Many RetailPubRetailStoreTable records → zero or one RetailFunctionalityProfile record

  • RetailPubRetailChannelTable_Store → RetailPubRetailChannelTable

    Join on RecId = RetailPubRetailChannelTable.RecId

    Zero or one RetailPubRetailStoreTable record → exactly one RetailPubRetailChannelTable record

  • RetailSalesTaxOverrideGroup → RetailSalesTaxOverrideGroup

    Join on TaxOverrideGroup = RetailSalesTaxOverrideGroup.RecId

    Many RetailPubRetailStoreTable records → zero or one RetailSalesTaxOverrideGroup record

  • RetailStoreTable → RetailStoreTable

    Join on StoreOriginId = RetailStoreTable.RecId

    Zero or one RetailPubRetailStoreTable record → zero or one RetailStoreTable record

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on removeAddTender = RetailTenderTypeTable.tenderTypeId

    Many RetailPubRetailStoreTable records → zero or one RetailTenderTypeTable record

  • RetailTillLayout → RetailTillLayout

    Join on layoutId = RetailTillLayout.layoutId

    Many RetailPubRetailStoreTable records → zero or one RetailTillLayout record

  • TaxGroupHeading → TaxGroupHeading

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

    Many RetailPubRetailStoreTable records → zero or one TaxGroupHeading record

Get this data out

No public entity reads from RetailPubRetailStoreTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk