Data entity
ForecastSalesBiEntity
Read-only entity for BI that holds demand forecast lines. Each line can have an item, customer or customer group, quantity, amount, cost price, discount and currency. It also has period, model, dimension and cash flow forecast fields.
- Entity name
ForecastSalesBiEntity- Public entity name
ForecastSalesBiEntity- OData collection
ForecastSalesBiEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
Forecast- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ForecastSalesBiEntities- Dataverse virtual table
mserp_forecastsalesbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
ForecastSales· root · read-only
Fields (60)
| 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 | |
CommentFree-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 | |
CovShows whether the line is included in cash flow forecasts. | EnumLedgerAppropriation
| No | Yes | ForecastSales.Cov | |
CovStatusNumber showing the cash flow forecast status of the line.low confidence | IntegerCovStatus | No | Yes | ForecastSales.CovStatus | |
CurrencyCurrency code for the line. It points to a record in the currency table. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ForecastSales.Currency |
CustAccountIdCustomer account the forecast is for. It points to a customer. | String (20)CustAccount | No | Yes | CustTable.AccountNum | ForecastSales.CustAccountId |
CustGroupIdCustomer 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 | Yes | DimensionAttributeValueSet.RecId | ForecastSales.DefaultDimension |
DefaultDimensionValuesJsonDefault dimension values of the forecast line, held as JSON text. | String | No | Yes | computed | |
DiscAmountDiscount amount per unit on the line. | RealUnitDiscountAmountCur | No | Yes | ForecastSales.DiscAmount | |
DiscPercentDiscount given as a percentage. | RealDiscPct | No | Yes | ForecastSales.DiscPercent | |
EndDateEnd date of the forecast line. | DateEndDate | No | Yes | ForecastSales.EndDate | |
ExpandIdRecord ID of the demand forecast line this line was expanded from. | Int64ForecastSalesRefRecId | No | Yes | ForecastSales.RecId | ForecastSales.ExpandId |
FreqNumber of time units in one period of the forecast. | IntegerPeriods | No | Yes | ForecastSales.Freq | |
FreqCodeTime unit for the period: days, months, years or all. | Enum
| No | Yes | ForecastSales.FreqCode | |
InventDimIdLink to the inventory dimensions of the line, such as site or warehouse. | String (20)InventDimId | No | Yes | InventDim.inventDimId | ForecastSales.InventDimId |
InventQtyQuantity 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 |
KeyIdPeriod 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 | |
PdsCWQtyQuantity in the catch weight unit. | RealPdsCWInventQty | No | Yes | ForecastSales.PdsCWQty | |
PdsCWUnitIdUnit of measure used for catch weight. | StringPdsCWUnitId | No | Yes | ForecastSales.PdsCWUnitId | |
PriceUnitNumber of units that one price applies to. | RealPriceUnit | No | Yes | ForecastSales.PriceUnit | |
ProjCategoryIdProject category for the line. It points to a project category. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | ForecastSales.ProjCategoryId |
ProjForecastBudgetTypeType of project budget line: original, remaining, revision or carry-forward. | Enum
| No | Yes | ForecastSales.ProjForecastBudgetType | |
ProjForecastCostPaymDateExpected date the cost is paid, for project forecasts. | DateProjForecastCostPaymDate | No | Yes | ForecastSales.ProjForecastCostPaymDate | |
ProjForecastEliminationDateElimination date for the project forecast. | DateProjForecastEliminationDate | No | Yes | ForecastSales.ProjForecastEliminationDate | |
ProjForecastInvoiceDateExpected invoice date for the project forecast. | DateProjForecastInvoiceDate | No | Yes | ForecastSales.ProjForecastInvoiceDate | |
ProjForecastSalesPaymDateExpected date the sale is paid, for project forecasts. | DateProjForecastSalesPaymDate | No | Yes | ForecastSales.ProjForecastSalesPaymDate | |
ProjFundingSourceProject funding source for the line, by record ID. | Int64ProjFundingSourceRefId | No | Yes | ProjFundingSource.RecId | ForecastSales.ProjFundingSource |
ProjIdProject the line belongs to. It points to a project. | String (20)ProjId | No | Yes | ProjTable.ProjId | ForecastSales.ProjId |
ProjLinePropertyIdProject line property assigned to the line. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | ForecastSales.ProjLinePropertyId |
ProjTransIdProject transaction ID linked to the line. | String (20)ProjTransIdBase | No | Yes | ForecastSales.ProjTransId | |
PSARefPurchLineRecord ID of a purchase order line the forecast refers to. | Int64PSAPurchRefRecId | No | Yes | PurchLine.RecId | ForecastSales.PSARefPurchLine |
ReportYes/no flag called Report. Its exact meaning is not stated in the metadata.low confidence | Enum
| No | Yes | ForecastSales.Report | |
SalesMarkupSales charges amount on the line. | RealSalesMarkup | No | Yes | ForecastSales.SalesMarkup | |
SalesPriceUnit selling price. | RealSalesPrice | No | Yes | ForecastSales.SalesPrice | |
SalesQtyForecast 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 |
ForecastEntryNumberSequence number that identifies the demand forecast entry. | String (25)ForecastDemandForecastNumSeq | No | Yes | ForecastSales.ForecastEntryNumber | |
DescriptionShort text describing the line. | String (60)TransTxt | No | Yes | ForecastSales.Description | |
PlanningPriorityNumber that ranks how important this forecast demand is for planning. | RealReqPlanningPriority | No | Yes | ForecastSales.PlanningPriority | |
ItemDescriptionLonger description text for the item. | String (1000)EcoResDescription | No | Yes | ForecastSales.ItemDescription | |
ContractLineIdBilling rule linked to the line. | StringPSAContractLineNum | No | Yes | ForecastSales.ContractLineId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | ForecastSales.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | ForecastSales.RecVersion | |
SysRowVersionNumberA system row version number that is used for change tracking. | Int64SysRowVersion | No | Yes | ForecastSales.SysRowVersion | |
SysModifiedByThe user who last changed the record. | String (20)ModifiedBy | No | Yes | ForecastSales.ModifiedBy | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | ForecastSales.DataAreaId |
Foreign keys (21)
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
CustAccountId→CustTable.AccountNum(key of CustTable)Many ForecastSales records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
CustGroupId→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
ExpandId→ForecastSales.RecId(key of ForecastSales)Many ForecastSales records → zero or one ForecastSales record
ForecastSales details: see ForecastDemandForecastV2Entity, ProjForecastSalesEntity, ForecastDemandForecastEntryEntity
InventDimId→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
KeyId→LedgerAllocateKey.Key(key of LedgerAllocateKey)Many ForecastSales records → zero or one LedgerAllocateKey record
LedgerAllocateKey details: see LedgerPeriodAllocationCategoryEntity
ProjCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many ForecastSales records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjFundingSource→ProjFundingSource.RecId(key of ProjFundingSource)Many ForecastSales records → zero or one ProjFundingSource record
ProjFundingSource details: see ProjFundingSourceEntity, ProjCDSProjectContractEntity, AdvancedLedgerEntryEntity
ProjId→ProjTable.ProjId(key of ProjTable)Many ForecastSales records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjLinePropertyId→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many ForecastSales records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
PSARefPurchLine→PurchLine.RecId(key of PurchLine)Many ForecastSales records → zero or one PurchLine record
PurchLine details: see PurchPurchaseOrderLineV2ExistAddrReadOnlyEntity, PurchPurchaseOrderLineV2Entity, PurchPurchaseOrderLineEntity
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
Need help with ForecastSalesBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.