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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
bankDropCalculationWhether bank drop is calculated as the sum or the last value. | EnumRetailBankDropCalculationRetailBankDropCalculationBase (enum) | No | None | |
closingMethodWhether the store closes by date and time or by shift. | EnumRetailClosingMethodRetailClosingMethodType (enum) | No | None | |
createLabelsForZeroPriceYes/No setting for creating labels for products whose price is zero. | EnumRetailCreateLabelsForZeroPriceNoYes (enum) | No | None | |
cultureNameLanguage of the store, pointing to a language record. | String (7)LanguageId | No | LanguageTable.LanguageId | None |
DatabaseNameName of the database used by the store. | String (50)RetailDatabaseName | No | None | |
functionalityProfilePOS functionality profile assigned to the store. | StringRetailFunctionalityProfileId | No | RetailFunctionalityProfile.profileId | None |
generatesItemLabelsYes/No setting for whether the store prints product labels. | EnumRetailGeneratesItemLabelsNoYes (enum) | No | None | |
generatesShelfLabelsYes/No setting for whether the store prints shelf labels. | EnumRetailGeneratesShelfLabelsNoYes (enum) | No | None | |
hideTrainingModeYes/No setting to hide training mode at the POS. | EnumRetailHideTrainingModeNoYes (enum) | No | None | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
InventLocationIdForCustomerOrderWarehouse used for shipping customer orders from this store. | StringInventLocationId | No | InventLocation.InventLocationId | None |
inventoryLookupYes/No setting for inventory lookup at the store. | EnumNoYes (enum) | No | None | |
itemIdOnReceiptWhat identifies a product on the receipt: nothing, the product number, or the barcode or product number. | EnumRetailItemIdOnReceiptRetailItemIdOnReceiptBase (enum) | No | None | |
layoutIdScreen layout used by the POS in this store. | StringRetailLayoutId | No | RetailTillLayout.layoutId | None |
maximumPostingDifferenceLargest posting difference allowed; the currency is not stated in the metadata. | RealRetailMaxDifferenceAmount | No | None | |
maximumTextLengthOnReceiptMaximum number of characters of text printed on the receipt. | IntegerRetailMaximumTextLengthOnReceipt | No | None | |
maxRoundingAmountLargest rounding amount allowed; the currency is not stated in the metadata. | RealRetailMaxRoundingAmount | No | None | |
maxRoundingTaxAmountTax difference threshold above which information is given; the currency is not stated in the metadata. | RealRetailMaxRoundingTaxAmount | No | None | |
maxShiftDifferenceAmountLargest difference allowed for a shift; the currency is not stated in the metadata. | RealRetailMaxDifferenceAmount | No | None | |
maxTransactionDifferenceAmountLargest difference allowed for a transaction; the currency is not stated in the metadata. | RealRetailMaxDifferenceAmount | No | None | |
numberOfTopOrBottomLinesNumber of top or bottom lines used on the receipt. | IntegerRetailNumberOfTopOrBottomLines | No | None | |
OfflineProfileOffline profile used by the store, pointing to an offline profile record. | Int64RefRecId | No | RetailOfflineProfile.RecId | None |
oneStatementPerDayYes/No setting for creating only one statement per day. | EnumRetailOneStatementPerDayNoYes (enum) | No | None | |
openFromTime the store opens. | TimeRetailFromTime | No | None | |
openToTime the store closes. | TimeRetailToTime | No | None | |
PackedExtensionsContainer that stores extension data in packed form. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PasswordPassword for the store database connection. | String (50)RetailDBPassword | No | None | |
phoneTelephone number of the store. | String (20)Phone | No | None | |
poItemFilterYes/No setting for the purchase order product filter. | EnumRetailPOItemFilterNoYes (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 | |
removeAddTenderPayment method used for removing or adding tender. | StringRetailTenderTypeId | No | RetailTenderTypeTable.tenderTypeId | None |
replicationCounterCounter used for replication of the store record. | IntegerRetailReplicationCounter | No | None | |
RetailReqPlanIdSchedMaster plan assigned to the store. | StringRetailReqPlanIdSched | No | ReqPlanSched.ReqPlanIdSched | None |
RoundingAccountLedgerDimensionLedger account combination used for rounding differences. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
roundingTaxAccountAccount used for tax differences caused by rounding. | String (20)RetailRoundingTaxAccount | No | None | |
separateStmtPerStaffTerminalYes/No setting to split statements by the statement method. | EnumRetailseparateStmtPerStaffTerminalNoYes (enum) | No | None | |
serviceChargePctService charge as a percentage. | RealRetailServiceChargePct | No | None | |
serviceChargePromptText shown as the prompt for the service charge. | String (30)RetailServiceChargePrompt | No | None | |
SQLServerNameName of the database server used by the store. | String (80)ServerName | No | None | |
startAmountCalculationWhether the start amount is calculated as the sum or the last value. | EnumRetailStartAmountCalculationRetailStartAmountCalculationBase (enum) | No | None | |
statementMethodHow statements are grouped: by operator ID, POS terminal, total or shift. | EnumRetailStatementMethodRetailStaffTerminalTotal (enum) | No | None | |
stmtCalcBatchEndTimeEnd time for the transactions included in statement calculation. | TimeTimeOfDay | No | None | |
StoreNumberStore number that identifies the store. | StringRetailStoreId | Yes | None | |
StoreOriginIdSystem record ID of the store this published record comes from. | Int64RetailOriginId | No | RetailStoreTable.RecId | None |
StoreOriginRecVersionVersion number of the origin store record. | IntegerRetailOriginRecVersion | 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 | |
taxGroupSales tax group applied to the store. | StringTaxGroup | Yes | TaxGroupHeading.TaxGroup | None |
TaxGroupDataAreaIdCompany that owns the related master plan and sales tax group. | StringDataAreaId | No | ReqPlanSched.dataAreaIdTaxGroupHeading.dataAreaId | None |
TaxIdentificationNumberTax identification number (TIN) of the store. | String (25)RetailTaxIdNumber | No | None | |
TaxOverrideGroupSales tax override group used by the store. | Int64RefRecId | No | RetailSalesTaxOverrideGroup.RecId | None |
tenderDeclarationCalculationWhether tender declaration uses the last value or the sum. | EnumRetailTenderDeclarationCalculationRetailTenderDeclarationCalculationBase (enum) | No | None | |
UseCustomerBasedTaxYes/No setting to use customer-based taxes. | EnumNoYes (enum) | No | None | |
UseDefaultCustAccountYes/No setting to add a customer automatically at the POS. | EnumNoYesIdNoYes (enum) | No | None | |
UseDestinationBasedTaxYes/No setting to use destination-based tax. | EnumNoYes (enum) | No | None | |
UserNameUser name for the store database connection. | String (50)RetailDBUserName | No | None |
Relations (12)
Each relation joins RetailPubRetailStoreTable to another table on the fields shown.
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
RoundingAccountLedgerDimension = DimensionAttributeValueCombination.RecIdMany RetailPubRetailStoreTable records → zero or one DimensionAttributeValueCombination record
InventLocationForCustomerOrder→InventLocationJoin on
InventLocationIdForCustomerOrder = InventLocation.InventLocationIdMany RetailPubRetailStoreTable records → zero or one InventLocation record
LanguageTable→LanguageTableJoin on
LanguageTable.LabelFile = 1,cultureName = LanguageTable.LanguageIdMany RetailPubRetailStoreTable records → zero or one LanguageTable record
OfflineProfile→RetailOfflineProfileJoin on
OfflineProfile = RetailOfflineProfile.RecIdMany RetailPubRetailStoreTable records → zero or one RetailOfflineProfile record
ReqPlanSched→ReqPlanSchedJoin on
TaxGroupDataAreaId = ReqPlanSched.dataAreaId,RetailReqPlanIdSched = ReqPlanSched.ReqPlanIdSchedMany RetailPubRetailStoreTable records → zero or one ReqPlanSched record
RetailFunctionalityProfile→RetailFunctionalityProfileJoin on
functionalityProfile = RetailFunctionalityProfile.profileIdMany RetailPubRetailStoreTable records → zero or one RetailFunctionalityProfile record
RetailPubRetailChannelTable_Store→RetailPubRetailChannelTableJoin on
RecId = RetailPubRetailChannelTable.RecIdZero or one RetailPubRetailStoreTable record → exactly one RetailPubRetailChannelTable record
RetailSalesTaxOverrideGroup→RetailSalesTaxOverrideGroupJoin on
TaxOverrideGroup = RetailSalesTaxOverrideGroup.RecIdMany RetailPubRetailStoreTable records → zero or one RetailSalesTaxOverrideGroup record
RetailStoreTable→RetailStoreTableJoin on
StoreOriginId = RetailStoreTable.RecIdZero or one RetailPubRetailStoreTable record → zero or one RetailStoreTable record
RetailTenderTypeTable→RetailTenderTypeTableJoin on
removeAddTender = RetailTenderTypeTable.tenderTypeIdMany RetailPubRetailStoreTable records → zero or one RetailTenderTypeTable record
RetailTillLayout→RetailTillLayoutJoin on
layoutId = RetailTillLayout.layoutIdMany RetailPubRetailStoreTable records → zero or one RetailTillLayout record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupDataAreaId = TaxGroupHeading.dataAreaId,taxGroup = TaxGroupHeading.TaxGroupMany 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.