Table
TaxSettlementSession
Tax settlement session
Holds one tax settlement session. It records the tax period and date range, the start and end time, the tax type and the tax registration number. It also keeps the version selection, the setoff rules, a settlement contract ID and a link to the tax setup.
- Table name
TaxSettlementSession- 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 |
|---|---|---|---|---|
EndDateTimeDate and time when the session ended. | UtcDateTimeEndDateTime | No | None | |
FromDateFirst date of the tax period for the session. | DateFromDate | No | TaxPeriodDetail.FromDate | None |
FromDateUIFrom date, as shown to the user on screen.low confidence | DateFromDate | 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 | |
SettlementContractChangedYes/No flag showing whether the tax settlement contract has changed. | EnumNoYesIdNoYes (enum) | No | None | |
SettlementContractIdUnique identifier (GUID) of the tax settlement contract. | GuidTaxSettlementContractId | No | None | |
StartDateTimeDate and time when the session started. | UtcDateTimeStartDateTime | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPeriodIdTax period that the session covers. Together with the from and to dates, it points to the tax period setup. | String (15)TaxPeriodId | No | TaxPeriodDetail.TaxPeriodId | None |
TaxRegNumberTax registration number that the session applies to. | String (60)TaxRegNumber | No | None | |
TaxSettlementRulesStored set of tax setoff rules for the session, kept as a container. | ContainerTaxSettlementRuleContainer | No | None | |
TaxSolutionScopePoints to the tax setup used by the session. | Int64TaxSolutionScopeRecId | No | TaxSolutionScope.RecId | None |
TaxTypePoints to the tax runtime tax type used in the session. | Int64TaxRuntimeTaxTypeRecId | No | TaxRuntimeTaxType.RecId | None |
ToDateLast date of the tax period for the session. | DateToDate | No | TaxPeriodDetail.ToDate | None |
TransDateTransaction date of the session. | DateTransDate | No | None | |
VersionSelectionChooses which version of the period is used: the original or the latest. | EnumTaxSettlementPeriodVersionSelection (enum) | No | None |
Indexes (1)
SettlementContractIdxUnique, alternate key.
Relations (3)
Each relation joins TaxSettlementSession to another table on the fields shown.
TaxPeriodDetail→TaxPeriodDetailJoin on
TaxPeriodId = TaxPeriodDetail.TaxPeriodId,FromDate = TaxPeriodDetail.FromDate,ToDate = TaxPeriodDetail.ToDateMany TaxSettlementSession records → zero or one TaxPeriodDetail record
TaxRuntimeTaxType→TaxRuntimeTaxTypeJoin on
TaxType = TaxRuntimeTaxType.RecIdMany TaxSettlementSession records → zero or one TaxRuntimeTaxType record
TaxSolutionScope→TaxSolutionScopeJoin on
TaxSolutionScope = TaxSolutionScope.RecIdMany TaxSettlementSession records → exactly one TaxSolutionScope record
Get this data out
No public entity reads from TaxSettlementSession. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxSettlementSession in a report, an integration or a migration? Talk to Dr Dynamics.