Table

TaxWithholdReportVoucher_TH

Withholding tax payments

Holds withholding tax payment records for Thailand. Each record has a voucher and date, and links to a settlement period and its report period by date range. It has no defined key in the metadata.

Table name
TaxWithholdReportVoucher_TH
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrectionsYes/No flag for posted withholding tax corrections.Enum
NoYesId
NoYes (enum)
NoTaxWithholdReportVoucherEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
TaxRepVersionVersion of the payment: original, corrections, latest corrections or total list.Enum
TaxRepVersion (enum)
NoTaxWithholdReportVoucherEntity
TaxWithholdFromDateFirst date of the report period the payment relates to.Date
TaxWithholdFromDate_TH
NoTaxWithholdReportPeriod_TH.TaxWithholdFromDateNone
TaxWithholdPeriodHead_THPoints to the settlement period of the payment.Int64
TaxWithholdPeriodId_TH
NoTaxWithholdPeriodHead_TH.RecIdNone
TaxWithholdToDateLast date of the report period the payment relates to.Date
TaxWithholdToDate_TH
NoTaxWithholdReportPeriod_TH.TaxWithholdToDateNone
TransDateTransaction date of the payment.Date
TransDate
NoTaxWithholdReportVoucherEntity
VoucherVoucher number of the payment.String (20)
Voucher
NoTaxWithholdReportVoucherEntity

Indexes (2)

Relations (2)

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

  • TaxWithholdPeriodHead_TH → TaxWithholdPeriodHead_TH

    Join on TaxWithholdPeriodHead_TH = TaxWithholdPeriodHead_TH.RecId

    Many TaxWithholdReportVoucher_TH records → zero or one TaxWithholdPeriodHead_TH record

  • TaxWithholdReportPeriod_TH → TaxWithholdReportPeriod_TH

    Join on TaxWithholdToDate = TaxWithholdReportPeriod_TH.TaxWithholdToDate, TaxWithholdFromDate = TaxWithholdReportPeriod_TH.TaxWithholdFromDate, TaxWithholdPeriodHead_TH = TaxWithholdReportPeriod_TH.TaxWithholdPeriodHead_TH

    Many TaxWithholdReportVoucher_TH records → zero or one TaxWithholdReportPeriod_TH record

Get this data out

Tables are not exposed directly. These public entities read from TaxWithholdReportVoucher_TH; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk