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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxWithholdPeriodSettlement period the payment belongs to, from the sales tax period setup. | StringTaxWithholdPeriod | Yes | TaxPeriodHead.TaxPeriod | None |
TransDateTransaction date of the record. | DateTransDate | 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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FromDateStart date of the settlement period, matched to the sales tax period setup. | DateTaxPeriodDate | No | TaxReportPeriod.FromDate | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TaxRepCounterVersion number of the report. | IntegerTaxVersion | No | None | |
TaxWithholdRepVersionVersion type of the payment report: Original, Corrections, Latest corrections or Total list. | EnumTaxWithholdRepVersionTaxRepVersion (enum) | No | None | |
ToDateEnd date of the settlement period, matched to the sales tax period setup. | DateTaxPeriodDate | No | TaxReportPeriod.ToDate | None |
VoucherVoucher number of the withholding tax payment report. | String (20)TaxWithholdReportingVoucher | No | None |
Indexes (1)
DatePeriodIdxPrimary indexTaxWithholdPeriod,TransDate,RecIdUnique.
Relations (2)
Each relation joins TaxWithholdReportVoucher to another table on the fields shown.
TaxPeriodHead→TaxPeriodHeadJoin on
TaxWithholdPeriod = TaxPeriodHead.TaxPeriodMany TaxWithholdReportVoucher records → exactly one TaxPeriodHead record
TaxReportPeriod→TaxReportPeriodJoin on
ToDate = TaxReportPeriod.ToDate,FromDate = TaxReportPeriod.FromDate,TaxWithholdPeriod = TaxReportPeriod.TaxPeriodMany 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.