Data entity
ScpDemandPlanningWarehouseEntity
Read-only list of warehouses for demand planning. It is keyed by warehouse ID and company party. It holds the warehouse type, site, name and time zone, plus postal address details such as street, city, country/region and coordinates.
- Entity name
ScpDemandPlanningWarehouseEntity- Public entity name
DemandPlanningWarehouse- OData collection
DemandPlanningWarehouses- Category
Not set- Module
Supply chain planning- Read-only
Yes- Data management enabled
Yes- Configuration key
SupplyChainPlanning- Keys
WarehouseId, DataAreaPartyId- Staging table
ScpDemandPlanningWarehouseStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DemandPlanningWarehouses- Dataverse virtual table
mserp_scpdemandplanningwarehouseentity. 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
InventLocation· rootInventWarehousePostalAddressEntity· OuterJoin toInventLocationCompanyInfo· InnerJoin toInventLocation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WarehouseIdID of the warehouse. It is the key of the table. | StringInventLocationId | Yes | Yes | InventLocation.InventLocationId | |
WarehouseTypeType of warehouse, such as default, quarantine or transit. | Enum
| No | Yes | InventLocation.InventLocationType | |
OperationalSiteIdSite the warehouse belongs to. Points to InventSite. | StringInventSiteId | Yes | Yes | InventSite.SiteId | InventLocation.InventSiteId |
WarehouseNameName of the warehouse. | String (60)InventLocationName | No | Yes | InventLocation.Name | |
PrimaryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
PrimaryAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | No (private) | LogisticsPostalAddress.ValidFrom | |
PrimaryAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | No (private) | LogisticsPostalAddress.ValidTo | |
FormattedPrimaryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
PrimaryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
PrimaryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
PrimaryAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
PrimaryAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
PrimaryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
PrimaryAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
PrimaryAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
PrimaryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
PrimaryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
PrimaryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
PrimaryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
PrimaryAddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
PrimaryAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
IsPrimaryAddressAssignedShows whether a primary address has been assigned to the warehouse. | EnumInventAddressAssigned
| No | Yes | computed | |
PrimaryAddressLocationRolesRoles assigned to the address location, shown as text. | String (1000)DMFLocationRole | No | Yes | None | |
DataAreaPartyIdUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
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.
OperationalSiteId→InventSite.SiteId(key of InventSite)Many InventLocation records → exactly one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
PrimaryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
PrimaryAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
PrimaryAddressCountyId=LogisticsAddressCounty.CountyId,PrimaryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,PrimaryAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
PrimaryAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
PrimaryAddressStateId=LogisticsAddressState.StateId,PrimaryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with ScpDemandPlanningWarehouseEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.