Table
PayrollWorkerTaxCode
Worker tax code
Assigns a payroll tax code to a worker. Each record is one worker and tax code pair, which is the key. Parameter values for the code are stored in a separate table.
- Table name
PayrollWorkerTaxCode- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
PayrollAdministration- Primary index
None- Replacement key
WorkerTaxCode_AK1- Key fields
Worker, PayrollTaxCode- Model
PersonnelManagement
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkerPoints to the worker who has the tax code. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | PayrollWorkerTaxCodeV2EntityPayrollWorkerTaxCodeParameterEntity |
PayrollTaxCodePoints to the tax code assigned to the worker. | Int64PayrollTaxCodeRecId | Yes | PayrollTaxCode.RecId | PayrollWorkerTaxCodeV2EntityPayrollWorkerTaxCodeParameterEntity |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
WorkerTaxCode_AK1Replacement keyUnique, alternate key.
Relations (2)
Each relation joins PayrollWorkerTaxCode to another table on the fields shown.
TaxCode_FK→PayrollTaxCodeJoin on
PayrollTaxCode = PayrollTaxCode.RecIdMany PayrollWorkerTaxCode records → exactly one PayrollTaxCode record
Worker_FK→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany PayrollWorkerTaxCode records → exactly one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from PayrollWorkerTaxCode; use one of them in Power BI, Power Platform or a data management project.
PayrollWorkerTaxCodeV2Entity· 2 fields from this tablePayrollWorkerTaxCodeParameterEntity· 2 fields from this table
Need help with PayrollWorkerTaxCode in a report, an integration or a migration? Talk to Dr Dynamics.