Table

TaxWithholdReportVoucher

Withholding tax payments inquiry

Holds the vouchers shown in the withholding tax payments inquiry. Each record belongs to a settlement period and a report version. It links to the sales tax period setup.

Table name
TaxWithholdReportVoucher
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicWithholdingTax
Primary index
DatePeriodIdx
Replacement key
None
Key fields
TaxWithholdPeriod, TransDate, RecId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxWithholdPeriodSettlement period the payment belongs to, from the sales tax period setup.String
TaxWithholdPeriod
YesTaxPeriodHead.TaxPeriodNone
TransDateTransaction date of the record.Date
TransDate
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateStart date of the settlement period, matched to the sales tax period setup.Date
TaxPeriodDate
NoTaxReportPeriod.FromDateNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
TaxRepCounterVersion number of the report.Integer
TaxVersion
NoNone
TaxWithholdRepVersionVersion type of the payment report: Original, Corrections, Latest corrections or Total list.Enum
TaxWithholdRepVersion
TaxRepVersion (enum)
NoNone
ToDateEnd date of the settlement period, matched to the sales tax period setup.Date
TaxPeriodDate
NoTaxReportPeriod.ToDateNone
VoucherVoucher number of the withholding tax payment report.String (20)
TaxWithholdReportingVoucher
NoNone

Indexes (1)

Relations (2)

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

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxWithholdPeriod = TaxPeriodHead.TaxPeriod

    Many TaxWithholdReportVoucher records → exactly one TaxPeriodHead record

  • TaxReportPeriod → TaxReportPeriod

    Join on ToDate = TaxReportPeriod.ToDate, FromDate = TaxReportPeriod.FromDate, TaxWithholdPeriod = TaxReportPeriod.TaxPeriod

    Many TaxWithholdReportVoucher records → exactly one TaxReportPeriod record

Get this data out

No public entity reads from TaxWithholdReportVoucher. Its data is only reachable through the application, a custom entity or a database export.

Need help with TaxWithholdReportVoucher in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk