Data entity
PayrollWorkerResidentTaxRegionEntity
The tax region where a worker lives, valid over a date range. Keyed by worker and valid-from date. It links to the worker's tax region and location, and has a courtesy withholding setting.
- Entity name
PayrollWorkerResidentTaxRegionEntity- Public entity name
WorkerResidentTaxRegion- OData collection
WorkerResidentTaxRegions- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
PersonnelNumber, ValidFrom- Staging table
PayrollWorkerResidentTaxRegionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WorkerResidentTaxRegions- Dataverse virtual table
mserp_payrollworkerresidenttaxregionentity. 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
PayrollWorkerResidentTaxRegion· rootWorkerTaxRegion(tablePayrollWorkerTaxRegion) · InnerJoin toPayrollWorkerResidentTaxRegion· read-onlyTaxRegion(tablePayrollTaxRegion) · InnerJoin toWorkerTaxRegion· read-onlyLogistics(tableLogisticsLocation) · InnerJoin toTaxRegion· read-onlyWorker(tableHcmWorker) · InnerJoin toPayrollWorkerResidentTaxRegion· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ValidFromFirst date on which the resident tax region is valid. | DateValidFromDate | No | Yes | PayrollWorkerResidentTaxRegion.ValidFrom | |
ValidToLast date on which the resident tax region is valid. | DateValidToDate | Yes | Yes | PayrollWorkerResidentTaxRegion.ValidTo | |
WorkerPoints to the worker whose resident tax region is recorded. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | PayrollWorkerResidentTaxRegion.Worker |
WorkerTaxRegionPoints to the worker tax region that is the resident region. | Int64PayrollWorkerTaxRegionRecId | Yes | No (private) | PayrollWorkerTaxRegion.RecId | PayrollWorkerResidentTaxRegion.WorkerTaxRegion |
IsApplyingCourtesyWithholdingYes or no flag for applying courtesy withholding. | EnumNoYesId
| No | Yes | PayrollWorkerResidentTaxRegion.IsApplyingCourtesyWithholding | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | Yes | Yes | HcmWorker.PersonnelNumber | |
TaxRegionPoints to the tax region assigned to the worker. | Int64PayrollTaxRegionRecId | Yes | No (private) | PayrollTaxRegion.RecId | PayrollWorkerTaxRegion.TaxRegion |
LocationPoints to the location record that defines this tax region. | Int64LogisticsLocationRecId | Yes | No (private) | LogisticsLocation.RecId | PayrollTaxRegion.LogisticsLocation |
LocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | Yes | Yes | LogisticsLocation.LocationId |
Foreign keys (4)
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many PayrollWorkerResidentTaxRegion records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
WorkerTaxRegion→PayrollWorkerTaxRegion.RecId(key of PayrollWorkerTaxRegion)Many PayrollWorkerResidentTaxRegion records → exactly one PayrollWorkerTaxRegion record
PayrollWorkerTaxRegion details: see PayrollWorkerTaxRegionEntity, PayrollEarningStatementLineEntity, PayrollPositionWorkerDefaultTaxRgnEntity
TaxRegion→PayrollTaxRegion.RecId(key of PayrollTaxRegion)Many PayrollWorkerTaxRegion records → exactly one PayrollTaxRegion record
PayrollTaxRegion details: see PayrollEarningStatementLineEntity, PayrollPayStatementEarningLineEntity, PayrollPositionWorkerDefaultTaxRgnEntity
Location→LogisticsLocation.RecId(key of LogisticsLocation)Zero or one PayrollTaxRegion record → exactly one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with PayrollWorkerResidentTaxRegionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.