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 descriptionType / EDT / enumMandatoryReferencesIn public entities
EcoResCategoryPoints to the product category that the tax information belongs to.Int64
RefRecId
YesEcoResCategory.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Exempt_INYes/No flag showing whether the category is exempt, used for India.Enum
NoYesId
NoYes (enum)
NoNone
HSNCodeTable_INPoints to the HSN code for the category, used for India.Int64
RefRecId
NoHSNCodeTable_IN.RecIdNone
NonGST_INYes/No flag showing whether the category is outside GST, used for India.Enum
NoYesId
NoYes (enum)
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
ServiceAccountingCodeTable_INPoints to the service accounting code for the category, used for India.Int64
RefRecId
NoServiceAccountingCodeTable_IN.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxRateTypePoints to the tax rate type for the category.Int64
RefRecId
NoTaxRateType.RecIdNone

Indexes (1)

Relations (4)

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

  • EcoResCategory → EcoResCategory

    Join on EcoResCategory = EcoResCategory.RecId

    Many EcoResCategoryTax records → exactly one EcoResCategory record

  • HSNCodeTable_IN → HSNCodeTable_IN

    Join on HSNCodeTable_IN = HSNCodeTable_IN.RecId

    Many EcoResCategoryTax records → zero or one HSNCodeTable_IN record

  • ServiceAccountingCodeTable_IN → ServiceAccountingCodeTable_IN

    Join on ServiceAccountingCodeTable_IN = ServiceAccountingCodeTable_IN.RecId

    Many EcoResCategoryTax records → zero or one ServiceAccountingCodeTable_IN record

  • TaxRateType → TaxRateType

    Join on TaxRateType = TaxRateType.RecId

    Many 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.

Email sales@drdynamics.co.uk