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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BucketFieldCountCounter value linked to the bucket fields. Its exact meaning is not stated in the metadata.low confidence | IntegerCounter | 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 | |
RuleHeaderPoints to the setoff rule that this line belongs to. | Int64TaxSettlementRuleHeaderRecId | No | TaxSettlementRuleHeader.RecId | None |
SettleableTypeShows whether the line applies to payable or recoverable tax. | EnumTaxSettleableType (enum) | No | None | |
SortingNumberNumber that sets the order of the line within the rule. | IntegerSortingNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBucketPoints to the tax bucket hierarchy node used by this line. | Int64TaxBucketId | No | TaxBucketHierarchyTable.RecId | None |
TaxComponentPoints to the tax component used by this line. | Int64TaxRuntimeComponentRecId | No | TaxRuntimeComponent.RecId | None |
TaxTypePoints to the tax type used by this line. | Int64TaxRuntimeTaxTypeRecId | No | TaxRuntimeTaxType.RecId | None |
Indexes (2)
UniqueIdxRuleHeader,SettleableType,SortingNumberUnique, alternate key.
BucketIdxNot unique.
Relations (4)
Each relation joins TaxSettlementRuleLine to another table on the fields shown.
TaxSettlementRuleHeader→TaxSettlementRuleHeaderJoin on
RuleHeader = TaxSettlementRuleHeader.RecIdMany TaxSettlementRuleLine records → exactly one TaxSettlementRuleHeader record
TaxRuntimeComponent→TaxRuntimeComponentJoin on
TaxComponent = TaxRuntimeComponent.RecIdMany TaxSettlementRuleLine records → zero or one TaxRuntimeComponent record
TaxRuntimeTaxType→TaxRuntimeTaxTypeJoin on
TaxType = TaxRuntimeTaxType.RecIdMany TaxSettlementRuleLine records → zero or one TaxRuntimeTaxType record
TaxBucketHierarchyTable→TaxBucketHierarchyTableJoin on
TaxBucket = TaxBucketHierarchyTable.RecIdMany 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.