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 · root
  • InventOperationalSitePostalAddressEntity · OuterJoin to InventSite
  • CompanyInfo · InnerJoin to InventSite

Fields (23)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SiteIdThe unique ID of the site.String
InventSiteId
YesYesInventSite.SiteId
SiteNameThe name of the site.String (60)
InventSiteName
NoYesInventSite.Name
SiteTimezoneThe time zone of the site.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesInventSite.Timezone
PrimaryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
PrimaryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
PrimaryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
PrimaryAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
PrimaryAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
PrimaryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
PrimaryAddressLocationRolesThe role or roles the address has for the site.String (1000)
DMFLocationRole
NoYesNone
PrimaryAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
PrimaryAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
PrimaryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
PrimaryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
PrimaryAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
PrimaryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
PrimaryAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
PrimaryAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
FormattedPrimaryAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
PrimaryAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
PrimaryAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
IsPrimaryAddressAssignedShows whether a primary address has been assigned to the site.Enum
InventAddressAssigned
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
DataAreaPartyIdUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.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.StateId

    Many 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.CountryRegionId

    Many 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.

Email sales@drdynamics.co.uk