Table
PayrollTaxCodeDetail
Tax code details
Holds details of a payroll tax code for a legal entity and a validity period. It stores the account ID, rate, wage base and a report description.
- Table name
PayrollTaxCodeDetail- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
PayrollAdministration- Primary index
None- Replacement key
PayrollTaxCodeDetail_AK1- Key fields
PayrollTaxCode, LegalEntity, ValidFrom, ValidTo- Model
PersonnelManagement
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PayrollTaxCodePoints to the tax code that these details belong to. | Int64PayrollTaxCodeRecId | No | PayrollTaxCode.RecId | None |
LegalEntityPoints to the legal entity that these details apply to. | Int64CompanyInfoRecId | Yes | CompanyInfo.RecId | None |
ValidFromFirst date on which this record is valid. | DateValidFromDate | No | None | |
ValidToLast date on which this record is valid. | DateValidToDate | No | None | |
AccountNumberAccount ID linked to the tax code. | String (20)AccountNum | 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 | |
ExcludePriorStateWagesYes or no choice for whether prior state wages are excluded. | EnumNoYesIdNoYes (enum) | 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 | |
RateThe rate for the tax code. | RealPayrollRate | 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 | |
ReportDescriptionShort text used to describe the tax code in reports. | String (60)Description | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WageBaseThe wage base for the tax code. | RealPayrollWageBase | No | None |
Indexes (1)
PayrollTaxCodeDetail_AK1Replacement keyPayrollTaxCode,LegalEntity,ValidFrom,ValidToUnique, alternate key.
Relations (2)
Each relation joins PayrollTaxCodeDetail to another table on the fields shown.
CompanyInfo_FK→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany PayrollTaxCodeDetail records → exactly one CompanyInfo record
TaxCode_FK→PayrollTaxCodeJoin on
PayrollTaxCode = PayrollTaxCode.RecIdMany PayrollTaxCodeDetail records → exactly one PayrollTaxCode record
Get this data out
No public entity reads from PayrollTaxCodeDetail. Its data is only reachable through the application, a custom entity or a database export.
Need help with PayrollTaxCodeDetail in a report, an integration or a migration? Talk to Dr Dynamics.