Table

RetailSalesTaxOverride

Sales tax overrides

Defines rules that replace a sales tax group or item sales tax group with another one. Each rule has a code, a source (from) setting, a destination (to) setting and a status. It links to sales tax group and item sales tax group records.

Table name
RetailSalesTaxOverride
Module
Commerce transactions and orders
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdditionalDescriptionExtra text describing the override.String (60)
RetailTaxOverrideDescription
NoRetailSalesTaxOverrideEntity
CodeCode that identifies the sales tax override.String (25)
RetailTaxOverrideCode
YesRetailSalesTaxOverrideEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the override.String (60)
RetailTaxOverrideName
YesRetailSalesTaxOverrideEntity
DestinationItemTaxGroupThe item sales tax group that the rule changes to.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupRetailSalesTaxOverrideEntity
DestinationTaxGroupThe sales tax group that the rule changes to.String
TaxGroup
NoTaxGroupHeading.TaxGroupRetailSalesTaxOverrideEntity
OverrideByWhether the override applies by line product or by transaction.Enum
RetailTaxOverrideBy (enum)
NoRetailSalesTaxOverrideEntity
OverrideFromWhich source applies: no tax group, any tax group or a specified tax group.Enum
RetailOverrideFrom (enum)
NoRetailSalesTaxOverrideEntity
OverrideToWhich destination applies: no tax group or a specified tax group.Enum
RetailOverrideTo (enum)
NoRetailSalesTaxOverrideEntity
OverrideTypeWhether the override works on item sales tax groups or on sales tax groups.Enum
RetailTaxOverrideType (enum)
NoRetailSalesTaxOverrideEntity
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
SourceItemTaxGroupThe item sales tax group that the rule changes from.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupRetailSalesTaxOverrideEntity
SourceTaxGroupThe sales tax group that the rule changes from.String
TaxGroup
NoTaxGroupHeading.TaxGroupRetailSalesTaxOverrideEntity
StatusWhether the override is enabled or disabled.Enum
EnableDisable (enum)
NoRetailSalesTaxOverrideEntity
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)

  • CodeIdx

    Code

    Unique, alternate key.

Relations (4)

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

  • TaxGroupHeading → TaxGroupHeading

    Join on DestinationTaxGroup = TaxGroupHeading.TaxGroup

    Many RetailSalesTaxOverride records → zero or one TaxGroupHeading record

  • TaxGroupHeading1 → TaxGroupHeading

    Join on SourceTaxGroup = TaxGroupHeading.TaxGroup

    Many RetailSalesTaxOverride records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on SourceItemTaxGroup = TaxItemGroupHeading.TaxItemGroup

    Many RetailSalesTaxOverride records → zero or one TaxItemGroupHeading record

  • TaxItemGroupHeading1 → TaxItemGroupHeading

    Join on DestinationItemTaxGroup = TaxItemGroupHeading.TaxItemGroup

    Many RetailSalesTaxOverride records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk