Data entity
ProjForecastSalesEntity
Holds item forecasts for projects. Records come from the demand forecast table and are identified by allocation method, end date, periods, unit, period key and project transaction ID. They have the item number, quantity, prices, currency and customer details. They also link to a funding source and inventory dimensions.
- Entity name
ProjForecastSalesEntity- Public entity name
ProjectItemForecast- OData collection
ProjectItemForecasts- Category
Transaction- Module
Project management and accounting- Read-only
No- Data management enabled
Yes- Configuration key
Forecast- Keys
AllocateMethod, EndDate, Periods, Unit, PeriodKeyId, ProjectTransactionId- Staging table
ProjForecastSalesStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ProjectItemForecasts- Dataverse virtual table
mserp_projforecastsalesentity. 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
ForecastSales· rootFundingSource(tableProjFundingSource) · OuterJoin toForecastSales· read-onlyDimensionDAVS(tableDimensionSetEntity) · OuterJoin toForecastSales· read-onlyInventDim· OuterJoin toForecastSales· read-only
Fields (61)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActiveShows whether the forecast line is active. | Enum
| No | Yes | ForecastSales.Active | |
ActivityNumberNumber of the activity the line is linked to. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | ForecastSales.ActivityNumber |
AllocateMethodHow the amount is spread over time: not at all, by period or by a key. | Enum
| No | Yes | ForecastSales.AllocateMethod | |
AmountAmount of the forecast line, in the currency given in the Currency field. | RealAmountCur | No | Yes | ForecastSales.Amount | |
BudgetCommentFree-text comment on the line. | String (60)BudgetComment | No | Yes | ForecastSales.Comment | |
CostPriceCost price of the item on the forecast line. | RealCostPrice | No | Yes | ForecastSales.CostPrice | |
CashFlowForecastShows whether the line is included in cash flow forecasts. | EnumLedgerAppropriation
| No | Yes | ForecastSales.Cov | |
CurrencyCurrency code for the line. It points to a record in the currency table. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ForecastSales.Currency |
CustomerAccountIdCustomer account the forecast is for. It points to a customer. | String (20)CustAccount | No | Yes | CustTable.AccountNum | ForecastSales.CustAccountId |
CustomerGroupIdCustomer group the forecast is for. It points to a customer group. | StringCustGroupId | No | Yes | CustGroup.CustGroup | ForecastSales.CustGroupId |
DefaultDimensionFinancial dimension values attached to the line, as a dimension value set. | Int64InventSiteLinkedDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | ForecastSales.DefaultDimension |
DiscountAmountDiscount amount per unit on the line. | RealUnitDiscountAmountCur | No | Yes | ForecastSales.DiscAmount | |
DiscountPercentDiscount given as a percentage. | RealDiscPct | No | Yes | ForecastSales.DiscPercent | |
EndDateEnd date of the forecast line. | DateEndDate | No | Yes | ForecastSales.EndDate | |
PeriodsNumber of time units in one period of the forecast. | IntegerPeriods | No | Yes | ForecastSales.Freq | |
UnitTime unit for the period: days, months, years or all. | Enum
| No | Yes | ForecastSales.FreqCode | |
InventDimensionIdLink to the inventory dimensions of the line, such as site or warehouse. | String (20)InventDimId | No | Yes | InventDim.inventDimId | ForecastSales.InventDimId |
InventQuantityQuantity in the inventory unit. | RealInventQty | No | Yes | ForecastSales.InventQty | |
ItemAllocateIdItem allocation key used to split the forecast. | StringForecastItemAllocationId | No | Yes | ForecastItemAllocation.AllocateId | ForecastSales.ItemAllocateId |
ItemBOMIdBill of materials used as the sub-BOM for the item. | String (20)ItemBOMId | No | Yes | BOMTable.BOMId | ForecastSales.ItemBOMId |
ItemGroupIdItem group the forecast is for. It points to an item group. | StringItemGroupId | No | Yes | InventItemGroup.ItemGroupId | ForecastSales.ItemGroupId |
ItemIdItem the forecast is for. It points to an item. | String (20)ItemId | No | Yes | InventTable.ItemId | ForecastSales.ItemId |
ItemRouteIdRoute used as the subroute for the item. | String (20)ItemRouteId | No | Yes | RouteTable.RouteId | ForecastSales.ItemRouteId |
PeriodKeyIdPeriod allocation key used to spread the forecast over periods. | StringLedgerAllocateKeyId | No | Yes | LedgerAllocateKey.Key | ForecastSales.KeyId |
ModelIdForecast model the line belongs to. | StringForecastModelHeadId | Yes | Yes | ForecastSales.ModelId | |
CWQuantityQuantity in the catch weight unit. | RealPdsCWInventQty | No | Yes | ForecastSales.PdsCWQty | |
CWUnitIdUnit of measure used for catch weight. | StringPdsCWUnitId | No | Yes | ForecastSales.PdsCWUnitId | |
PriceUnitNumber of units that one price applies to. | RealPriceUnit | No | Yes | ForecastSales.PriceUnit | |
ProjectCategoryIdProject category for the line. It points to a project category. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | ForecastSales.ProjCategoryId |
ProjectForecastBudgetTypeType of project budget line: original, remaining, revision or carry-forward. | Enum
| No | Yes | ForecastSales.ProjForecastBudgetType | |
ProjectForecastCostPaymentDateExpected date the cost is paid, for project forecasts. | DateProjForecastCostPaymDate | No | Yes | ForecastSales.ProjForecastCostPaymDate | |
ProjectForecastEliminationDateElimination date for the project forecast. | DateProjForecastEliminationDate | No | Yes | ForecastSales.ProjForecastEliminationDate | |
ProjectForecastInvoiceDateExpected invoice date for the project forecast. | DateProjForecastInvoiceDate | No | Yes | ForecastSales.ProjForecastInvoiceDate | |
ProjectForecastSalesPaymentDateExpected date the sale is paid, for project forecasts. | DateProjForecastSalesPaymDate | No | Yes | ForecastSales.ProjForecastSalesPaymDate | |
ProjectFundingSourceProject funding source for the line, by record ID. | Int64ProjFundingSourceRefId | No | No (private) | ProjFundingSource.RecId | ForecastSales.ProjFundingSource |
ProjectIdProject the line belongs to. It points to a project. | String (20)ProjId | No | Yes | ProjTable.ProjId | ForecastSales.ProjId |
ProjectLinePropertyIdProject line property assigned to the line. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | ForecastSales.ProjLinePropertyId |
ProjectTransactionIdProject transaction ID linked to the line. | String (20)ProjTransIdBase | No | Yes | ForecastSales.ProjTransId | |
ReportYes/no flag called Report. Its exact meaning is not stated in the metadata.low confidence | Enum
| No | No (private) | ForecastSales.Report | |
SalesMarkupSales charges amount on the line. | RealSalesMarkup | No | Yes | ForecastSales.SalesMarkup | |
SalesPriceUnit selling price. | RealSalesPrice | No | Yes | ForecastSales.SalesPrice | |
SalesQuantityForecast quantity in the sales unit. | RealSalesQty | No | Yes | ForecastSales.SalesQty | |
SalesUnitIdUnit of measure for the sales quantity. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | ForecastSales.SalesUnitId |
StartDateStart date of the forecast line. | DateStartDate | Yes | Yes | ForecastSales.StartDate | |
TaxGroupIdSales tax group applied to the line. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | ForecastSales.TaxGroupId |
TaxItemGroupIdItem sales tax group applied to the line. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | ForecastSales.TaxItemGroupId |
FundingSourceIDCode that identifies the funding source within the contract. | String (20)ProjFundingSourceId | Yes | Yes | ProjFundingSource.FundingSourceId | |
ProjectContractIDID of the project contract that this funding source belongs to. | String (20)ProjInvoiceProjId | Yes | Yes | ProjInvoiceTable.ProjInvoiceProjId | ProjFundingSource.ContractId |
DefaultDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
StorageSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
StorageWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
StorageLocationIdLocation inside the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | InventDim.wMSLocationId |
CovStatusNumber showing the cash flow forecast status of the line.low confidence | IntegerCovStatus | No | No (private) | ForecastSales.CovStatus | |
PlanningPriorityNumber that ranks how important this forecast demand is for planning. | RealReqPlanningPriority | No | Yes | ForecastSales.PlanningPriority | |
KittingInventTransIdID of the kit linked to the line. | String (20)KittingInventTransId | No | Yes | ForecastSales.KittingInventTransId | |
KittingLineNumLine number within the kit. | RealLineNum | No | Yes | ForecastSales.KittingLineNum |
Foreign keys (28)
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.
ActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many ForecastSales records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
Currency→Currency.CurrencyCode(key of Currency)Many ForecastSales records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
CustomerAccountId→CustTable.AccountNum(key of CustTable)Many ForecastSales records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
CustomerGroupId→CustGroup.CustGroup(key of CustGroup)Many ForecastSales records → zero or one CustGroup record
CustGroup details: see CustCustomerGroupEntity, RetailPriceGroupApplicabilityRuleEntity, WHSCustomerGroupProductFilterEntity
DefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many ForecastSales records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
InventDimensionId→InventDim.inventDimId(key of InventDim)Many ForecastSales records → zero or one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
ItemAllocateId→ForecastItemAllocation.AllocateId(key of ForecastItemAllocation)Many ForecastSales records → zero or one ForecastItemAllocation record
Not exposed by a public entity.
ItemBOMId→BOMTable.BOMId(key of BOMTable)Many ForecastSales records → zero or one BOMTable record
BOMTable details: see BOMBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderV3Entity
ItemGroupId→InventItemGroup.ItemGroupId(key of InventItemGroup)Many ForecastSales records → zero or one InventItemGroup record
InventItemGroup details: see InventProductGroupEntity, RAssetInventIssueQuotasEntity, InventItemGroupBiEntity
ItemId→InventTable.ItemId(key of InventTable)Many ForecastSales records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ItemRouteId→RouteTable.RouteId(key of RouteTable)Many ForecastSales records → zero or one RouteTable record
RouteTable details: see RouteHeaderEntity, EngChgReceivedProductReleaseLineEntity, EngChgSentProductReleaseLineEntity
PeriodKeyId→LedgerAllocateKey.Key(key of LedgerAllocateKey)Many ForecastSales records → zero or one LedgerAllocateKey record
LedgerAllocateKey details: see LedgerPeriodAllocationCategoryEntity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many ForecastSales records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectFundingSource→ProjFundingSource.RecId(key of ProjFundingSource)Many ForecastSales records → zero or one ProjFundingSource record
ProjFundingSource details: see ProjFundingSourceEntity, ProjCDSProjectContractEntity, AdvancedLedgerEntryEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many ForecastSales records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many ForecastSales records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
SalesUnitId→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many ForecastSales records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
TaxGroupId→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many ForecastSales records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
TaxItemGroupId→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many ForecastSales records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ProjectContractID→ProjInvoiceTable.ProjInvoiceProjId(key of ProjInvoiceTable)Many ProjFundingSource records → exactly one ProjInvoiceTable record
ProjInvoiceTable details: see ProjProjectContractHeaderEntity, ProjContractEntity, ProjCDSProjectContractEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
StorageSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
StorageWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
StorageLocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
StorageLocationId=WMSLocation.wMSLocationId,StorageWarehouseId=WMSLocation.inventLocationIdMany InventDim records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
Need help with ProjForecastSalesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.