Table
ForecastPurch
Supply forecast
Supply forecast lines for purchasing. Each line holds an item, vendor, quantity, price, dates, period settings and tax groups, and is linked to a forecast model. It can link to other records of itself through an expand ID. The table has no defined key in the metadata.
- Table name
ForecastPurch- Module
Master planning- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Forecast- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (43)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActiveYes/no flag showing whether the line is active. | EnumNoYes (enum) | No | None | |
AllocateMethodAllocation method: none, period or key. | EnumBudgetAllocateMethod (enum) | No | ForecastSupplyForecastEntryEntity | |
AmountAmount of the forecast line. A separate currency field is present; the currency is not otherwise stated in the metadata. | RealAmountCur | No | ForecastSupplyForecastEntryEntity | |
CommentFree-text comment on the line. | String (60)BudgetComment | No | None | |
CovYes/no flag for including the line in cash flow forecasts. | EnumLedgerAppropriationNoYes (enum) | No | None | |
CovStatusNumber showing the cash flow forecast status.low confidence | IntegerCovStatus | No | None | |
CurrencyThe currency code for the line. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ForecastSupplyForecastEntryEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of financial dimension values for the line. | Int64InventSiteLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DiscAmountDiscount amount per unit. | RealUnitDiscountAmountCur | No | ForecastSupplyForecastEntryEntity | |
DiscPercentDiscount percentage. | RealDiscPct | No | ForecastSupplyForecastEntryEntity | |
EndDateEnd date of the forecast line. | DateEndDate | No | None | |
ExpandIdPoints to another supply forecast record that this line was expanded from or with.low confidence | Int64ForecastPurchRefRecId | No | ForecastPurch.RecId | None |
FreqNumber of periods for the frequency setting. | IntegerPeriods | No | None | |
FreqCodeUnit for the frequency: days, months, years or all. | EnumPeriodUnit (enum) | No | None | |
InventDimIdPoints to the inventory dimensions of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventQtyQuantity in inventory units. | RealInventQty | No | ForecastSupplyForecastEntryEntity | |
ItemAllocateIdThe item allocation key used for the line. | StringForecastItemAllocationId | No | ForecastItemAllocation.AllocateId | ForecastSupplyForecastEntryEntity |
ItemBOMIdThe bill of materials used as a sub-BOM. | String (20)ItemBOMId | No | BOMTable.BOMId | ForecastSupplyForecastEntryEntity |
ItemGroupIdThe item group of the line. | StringItemGroupId | No | InventItemGroup.ItemGroupId | ForecastSupplyForecastEntryEntity |
ItemIdThe item being forecast. | String (20)ItemId | No | InventTable.ItemId | ForecastSupplyForecastEntryEntity |
ItemRouteIdThe route used as a subroute. | String (20)ItemRouteId | No | RouteTable.RouteId | ForecastSupplyForecastEntryEntity |
KeyIdThe period allocation key used for the line. | StringLedgerAllocateKeyId | No | LedgerAllocateKey.Key | None |
ModelIdThe forecast model that the line belongs to. | StringForecastModelHeadId | Yes | ForecastSupplyForecastEntryEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWQtyQuantity in the catch weight unit. | RealPdsCWInventQty | No | ForecastSupplyForecastEntryEntity | |
PdsCWUnitIdID of the catch weight unit. | StringPdsCWUnitId | No | ForecastSupplyForecastEntryEntity | |
PriceUnitThe number of units that the price applies to. | RealPriceUnit | No | ForecastSupplyForecastEntryEntity | |
PurchMarkupCharges on the purchase. | RealPurchMarkup | No | None | |
PurchPriceUnit price for the purchase. | RealPurchPrice | No | ForecastSupplyForecastEntryEntity | |
PurchQtyQuantity in the purchase unit. | RealPurchQty | No | ForecastSupplyForecastEntryEntity | |
PurchUnitIdThe purchase unit of measure. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | ForecastSupplyForecastEntryEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ForecastSupplyForecastEntryEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReportYes/no flag with the label Report. Its exact meaning is not stated.low confidence | EnumNoYes (enum) | No | None | |
StartDateStart date of the forecast line. | DateStartDate | Yes | ForecastSupplyForecastEntryEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupIdThe sales tax group for the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupIdThe item sales tax group for the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
VendAccountIdThe vendor account for the line. | String (20)VendAccount | No | VendTable.AccountNum | ForecastSupplyForecastEntryEntity |
VendGroupIdThe vendor group for the line. | StringVendGroupId | No | VendGroup.VendGroup | ForecastSupplyForecastEntryEntity |
Indexes (7)
ItemIdxNot unique.
ModelIdxNot unique.
AccountIdxVendAccountId,ModelId,StartDateNot unique.
ItemGroupIdxItemGroupId,ItemId,ModelId,StartDateNot unique.
VendGroupIdxVendGroupId,VendAccountId,ModelId,StartDateNot unique.
ExpandIdxUnique.
CovIdxNot unique.
Relations (16)
Each relation joins ForecastPurch to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany ForecastPurch records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ForecastPurch records → zero or one DimensionAttributeValueSet record
ExpandForecastPurch→ForecastPurchJoin on
ExpandId = ForecastPurch.RecIdMany ForecastPurch records → zero or one ForecastPurch record
ForecastItemAllocation→ForecastItemAllocationJoin on
ItemAllocateId = ForecastItemAllocation.AllocateIdMany ForecastPurch records → zero or one ForecastItemAllocation record
ForecastModel→ForecastModelJoin on
ModelId = ForecastModel.ModelId,ForecastModel.Type = HeadingSub::HeadingMany ForecastPurch records → exactly one ForecastModel record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany ForecastPurch records → zero or one InventDim record
InventItemGroup→InventItemGroupJoin on
ItemGroupId = InventItemGroup.ItemGroupIdMany ForecastPurch records → zero or one InventItemGroup record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany ForecastPurch records → zero or one InventTable record
LedgerAllocateKey→LedgerAllocateKeyJoin on
KeyId = LedgerAllocateKey.KeyMany ForecastPurch records → zero or one LedgerAllocateKey record
PurchUnitId→UnitOfMeasureJoin on
PurchUnitId = UnitOfMeasure.SymbolMany ForecastPurch records → zero or one UnitOfMeasure record
RouteTable→RouteTableJoin on
ItemRouteId = RouteTable.RouteIdMany ForecastPurch records → zero or one RouteTable record
SubBOMTable→BOMTableJoin on
ItemBOMId = BOMTable.BOMIdMany ForecastPurch records → zero or one BOMTable record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ForecastPurch records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ForecastPurch records → zero or one TaxItemGroupHeading record
VendGroup→VendGroupJoin on
VendGroupId = VendGroup.VendGroupMany ForecastPurch records → zero or one VendGroup record
VendTable→VendTableJoin on
VendAccountId = VendTable.AccountNumMany ForecastPurch records → zero or one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from ForecastPurch; use one of them in Power BI, Power Platform or a data management project.
ForecastSupplyForecastEntryEntity· 22 fields from this table
Need help with ForecastPurch in a report, an integration or a migration? Talk to Dr Dynamics.