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 descriptionType / EDT / enumMandatoryReferencesIn public entities
FromDateStart date of the period. Matches a line in the tax period setup.Date
FromDate
NoTaxPeriodDetail.FromDateNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPeriodIdID of the tax period. Points to the tax period header.String (15)
TaxPeriodId
NoTaxPeriodHeader.TaxPeriodIdNone
TaxRegNumberTax registration number that the period applies to.String (60)
TaxRegNumber
NoNone
TaxRuntimeTaxTypeRecord ID of the tax runtime tax type for this period.Int64
RefRecId
NoNone
ToDateEnd date of the period. Matches a line in the tax period setup.Date
ToDate
NoTaxPeriodDetail.ToDateNone
VersionNumCounter showing the version of the period record.Integer
Counter
NoNone

Indexes (1)

Relations (2)

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

  • TaxPeriodDetail → TaxPeriodDetail

    Join on TaxPeriodId = TaxPeriodDetail.TaxPeriodId, FromDate = TaxPeriodDetail.FromDate, ToDate = TaxPeriodDetail.ToDate

    Many TaxSettlementPeriod records → zero or one TaxPeriodDetail record

  • TaxPeriodHeader → TaxPeriodHeader

    Join on TaxPeriodId = TaxPeriodHeader.TaxPeriodId

    Many 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.

Email sales@drdynamics.co.uk