Data entity
ScpDemandPlanningCustomerAccountEntity
Read-only list of customer accounts for demand planning. It is keyed by customer account and company. It holds the customer group, segment, currency and name. It also holds address details and effective and expiration dates, taken from the party and postal address data.
- Entity name
ScpDemandPlanningCustomerAccountEntity- Public entity name
DemandPlanningCustomerAccount- OData collection
DemandPlanningCustomerAccounts- Category
Not set- Module
Supply chain planning- Read-only
Yes- Data management enabled
Yes- Configuration key
SupplyChainPlanning- Keys
CustomerAccount, CustomerDataAreaId- Staging table
ScpDemandPlanningCustomerAccountStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DemandPlanningCustomerAccounts- Dataverse virtual table
mserp_scpdemandplanningcustomeraccountentity. 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
CustTable· rootDirPartyBaseEntity· InnerJoin toCustTableLogisticsPostalAddressBaseEntity· OuterJoin toDirPartyBaseEntity
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerAccountUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
CustomerGroupIdCustomer group that the customer is placed in. | StringCustGroupId | Yes | Yes | CustGroup.CustGroup | CustTable.CustGroup |
SalesSegmentIdMarket segment that the customer belongs to. | String (20)smmSegmentId | No | Yes | smmBusRelSegmentGroup.SegmentId | CustTable.SegmentId |
SalesCurrencyCodeDefault currency code for the customer. | String (3)CustCurrencyCode | Yes | Yes | Currency.CurrencyCode | CustTable.Currency |
NameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
NameAliasShort search name for finding the party (up to 20 characters). | String (20)NameAlias | No | Yes | DirPartyTable.NameAlias | |
PartyTypeRecord type of the party, such as person or organization. | String (13)DirPartyInstanceRelationTypeName | No | Yes | None | |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
FullPrimaryAddressThe full address as one formatted text. | String (250)LogisticsAddressing | No | Yes | LogisticsPostalAddress.Address | |
AddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
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 |
AddressCountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
AddressStateState 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 | |
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 | |
CustomerDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | CustTable.DataAreaId |
Foreign keys (6)
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.
CustomerGroupId→CustGroup.CustGroup(key of CustGroup)Many CustTable records → exactly one CustGroup record
CustGroup details: see CustCustomerGroupEntity, RetailPriceGroupApplicabilityRuleEntity, WHSCustomerGroupProductFilterEntity
SalesSegmentId→smmBusRelSegmentGroup.SegmentId(key of smmBusRelSegmentGroup)Many CustTable records → zero or one smmBusRelSegmentGroup record
Not exposed by a public entity.
SalesCurrencyCode→Currency.CurrencyCode(key of Currency)Many CustTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
AddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
AddressCounty→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
AddressCounty=LogisticsAddressCounty.CountyId,AddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,AddressState=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
AddressState→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
AddressState=LogisticsAddressState.StateId,AddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with ScpDemandPlanningCustomerAccountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.