Table

TaxBucketHierarchyTable

Tax bucket hierarchy node

Holds the nodes of a tax bucket hierarchy. Each node has a parent, a level, a path, a node value and left and right IDs. It links to a hierarchy version and to its parent node in the same table.

Table name
TaxBucketHierarchyTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
TaxEngine

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HierarchyVersionSystem record ID of the hierarchy version the node belongs to.Int64
RefRecId
NoTaxBucketHierarchyVersionTable.RecIdNone
IsLeafNodeYes/No flag showing whether the node is a leaf, with no child nodes.Enum
NoYesId
NoYes (enum)
NoNone
LeftIdLeft ID of the node, used to place it in the hierarchy.low confidenceInt64
TaxBucketLeftRightId
NoNone
LevelLevel of the node in the hierarchy.Integer
TaxBucketLevelId
NoNone
NodeValueValue or name of the node.String (60)
TaxBucketNode
NoNone
ParentIdSystem record ID of the parent node in the hierarchy.Int64
TaxBucketId
NoTaxBucketHierarchyTable.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PathValuePath of the node in the hierarchy.String (400)
TaxBucketPath
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
RightIdRight ID of the node, used to place it in the hierarchy.low confidenceInt64
TaxBucketLeftRightId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (2)

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

  • TaxBucketHierarchyVersionTable → TaxBucketHierarchyVersionTable

    Join on HierarchyVersion = TaxBucketHierarchyVersionTable.RecId

    Many TaxBucketHierarchyTable records → exactly one TaxBucketHierarchyVersionTable record

  • TaxBucketHierarchyTable → TaxBucketHierarchyTable

    Join on ParentId = TaxBucketHierarchyTable.RecId

    Many TaxBucketHierarchyTable records → zero or one TaxBucketHierarchyTable record

Get this data out

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

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

Email sales@drdynamics.co.uk