Table
TaxWithholdReportPeriod_TH
Withholding tax period setup
Holds dated report periods for withholding tax in Thailand. Each record covers a date range within a settlement period. It also holds a voucher and a version for the period.
- Table name
TaxWithholdReportPeriod_TH- Module
Tax- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
TaxPeriodIdx- Key fields
TaxWithholdPeriodHead_TH, TaxWithholdFromDate, TaxWithholdToDate- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxWithholdPeriodHead_THPoints to the settlement period this report period belongs to. | Int64TaxWithholdPeriodId_TH | Yes | TaxWithholdPeriodHead_TH.RecId | None |
TaxWithholdFromDateFirst date of the report period. | DateTaxWithholdFromDate_TH | Yes | TaxWithholdReportVoucherEntityTaxWithholdSettlementPeriodEntity | |
TaxWithholdToDateLast date of the report period. | DateTaxWithholdToDate_TH | Yes | TaxWithholdReportVoucherEntityTaxWithholdSettlementPeriodEntity | |
CorrectionsYes/No flag for posted withholding tax corrections. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxRepVersionVersion of the report: original, corrections, latest corrections or total list. | EnumTaxRepVersion (enum) | No | None | |
TransDateTransaction date of the record. | DateTransDate | No | None | |
VoucherVoucher number linked to the record. | String (20)Voucher | No | None |
Indexes (1)
TaxPeriodIdxReplacement keyTaxWithholdPeriodHead_TH,TaxWithholdFromDate,TaxWithholdToDateUnique, alternate key.
Relations (1)
Each relation joins TaxWithholdReportPeriod_TH to another table on the fields shown.
TaxWithholdPeriodHead_TH→TaxWithholdPeriodHead_THJoin on
TaxWithholdPeriodHead_TH = TaxWithholdPeriodHead_TH.RecIdMany TaxWithholdReportPeriod_TH records → exactly one TaxWithholdPeriodHead_TH record
Get this data out
Tables are not exposed directly. These public entities read from TaxWithholdReportPeriod_TH; use one of them in Power BI, Power Platform or a data management project.
TaxWithholdReportVoucherEntity· 2 fields from this tableTaxWithholdSettlementPeriodEntity· 2 fields from this table
Need help with TaxWithholdReportPeriod_TH in a report, an integration or a migration? Talk to Dr Dynamics.