Data entity
RentalLocationEntity
Fleet locations, the places where fleet items are kept or sent. Each row has a description, a location type, and optional parent and transit locations. It can link to a job site and holds a full address with coordinates. The key is the location ID.
- Entity name
RentalLocationEntity- Public entity name
RentalLocation- OData collection
RentalLocations- Category
Reference- Module
Rental management- Read-only
No- Data management enabled
Yes- Configuration key
Rental- Keys
LocationId- Staging table
RentalLocationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RentalLocations- Dataverse virtual table
mserp_rentallocationentity. 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
RentalLocation· rootRentalJobSite· OuterJoin toRentalLocation· read-onlyLogisticsPostalAddressBaseEntity· OuterJoin toRentalLocation
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LocationIdUnique ID of the fleet location. | String (100)RentalLocationId | Yes | Yes | RentalLocation.LocationId | |
DescriptionText description of the fleet location. | String (100)RentalLocationDescription | No | Yes | RentalLocation.Description | |
LocationTypeKind of location: hub, hub location, transit, job site or default. | Enum
| Yes | Yes | RentalLocation.LocationType | |
ParentLocationIdThe parent fleet location, used in hub relationships. | String (100)RentalLocationId | No | Yes | RentalLocation.LocationId | RentalLocation.ParentLocationId |
TransitLocationIdThe transit fleet location linked to this hub. | String (100)RentalLocationId | No | Yes | RentalLocation.LocationId | RentalLocation.TransitLocationId |
JobSiteIdUnique ID of the job site. | String (20)RentalJobSiteId | Yes | Yes | RentalJobSite.JobSiteId | |
AddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
AddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
AddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
AddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
AddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
AddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
AddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
AddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
AddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
AddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
AddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
AddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
AddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
AddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
AddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
AddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
AddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
AddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
FormattedAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
JobSiteThe job site linked to this location. | Int64RentalJobSiteRecId | No | No (private) | RentalJobSite.RecId | RentalLocation.JobSite |
LogisticsLocationThe address location record linked to this fleet location. | Int64LogisticsLocationRecId | No | No (private) | LogisticsLocation.RecId | RentalLocation.LogisticsLocation |
Foreign keys (7)
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.
ParentLocationId→RentalLocation.LocationId(key of RentalLocation)Relation also requires RentalLocation.LocationType = RentalLocationType::Hub.
Many RentalLocation records → zero or one RentalLocation record
RentalLocation details: see RentalContractHeaderEntity, RentalQuotationHeaderEntity
TransitLocationId→RentalLocation.LocationId(key of RentalLocation)Relation also requires RentalLocation.LocationType = RentalLocationType::Transit.
Many RentalLocation records → zero or one RentalLocation record
RentalLocation details: see RentalContractHeaderEntity, RentalQuotationHeaderEntity
AddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
AddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
AddressCountyId=LogisticsAddressCounty.CountyId,AddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,AddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
AddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
AddressStateId=LogisticsAddressState.StateId,AddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
JobSite→RentalJobSite.RecId(key of RentalJobSite)Many RentalLocation records → zero or one RentalJobSite record
RentalJobSite details: see RentalJobSiteEntity, RentalContractHeaderEntity, RentalContractLineEntity
LogisticsLocation→LogisticsLocation.RecId(key of LogisticsLocation)Many RentalLocation records → zero or one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with RentalLocationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.