Table

TaxSettlementRuleLine

Setoff rule line

Line of a tax setoff rule. Each line says whether it covers payable or recoverable tax and has a sort order. It links to its rule header, a tax type, a tax component and a tax bucket.

Table name
TaxSettlementRuleLine
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 (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BucketFieldCountCounter value linked to the bucket fields. Its exact meaning is not stated in the metadata.low confidenceInteger
Counter
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
RuleHeaderPoints to the setoff rule that this line belongs to.Int64
TaxSettlementRuleHeaderRecId
NoTaxSettlementRuleHeader.RecIdNone
SettleableTypeShows whether the line applies to payable or recoverable tax.Enum
TaxSettleableType (enum)
NoNone
SortingNumberNumber that sets the order of the line within the rule.Integer
SortingNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxBucketPoints to the tax bucket hierarchy node used by this line.Int64
TaxBucketId
NoTaxBucketHierarchyTable.RecIdNone
TaxComponentPoints to the tax component used by this line.Int64
TaxRuntimeComponentRecId
NoTaxRuntimeComponent.RecIdNone
TaxTypePoints to the tax type used by this line.Int64
TaxRuntimeTaxTypeRecId
NoTaxRuntimeTaxType.RecIdNone

Indexes (2)

Relations (4)

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

  • TaxSettlementRuleHeader → TaxSettlementRuleHeader

    Join on RuleHeader = TaxSettlementRuleHeader.RecId

    Many TaxSettlementRuleLine records → exactly one TaxSettlementRuleHeader record

  • TaxRuntimeComponent → TaxRuntimeComponent

    Join on TaxComponent = TaxRuntimeComponent.RecId

    Many TaxSettlementRuleLine records → zero or one TaxRuntimeComponent record

  • TaxRuntimeTaxType → TaxRuntimeTaxType

    Join on TaxType = TaxRuntimeTaxType.RecId

    Many TaxSettlementRuleLine records → zero or one TaxRuntimeTaxType record

  • TaxBucketHierarchyTable → TaxBucketHierarchyTable

    Join on TaxBucket = TaxBucketHierarchyTable.RecId

    Many TaxSettlementRuleLine records → exactly one TaxBucketHierarchyTable record

Get this data out

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

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

Email sales@drdynamics.co.uk