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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdditionalDescriptionExtra text describing the override. | String (60)RetailTaxOverrideDescription | No | RetailSalesTaxOverrideEntity | |
CodeCode that identifies the sales tax override. | String (25)RetailTaxOverrideCode | Yes | RetailSalesTaxOverrideEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort description of the override. | String (60)RetailTaxOverrideName | Yes | RetailSalesTaxOverrideEntity | |
DestinationItemTaxGroupThe item sales tax group that the rule changes to. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | RetailSalesTaxOverrideEntity |
DestinationTaxGroupThe sales tax group that the rule changes to. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | RetailSalesTaxOverrideEntity |
OverrideByWhether the override applies by line product or by transaction. | EnumRetailTaxOverrideBy (enum) | No | RetailSalesTaxOverrideEntity | |
OverrideFromWhich source applies: no tax group, any tax group or a specified tax group. | EnumRetailOverrideFrom (enum) | No | RetailSalesTaxOverrideEntity | |
OverrideToWhich destination applies: no tax group or a specified tax group. | EnumRetailOverrideTo (enum) | No | RetailSalesTaxOverrideEntity | |
OverrideTypeWhether the override works on item sales tax groups or on sales tax groups. | EnumRetailTaxOverrideType (enum) | No | RetailSalesTaxOverrideEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SourceItemTaxGroupThe item sales tax group that the rule changes from. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | RetailSalesTaxOverrideEntity |
SourceTaxGroupThe sales tax group that the rule changes from. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | RetailSalesTaxOverrideEntity |
StatusWhether the override is enabled or disabled. | EnumEnableDisable (enum) | No | RetailSalesTaxOverrideEntity | |
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 |
Indexes (1)
CodeIdxUnique, alternate key.
Relations (4)
Each relation joins RetailSalesTaxOverride to another table on the fields shown.
TaxGroupHeading→TaxGroupHeadingJoin on
DestinationTaxGroup = TaxGroupHeading.TaxGroupMany RetailSalesTaxOverride records → zero or one TaxGroupHeading record
TaxGroupHeading1→TaxGroupHeadingJoin on
SourceTaxGroup = TaxGroupHeading.TaxGroupMany RetailSalesTaxOverride records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
SourceItemTaxGroup = TaxItemGroupHeading.TaxItemGroupMany RetailSalesTaxOverride records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading1→TaxItemGroupHeadingJoin on
DestinationItemTaxGroup = TaxItemGroupHeading.TaxItemGroupMany 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.
RetailSalesTaxOverrideEntity· 12 fields from this table
Need help with RetailSalesTaxOverride in a report, an integration or a migration? Talk to Dr Dynamics.