Table
TaxSettlementBalance
Tax settlement balance
Holds tax settlement balances for a settlement session. It keeps recoverable and payable amounts, with the total, the settled part and the remaining part for each. Rows are either detail or summary and can link to a tax bucket and ledger dimensions.
- Table name
TaxSettlementBalance- 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 (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BalanceTypeShows whether the balance row is a detail or a summary. | EnumTaxSettlementBalanceType (enum) | No | None | |
IsMainYes or No flag showing whether this is the main record. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayableAmountTotal payable amount, in accounting currency. | RealAmountMST | No | None | |
PayableAmountToSettlePayable amount still to be settled, in accounting currency. | RealAmountMST | No | None | |
PayableAmountUtilizedPayable amount already settled, in accounting currency. | RealAmountMST | No | None | |
PayableLedgerDimensionMain account for the payable amount. Points to a dimension code combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | 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 | |
RecoverableAmountTotal recoverable amount, in accounting currency. | RealAmountMST | No | None | |
RecoverableAmountToSettleRecoverable amount still to be settled, in accounting currency. | RealAmountMST | No | None | |
RecoverableAmountUtilizedRecoverable amount already settled, in accounting currency. | RealAmountMST | No | None | |
RecoverableLedgerDimensionMain account for the recoverable amount. Points to a dimension code combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SessionIdPoints to the tax settlement session of this balance. | Int64TaxSettlementSessionId | No | TaxSettlementSession.RecId | None |
SettleableIdRecord ID of the settleable item this balance relates to. | Int64RefRecId | No | None | |
SettleableTypeShows whether the balance is payable or recoverable. | EnumTaxSettleableType (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBucketIdPoints to the tax bucket hierarchy node for this balance. | Int64TaxBucketId | No | TaxBucketHierarchyTable.RecId | None |
Indexes (2)
DetailIdxSessionId,BalanceType,SettleableType,SettleableIdNot unique.
TaxBucketIdxSessionId,BalanceType,TaxBucketIdNot unique.
Relations (4)
Each relation joins TaxSettlementBalance to another table on the fields shown.
TaxSettlementSession→TaxSettlementSessionJoin on
SessionId = TaxSettlementSession.RecIdMany TaxSettlementBalance records → exactly one TaxSettlementSession record
TaxBucketHierarchyTable→TaxBucketHierarchyTableJoin on
TaxBucketId = TaxBucketHierarchyTable.RecIdMany TaxSettlementBalance records → exactly one TaxBucketHierarchyTable record
RecoverableLedgerDimension→DimensionAttributeValueCombinationJoin on
RecoverableLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxSettlementBalance records → exactly one DimensionAttributeValueCombination record
PayableLedgerDimension→DimensionAttributeValueCombinationJoin on
PayableLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxSettlementBalance records → exactly one DimensionAttributeValueCombination record
Get this data out
No public entity reads from TaxSettlementBalance. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxSettlementBalance in a report, an integration or a migration? Talk to Dr Dynamics.