Table
PayrollTaxExternalReporting
Tax external reporting
Holds external reporting settings for a payroll tax code over a validity period. It stores Form W-2 box details, which relate to the United States, including how the box 20 label is set.
- Table name
PayrollTaxExternalReporting- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
PayrollAdministration- Primary index
None- Replacement key
PayrollTaxExternalReporting_AK1- Key fields
PayrollTaxCode, ValidFrom, ValidTo- Model
PersonnelManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PayrollTaxCodePoints to the tax code that this reporting setting is for. | Int64PayrollTaxCodeRecId | Yes | PayrollTaxCode.RecId | None |
ValidFromFirst date on which this record is valid. | DateValidFromDate | No | None | |
ValidToLast date on which this record is valid. | DateValidToDate | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 | |
W2Box20LabelMethod used to set the label for Form W-2 box 20, such as tax code description or other. | EnumPayrollW2Box20Label (enum) | No | None | |
W2Box20OtherOwn label text for Form W-2 box 20. | StringPayrollW2Box20Other | No | None | |
W2BoxLabelText label shown for the Form W-2 box. | StringPayrollW2BoxLabel | No | None | |
W2BoxNumberThe Form W-2 box number, chosen from a short list of values such as 10, 11, 12 or 14. | EnumPayrollW2BoxNumber (enum) | No | None |
Indexes (1)
PayrollTaxExternalReporting_AK1Replacement keyPayrollTaxCode,ValidFrom,ValidToUnique, alternate key.
Relations (1)
Each relation joins PayrollTaxExternalReporting to another table on the fields shown.
TaxCode_FK→PayrollTaxCodeJoin on
PayrollTaxCode = PayrollTaxCode.RecIdMany PayrollTaxExternalReporting records → exactly one PayrollTaxCode record
Get this data out
No public entity reads from PayrollTaxExternalReporting. Its data is only reachable through the application, a custom entity or a database export.
Need help with PayrollTaxExternalReporting in a report, an integration or a migration? Talk to Dr Dynamics.