Table
PayrollUSTaxTransactionHistory
Payroll tax transaction history
Holds the history of payroll tax transactions used for the United States. Each record shows wages, tax amounts, rate, state and residency for a worker and tax code. It links to the pay statement.
- Table name
PayrollUSTaxTransactionHistory- Module
Payroll- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
PayrollAdministration- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (32)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CalculatedTaxAmountTax amount calculated by the system. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the transaction. | String (60)Description | No | PayrollUSTaxTransactionHistoryEntity | |
ExcessWagesWages above the taxable limit. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
GrossSubjectWagesGross wages that are subject to the tax. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
GrossWagesTotal gross wages. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
HoursNumber of hours. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
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 | |
PayStatementPay statement the transaction belongs to. | Int64PayrollPayStatementRecId | No | PayrollPayStatement.RecId | PayrollUSTaxTransactionHistoryEntity |
PersonnelNumberPersonnel number of the worker. | String (25)HcmPersonnelNumberId | No | None | |
PoliticalSubDivisionIdID of the political sub-division. | StringPayrollPoliticalSubdivisionId | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistorySummaryEntity | |
PriorStatePrevious state of the worker. | EnumPayrollUSState (enum) | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
PriorStateWageAmountWages earned in the previous state. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
RateTax rate. | RealPrlTaxRate | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
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 | |
ResidencyResidency status: resident, non-resident or not applicable. | EnumPayrollTaxResidency (enum) | Yes | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistorySummaryEntity | |
SequenceNumberLine sequence number. | IntegerSequenceNumber | No | PayrollUSTaxTransactionHistoryEntity | |
StateState or province code. | StringPrlStateId | No | PayrollUSTaxTransactionHistoryEntity | |
SubjectWagesWages that are subject to the tax. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxationStateState or province of taxation. | EnumPayrollUSState (enum) | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistorySummaryEntity | |
TaxCodeTax code of the transaction. | Int64PayrollTaxCodeRecId | Yes | PayrollTaxCode.RecId | PayrollUSTaxTransactionHistoryEntity |
TaxPayTypeTax method: regular, supplemental or combined. | EnumPrlTaxPayType (enum) | Yes | PayrollUSTaxTransactionHistoryEntity | |
TransDateTransaction date. | DateTransDate | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
UniqueTaxIdUnique ID of the tax. | String (50)String50 | No | PayrollUSTaxTransactionHistoryEntity | |
WageBaseWage base for the tax. | RealAmount | No | PayrollUSTaxTransactionHistoryEntityPayrollUSTaxTransactionHistoryDetailEntityPayrollUSTaxTransactionHistorySummaryEntity | |
WorkerWorker the transaction is for. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | PayrollUSTaxTransactionHistoryEntity |
Indexes (3)
HcmWorkerIdxWorker,TaxationState,dataAreaId,Partition,TransDateNot unique.
PayrollPayStatementIdxNot unique.
PayrollWorkerTaxCodeIdxWorker,TaxCode,dataAreaId,PartitionNot unique.
Relations (3)
Each relation joins PayrollUSTaxTransactionHistory to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdOne or more PayrollUSTaxTransactionHistory records → exactly one HcmWorker record
PayrollPayStatement→PayrollPayStatementJoin on
PayStatement = PayrollPayStatement.RecIdMany PayrollUSTaxTransactionHistory records → zero or one PayrollPayStatement record
PayrollTaxCode→PayrollTaxCodeJoin on
TaxCode = PayrollTaxCode.RecIdOne or more PayrollUSTaxTransactionHistory records → exactly one PayrollTaxCode record
Get this data out
Tables are not exposed directly. These public entities read from PayrollUSTaxTransactionHistory; use one of them in Power BI, Power Platform or a data management project.
PayrollUSTaxTransactionHistoryEntity· 22 fields from this tablePayrollUSTaxTransactionHistoryDetailEntity· 11 fields from this tablePayrollUSTaxTransactionHistorySummaryEntity· 14 fields from this table
Need help with PayrollUSTaxTransactionHistory in a report, an integration or a migration? Talk to Dr Dynamics.