Table
TaxSettlementPeriod
Tax settlement period
Holds tax settlement periods. Each row has a tax period ID with a from date and a to date, a tax registration number and a version counter. It links to the tax period setup and to a tax runtime tax type.
- Table name
TaxSettlementPeriod- 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 (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FromDateStart date of the period. Matches a line in the tax period setup. | DateFromDate | No | TaxPeriodDetail.FromDate | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxPeriodIdID of the tax period. Points to the tax period header. | String (15)TaxPeriodId | No | TaxPeriodHeader.TaxPeriodId | None |
TaxRegNumberTax registration number that the period applies to. | String (60)TaxRegNumber | No | None | |
TaxRuntimeTaxTypeRecord ID of the tax runtime tax type for this period. | Int64RefRecId | No | None | |
ToDateEnd date of the period. Matches a line in the tax period setup. | DateToDate | No | TaxPeriodDetail.ToDate | None |
VersionNumCounter showing the version of the period record. | IntegerCounter | No | None |
Indexes (1)
KeyIdxTaxPeriodId,FromDate,ToDate,TaxRuntimeTaxType,TaxRegNumberUnique, alternate key.
Relations (2)
Each relation joins TaxSettlementPeriod to another table on the fields shown.
TaxPeriodDetail→TaxPeriodDetailJoin on
TaxPeriodId = TaxPeriodDetail.TaxPeriodId,FromDate = TaxPeriodDetail.FromDate,ToDate = TaxPeriodDetail.ToDateMany TaxSettlementPeriod records → zero or one TaxPeriodDetail record
TaxPeriodHeader→TaxPeriodHeaderJoin on
TaxPeriodId = TaxPeriodHeader.TaxPeriodIdMany TaxSettlementPeriod records → zero or one TaxPeriodHeader record
Get this data out
No public entity reads from TaxSettlementPeriod. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxSettlementPeriod in a report, an integration or a migration? Talk to Dr Dynamics.