Data entity
PayrollWorkerAddressEntity
List of worker postal addresses that can be read and written. Each record is keyed by personnel number, location ID and the start of validity of the postal address. It is built from postal address, location, party location and worker tables. It shows the address lines, country/region, effective and expiration dates, and whether it is a lived-in or worked-in address.
- Entity name
PayrollWorkerAddressEntity- Public entity name
PayrollWorkerAddress- OData collection
PayrollWorkerAddresses- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
PersonnelNumber, LocationId, PostalAddressValidFrom- Staging table
PayrollWorkerAddressStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PayrollWorkerAddresses- Dataverse virtual table
mserp_payrollworkeraddressentity. 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
LogisticsPostalAddress· root · read-onlyLogisticsLocation· InnerJoin toLogisticsPostalAddress· read-onlyDirPartyLocation· InnerJoin toLogisticsLocation· read-onlyHcmWorker· InnerJoin toDirPartyLocation· read-onlyPayrollPersonLocationRolesExistView· InnerJoin toDirPartyLocation· read-only
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
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 | |
IsLivedInAddressIndicates whether this address is one where the worker lives. | Enum
| No | Yes | computed | |
IsWorkedInAddressIndicates whether this address is one where the worker works. | Enum
| No | Yes | computed | |
CountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
ZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
StreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
CityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
StateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
CountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
PostalAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
PostalAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
AssignmentDateDate and time when the location was assigned to the party. | UtcDateTimeDirAssignmentDateTime | No | Yes | DirPartyLocation.AssignmentDate |
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.
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
County→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
County=LogisticsAddressCounty.CountyId,CountryRegionId=LogisticsAddressCounty.CountryRegionId,State=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
Need help with PayrollWorkerAddressEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.