Data entity
PayrollWorkerTaxCodeParameterEntity
Parameter values set for a worker's tax codes, valid over a date range. Each record names the tax code parameter, tax code and country or region, and holds the value. It links to the worker, legal entity and tax engine tax codes.
- Entity name
PayrollWorkerTaxCodeParameterEntity- Public entity name
WorkerTaxCodeParameter- OData collection
WorkerTaxCodeParameters- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
WorkerId, TaxCodeParameterName, TaxCodeId, CountryRegionId, ValidFrom, ValidTo, CompanyInfoId- Staging table
PayrollWorkerTaxCodeParameterStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WorkerTaxCodeParameters- Dataverse virtual table
mserp_payrollworkertaxcodeparameterentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PayrollWorkerTaxCodeParameterValue· rootCompanyInfo· InnerJoin toPayrollWorkerTaxCodeParameterValue· read-onlyTaxCodeParameter(tablePayrollTaxCodeParameter) · InnerJoin toPayrollWorkerTaxCodeParameterValue· read-onlyTaxEngineTaxCode(tablePayrollTaxEngineTaxCode) · OuterJoin toTaxCodeParameter· read-onlyTaxCode(tablePayrollTaxCode) · InnerJoin toTaxEngineTaxCode· read-onlyPayrollTaxEngineTaxCodeForSymmetry· Derived toTaxEngineTaxCodeWorkerTaxCode(tablePayrollWorkerTaxCode) · InnerJoin toPayrollWorkerTaxCodeParameterValue· read-onlyTaxCode_Worker(tablePayrollTaxCode) · InnerJoin toWorkerTaxCode· read-onlyWorker(tableHcmWorker) · InnerJoin toWorkerTaxCode· read-only
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LegalEntityPoints to the legal entity that the value applies to. | Int64CompanyInfoRecId | Yes | No (private) | CompanyInfo.RecId | PayrollWorkerTaxCodeParameterValue.LegalEntity |
TaxCodeParameterPoints to the tax code parameter that the value is for. | Int64PayrollTaxCodeParameterRecId | Yes | No (private) | PayrollTaxCodeParameter.RecId | PayrollWorkerTaxCodeParameterValue.TaxCodeParameter |
ValidFromFirst date on which the value is valid. | DateValidFromDate | No | Yes | PayrollWorkerTaxCodeParameterValue.ValidFrom | |
ValidToLast date on which the value is valid. | DateValidToDate | No | Yes | PayrollWorkerTaxCodeParameterValue.ValidTo | |
ValueThe parameter value, held as text. | String (30)String30 | Yes | Yes | PayrollWorkerTaxCodeParameterValue.Value | |
WorkerTaxCodePoints to the worker's tax code that the value belongs to. | Int64PayrollWorkerTaxCodeRecId | Yes | No (private) | PayrollWorkerTaxCode.RecId | PayrollWorkerTaxCodeParameterValue.WorkerTaxCode |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
CompanyInfoIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
TaxCodeParameterNameName of the tax code parameter. | String (60)Str60 | No | Yes | PayrollTaxCodeParameter.Name | |
TaxCodeParameter_TaxEngineTaxCodePoints to the tax engine tax code that this parameter belongs to. | Int64PayrollTaxEngineTaxCodeRecId | No | No (private) | PayrollTaxEngineTaxCode.RecId | PayrollTaxCodeParameter.TaxEngineTaxCode |
TaxEngineTaxCode_PayrollTaxCodePoints to the payroll tax code that this tax engine record represents. | Int64PayrollTaxCodeRecId | Yes | No (private) | PayrollTaxCode.RecId | PayrollTaxEngineTaxCode.PayrollTaxCode |
TaxCodeIdIdentifier of the payroll tax code. | String (70)PayrollTaxCodeId | Yes | Yes | PayrollTaxCode.Code | |
CountryRegionIdCountry or region that the tax code applies to. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | PayrollTaxCode.CountryRegionId |
WorkerTaxCode_PayrollTaxCodePoints to the tax code assigned to the worker. | Int64PayrollTaxCodeRecId | Yes | No (private) | PayrollTaxCode.RecId | PayrollWorkerTaxCode.PayrollTaxCode |
WorkerTaxCode_WorkerPoints to the worker who has the tax code. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | PayrollWorkerTaxCode.Worker |
TaxCode_Worker_CodeIdentifier of the payroll tax code. | String (70)PayrollTaxCodeId | Yes | No (private) | PayrollTaxCode.Code | |
TaxCode_Worker_CountryRegionIdCountry or region that the tax code applies to. | StringLogisticsAddressCountryRegionId | Yes | No (private) | LogisticsAddressCountryRegion.CountryRegionId | PayrollTaxCode.CountryRegionId |
WorkerIdNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber |
Foreign keys (9)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many PayrollWorkerTaxCodeParameterValue records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
TaxCodeParameter→PayrollTaxCodeParameter.RecId(key of PayrollTaxCodeParameter)Many PayrollWorkerTaxCodeParameterValue records → exactly one PayrollTaxCodeParameter record
Not exposed by a public entity.
WorkerTaxCode→PayrollWorkerTaxCode.RecId(key of PayrollWorkerTaxCode)Many PayrollWorkerTaxCodeParameterValue records → exactly one PayrollWorkerTaxCode record
PayrollWorkerTaxCode details: see PayrollWorkerTaxCodeV2Entity
TaxCodeParameter_TaxEngineTaxCode→PayrollTaxEngineTaxCode.RecId(key of PayrollTaxEngineTaxCode)Many PayrollTaxCodeParameter records → exactly one PayrollTaxEngineTaxCode record
Not exposed by a public entity.
TaxEngineTaxCode_PayrollTaxCode→PayrollTaxCode.RecId(key of PayrollTaxCode)Zero or one PayrollTaxEngineTaxCode record → exactly one PayrollTaxCode record
PayrollTaxCode details: see PayrollUSTaxTransactionHistorySummaryEntity, HcmTotalCompStatementSectionTaxEntity, PayrollPayStatementTaxLineEntity
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PayrollTaxCode records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
WorkerTaxCode_PayrollTaxCode→PayrollTaxCode.RecId(key of PayrollTaxCode)Many PayrollWorkerTaxCode records → exactly one PayrollTaxCode record
PayrollTaxCode details: see PayrollUSTaxTransactionHistorySummaryEntity, HcmTotalCompStatementSectionTaxEntity, PayrollPayStatementTaxLineEntity
WorkerTaxCode_Worker→HcmWorker.RecId(key of HcmWorker)Many PayrollWorkerTaxCode records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
TaxCode_Worker_CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PayrollTaxCode records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
Need help with PayrollWorkerTaxCodeParameterEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.