Table

ProcCategoryItemTaxGroup

Procurement category item sales tax group

Sets the item sales tax group for a procurement category in a company. It also has a flag and a group for withholding tax, used for Thailand. The key is the category plus the tax group company.

Table name
ProcCategoryItemTaxGroup
Module
Procurement and sourcing
Table group
Main
Table type
Regular
Data per company
No
Configuration key
ProcCategory
Primary index
None
Replacement key
EcoResCategoryDataAreaIdx
Key fields
ProcurementCategory, TaxItemGroupDataAreaId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProcurementCategoryPoints to the procurement category.Int64
RefRecId
YesEcoResCategory.RecIdNone
TaxItemGroupDataAreaIdCompany in which the item sales tax group is defined.String
DataAreaId
YesTaxItemGroupHeading.dataAreaIdNone
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
TaxItemGroupItem sales tax group for the category.String
TaxItemGroup
YesTaxItemGroupHeading.TaxItemGroupNone
TaxWithholdCalculateYes/No flag for calculating withholding tax.Enum
TaxWithholdCalculate
NoYes (enum)
NoNone
TaxWithholdItemGroupHeadingIdPoints to the item withholding tax group. Used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoTaxWithholdItemGroupHeading_TH.RecIdNone

Indexes (2)

Relations (4)

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

  • DataArea → DataArea

    Join on TaxItemGroupDataAreaId = DataArea.id

    Many ProcCategoryItemTaxGroup records → exactly one DataArea record

  • EcoResCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many ProcCategoryItemTaxGroup records → exactly one EcoResCategory record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupDataAreaId = TaxItemGroupHeading.dataAreaId, TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many ProcCategoryItemTaxGroup records → exactly one TaxItemGroupHeading record

  • TaxWithholdItemGroupHeading → TaxWithholdItemGroupHeading_TH

    Join on TaxWithholdItemGroupHeadingId = TaxWithholdItemGroupHeading_TH.RecId

    Many ProcCategoryItemTaxGroup records → zero or one TaxWithholdItemGroupHeading_TH record

Get this data out

No public entity reads from ProcCategoryItemTaxGroup. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk