Data entity
PayrollWorkerTaxRegionEntity
Tax regions that apply to a worker, one for each location. It shows the political subdivision, municipality and school district. It links to the worker, location and resident tax region.
- Entity name
PayrollWorkerTaxRegionEntity- Public entity name
WorkerTaxRegion- OData collection
WorkerTaxRegions- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
PersonnelNumber, LocationId- Staging table
PayrollWorkerTaxRegionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WorkerTaxRegions- Dataverse virtual table
mserp_payrollworkertaxregionentity. 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
PayrollWorkerTaxRegion· rootTaxRegion(tablePayrollTaxRegion) · InnerJoin toPayrollWorkerTaxRegion· read-onlyLogistics(tableLogisticsLocation) · InnerJoin toTaxRegion· read-onlyWorker(tableHcmWorker) · InnerJoin toPayrollWorkerTaxRegion· read-onlyPayrollWorkerResidentTaxRegion· OuterJoin toPayrollWorkerTaxRegion· read-onlyPayrollWorkerTaxRegionForSymmetry· OuterJoin toPayrollWorkerTaxRegion
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TaxRegionPoints to the tax region assigned to the worker. | Int64PayrollTaxRegionRecId | Yes | No (private) | PayrollTaxRegion.RecId | PayrollWorkerTaxRegion.TaxRegion |
WorkerPoints to the worker who is linked to the tax region. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | PayrollWorkerTaxRegion.Worker |
LocationPoints to the location record that defines this tax region. | Int64LogisticsLocationRecId | Yes | No (private) | LogisticsLocation.RecId | PayrollTaxRegion.LogisticsLocation |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
LocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | Yes | Yes | LogisticsLocation.LocationId | |
WorkerResidentTaxRegionRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | PayrollWorkerResidentTaxRegion.RecId | |
ValidFromFirst date on which the resident tax region is valid. | DateValidFromDate | No | No (private) | PayrollWorkerResidentTaxRegion.ValidFrom | |
ValidToLast date on which the resident tax region is valid. | DateValidToDate | Yes | No (private) | PayrollWorkerResidentTaxRegion.ValidTo | |
IsResidentText value showing whether the region is the worker's resident tax region. The meaning of its values is not defined in the metadata.low confidence | String | No | Yes | computed | |
PoliticalSubDivisionIdIdentifier of the political sub-division, such as a state or district, for the region. | StringPayrollPoliticalSubdivisionId | No | Yes | PayrollWorkerTaxRegion.PoliticalSubDivisionId | |
MunicipalityIdID of the municipality. | StringPayrollMunicipalityId | No | Yes | PayrollWorkerTaxRegionForSymmetry.MunicipalityId | |
SchoolDistrictIdID of the school district. | StringPayrollSchoolDistrictId | No | Yes | PayrollWorkerTaxRegionForSymmetry.SchoolDistrictId |
Foreign keys (3)
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.
TaxRegion→PayrollTaxRegion.RecId(key of PayrollTaxRegion)Many PayrollWorkerTaxRegion records → exactly one PayrollTaxRegion record
PayrollTaxRegion details: see PayrollEarningStatementLineEntity, PayrollPayStatementEarningLineEntity, PayrollPositionWorkerDefaultTaxRgnEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many PayrollWorkerTaxRegion records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Location→LogisticsLocation.RecId(key of LogisticsLocation)Zero or one PayrollTaxRegion record → exactly one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with PayrollWorkerTaxRegionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.