Data entity
PayrollWorkerAddressCurrentEntity
Read-only list of the current addresses of workers. Each record is keyed by personnel number and location ID. It is built from party location links, worker, postal address and location 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
PayrollWorkerAddressCurrentEntity- Public entity name
PayrollWorkerAddressCurrent- OData collection
PayrollWorkerAddressesCurrent- Category
Not set- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
PersonnelNumber, LocationId- Staging table
PayrollWorkerAddressCurrentStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PayrollWorkerAddressesCurrent- Dataverse virtual table
mserp_payrollworkeraddresscurrententity. 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
DirPartyLocation· root · read-onlyPayrollPersonLocationRolesExistView· InnerJoin toDirPartyLocation· read-onlyHcmWorker· InnerJoin toDirPartyLocation· read-onlyLogisticsPostalAddress· InnerJoin toDirPartyLocation· read-onlyLogisticsLocation· InnerJoin toLogisticsPostalAddress· 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 PayrollWorkerAddressCurrentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.