Data entity
ScpDemandPlanningSiteEntity
Read-only list of sites for demand planning. It is keyed by site ID and company party. It holds the site name and time zone, plus the postal address details such as street, city, country/region and coordinates.
- Entity name
ScpDemandPlanningSiteEntity- Public entity name
DemandPlanningSite- OData collection
DemandPlanningSites- Category
Not set- Module
Supply chain planning- Read-only
Yes- Data management enabled
Yes- Configuration key
SupplyChainPlanning- Keys
SiteId, DataAreaPartyId- Staging table
ScpDemandPlanningSiteStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DemandPlanningSites- Dataverse virtual table
mserp_scpdemandplanningsiteentity. 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
InventSite· rootInventOperationalSitePostalAddressEntity· OuterJoin toInventSiteCompanyInfo· InnerJoin toInventSite
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SiteIdThe unique ID of the site. | StringInventSiteId | Yes | Yes | InventSite.SiteId | |
SiteNameThe name of the site. | String (60)InventSiteName | No | Yes | InventSite.Name | |
SiteTimezoneThe time zone of the site. | Enum
| No | Yes | InventSite.Timezone | |
PrimaryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
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 | |
PrimaryAddressLocationRolesThe role or roles the address has for the site. | String (1000)DMFLocationRole | No | Yes | None | |
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 | |
PrimaryAddressPostBoxPost office box number. | String (20)LogisticsAddressPostBox | No | Yes | LogisticsPostalAddress.PostBox | |
PrimaryAddressBuildingComplimentExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
FormattedPrimaryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
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 | |
IsPrimaryAddressAssignedShows whether a primary address has been assigned to the site. | EnumInventAddressAssigned
| No | Yes | computed | |
DataAreaPartyIdUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
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.
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 ScpDemandPlanningSiteEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.