Table

RetailDirectSalesChannel

Direct Sales

Settings for a direct sales retail channel. It covers the store number, shipping warehouse, tax groups, functionality and offline profiles, statement and closing methods, and rounding and difference limits.

Table name
RetailDirectSalesChannel
Module
Commerce channel management
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 (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DSClosingMethodClosing method: date and time, or shift.Enum
RetailClosingMethod
RetailClosingMethodType (enum)
NoNone
DSCultureNameLanguage of the channel.String (7)
LanguageId
NoNone
DSFunctionalityProfilePOS functionality profile for the channel.String
RetailFunctionalityProfileId
NoRetailFunctionalityProfile.profileIdNone
DSInventLocationIdForCustomerOrderWarehouse used to ship customer orders.String
InventLocationId
NoNone
DSInventoryLookupYes/no flag to allow inventory lookup.Enum
NoYes (enum)
NoNone
DSMaximumPostingDifferenceLargest difference allowed at posting.Real
RetailMaxDifferenceAmount
NoNone
DSMaxRoundingAmountLargest rounding amount allowed.Real
RetailMaxRoundingAmount
NoNone
DSMaxShiftDifferenceAmountLargest difference allowed for a shift.Real
RetailMaxDifferenceAmount
NoNone
DSMaxTransactionDifferenceAmountLargest difference allowed for a transaction.Real
RetailMaxDifferenceAmount
NoNone
DSOfflineProfileOffline profile used by the channel.Int64
RefRecId
NoRetailOfflineProfile.RecIdNone
DSOneStatementPerDayYes/no flag for one statement per day.Enum
RetailOneStatementPerDay
NoYes (enum)
NoNone
DSRemoveAddTenderPayment method used for removing or adding tender.String
RetailTenderTypeId
NoRetailTenderTypeTable.tenderTypeIdNone
DSRetailReqPlanIdSchedMaster plan used by the channel.String
RetailReqPlanIdSched
NoReqPlanSched.ReqPlanIdSchedNone
DSRoundingAccountLedgerDimensionLedger account used for rounding.Int64
LedgerDimensionDefaultAccount
NoNone
DSSeparateStmtPerStaffTerminalYes/no flag to split statements by the chosen statement method.Enum
RetailseparateStmtPerStaffTerminal
NoYes (enum)
NoNone
DSStatementMethodMethod used for statements: operator ID, POS terminal, total or shift.Enum
RetailStatementMethod
RetailStaffTerminalTotal (enum)
NoNone
DSStmtCalcBatchEndTimeTime of day that ends the business day for statements.Time
TimeOfDay
NoNone
DSStmtPostAsBusinessDayYes/no flag to post statements as a business day.Enum
RetailPostAsBusinessDay
NoYes (enum)
NoNone
DSStoreNumberStore number of the direct sales channel.String
RetailDirectSalesStoreId
YesNone
DSTaxGroupSales tax group used by the channel.String
TaxGroup
YesTaxGroupHeading.TaxGroupNone
DSTaxGroupDataAreaIdCompany part of the references to the tax group and master plan.String
DataAreaId
NoReqPlanSched.dataAreaIdTaxGroupHeading.dataAreaIdNone
DSTaxIdentificationNumberTax identification number of the channel.String (25)
RetailTaxIdNumber
NoNone
DSTaxOverrideGroupSales tax override group used by the channel.Int64
RefRecId
NoRetailSalesTaxOverrideGroup.RecIdNone
DSTenderDeclarationCalculationHow tender declarations are calculated: last or sum.Enum
RetailTenderDeclarationCalculation
RetailTenderDeclarationCalculationBase (enum)
NoNone
DSUseCustomerBasedTaxYes/no flag to use customer-based taxes.Enum
NoYes (enum)
NoNone
DSUseDestinationBasedTaxYes/no flag to use destination-based tax.Enum
NoYes (enum)
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
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

Indexes (1)

Relations (7)

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

  • DirectSales_RetailChannelTable_FK → RetailChannelTable

    Join on RecId = RetailChannelTable.RecId

    Zero or one RetailDirectSalesChannel record → exactly one RetailChannelTable record

  • OfflineProfile → RetailOfflineProfile

    Join on DSOfflineProfile = RetailOfflineProfile.RecId

    Many RetailDirectSalesChannel records → zero or one RetailOfflineProfile record

  • TaxGroupHeading → TaxGroupHeading

    Join on DSTaxGroupDataAreaId = TaxGroupHeading.dataAreaId, DSTaxGroup = TaxGroupHeading.TaxGroup

    Many RetailDirectSalesChannel records → zero or one TaxGroupHeading record

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on DSRemoveAddTender = RetailTenderTypeTable.tenderTypeId

    Many RetailDirectSalesChannel records → zero or one RetailTenderTypeTable record

  • RetailSalesTaxOverrideGroup → RetailSalesTaxOverrideGroup

    Join on DSTaxOverrideGroup = RetailSalesTaxOverrideGroup.RecId

    Many RetailDirectSalesChannel records → zero or one RetailSalesTaxOverrideGroup record

  • RetailFunctionalityProfile → RetailFunctionalityProfile

    Join on DSFunctionalityProfile = RetailFunctionalityProfile.profileId

    Many RetailDirectSalesChannel records → zero or one RetailFunctionalityProfile record

  • ReqPlanSched → ReqPlanSched

    Join on DSTaxGroupDataAreaId = ReqPlanSched.dataAreaId, DSRetailReqPlanIdSched = ReqPlanSched.ReqPlanIdSched

    Many RetailDirectSalesChannel records → zero or one ReqPlanSched record

Get this data out

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

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

Email sales@drdynamics.co.uk