Table
EcoResCategoryTax
Category tax information
Holds tax information for a product category. It is keyed by the category and adds tax settings such as HSN code, service accounting code, exempt and non-GST flags and tax rate type. Several of these fields are used for India. It is switched on by the basic sales tax configuration key.
- Table name
EcoResCategoryTax- Module
Tax- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
None- Replacement key
EcoResCategoryIdx- Key fields
EcoResCategory- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EcoResCategoryPoints to the product category that the tax information belongs to. | Int64RefRecId | Yes | EcoResCategory.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
Exempt_INYes/No flag showing whether the category is exempt, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
HSNCodeTable_INPoints to the HSN code for the category, used for India. | Int64RefRecId | No | HSNCodeTable_IN.RecId | None |
NonGST_INYes/No flag showing whether the category is outside GST, used for India. | EnumNoYesIdNoYes (enum) | No | None | |
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 | |
ServiceAccountingCodeTable_INPoints to the service accounting code for the category, used for India. | Int64RefRecId | No | ServiceAccountingCodeTable_IN.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxRateTypePoints to the tax rate type for the category. | Int64RefRecId | No | TaxRateType.RecId | None |
Indexes (1)
EcoResCategoryIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins EcoResCategoryTax to another table on the fields shown.
EcoResCategory→EcoResCategoryJoin on
EcoResCategory = EcoResCategory.RecIdMany EcoResCategoryTax records → exactly one EcoResCategory record
HSNCodeTable_IN→HSNCodeTable_INJoin on
HSNCodeTable_IN = HSNCodeTable_IN.RecIdMany EcoResCategoryTax records → zero or one HSNCodeTable_IN record
ServiceAccountingCodeTable_IN→ServiceAccountingCodeTable_INJoin on
ServiceAccountingCodeTable_IN = ServiceAccountingCodeTable_IN.RecIdMany EcoResCategoryTax records → zero or one ServiceAccountingCodeTable_IN record
TaxRateType→TaxRateTypeJoin on
TaxRateType = TaxRateType.RecIdMany EcoResCategoryTax records → zero or one TaxRateType record
Get this data out
No public entity reads from EcoResCategoryTax. Its data is only reachable through the application, a custom entity or a database export.
Need help with EcoResCategoryTax in a report, an integration or a migration? Talk to Dr Dynamics.