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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActiveYes/no flag showing whether the line is active.Enum
NoYes (enum)
NoNone
AllocateMethodAllocation method: none, period or key.Enum
BudgetAllocateMethod (enum)
NoForecastSupplyForecastEntryEntity
AmountAmount of the forecast line. A separate currency field is present; the currency is not otherwise stated in the metadata.Real
AmountCur
NoForecastSupplyForecastEntryEntity
CommentFree-text comment on the line.String (60)
BudgetComment
NoNone
CovYes/no flag for including the line in cash flow forecasts.Enum
LedgerAppropriation
NoYes (enum)
NoNone
CovStatusNumber showing the cash flow forecast status.low confidenceInteger
CovStatus
NoNone
CurrencyThe currency code for the line.String (3)
CurrencyCode
YesCurrency.CurrencyCodeForecastSupplyForecastEntryEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of financial dimension values for the line.Int64
InventSiteLinkedDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DiscAmountDiscount amount per unit.Real
UnitDiscountAmountCur
NoForecastSupplyForecastEntryEntity
DiscPercentDiscount percentage.Real
DiscPct
NoForecastSupplyForecastEntryEntity
EndDateEnd date of the forecast line.Date
EndDate
NoNone
ExpandIdPoints to another supply forecast record that this line was expanded from or with.low confidenceInt64
ForecastPurchRefRecId
NoForecastPurch.RecIdNone
FreqNumber of periods for the frequency setting.Integer
Periods
NoNone
FreqCodeUnit for the frequency: days, months, years or all.Enum
PeriodUnit (enum)
NoNone
InventDimIdPoints to the inventory dimensions of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventQtyQuantity in inventory units.Real
InventQty
NoForecastSupplyForecastEntryEntity
ItemAllocateIdThe item allocation key used for the line.String
ForecastItemAllocationId
NoForecastItemAllocation.AllocateIdForecastSupplyForecastEntryEntity
ItemBOMIdThe bill of materials used as a sub-BOM.String (20)
ItemBOMId
NoBOMTable.BOMIdForecastSupplyForecastEntryEntity
ItemGroupIdThe item group of the line.String
ItemGroupId
NoInventItemGroup.ItemGroupIdForecastSupplyForecastEntryEntity
ItemIdThe item being forecast.String (20)
ItemId
NoInventTable.ItemIdForecastSupplyForecastEntryEntity
ItemRouteIdThe route used as a subroute.String (20)
ItemRouteId
NoRouteTable.RouteIdForecastSupplyForecastEntryEntity
KeyIdThe period allocation key used for the line.String
LedgerAllocateKeyId
NoLedgerAllocateKey.KeyNone
ModelIdThe forecast model that the line belongs to.String
ForecastModelHeadId
YesForecastSupplyForecastEntryEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWQtyQuantity in the catch weight unit.Real
PdsCWInventQty
NoForecastSupplyForecastEntryEntity
PdsCWUnitIdID of the catch weight unit.String
PdsCWUnitId
NoForecastSupplyForecastEntryEntity
PriceUnitThe number of units that the price applies to.Real
PriceUnit
NoForecastSupplyForecastEntryEntity
PurchMarkupCharges on the purchase.Real
PurchMarkup
NoNone
PurchPriceUnit price for the purchase.Real
PurchPrice
NoForecastSupplyForecastEntryEntity
PurchQtyQuantity in the purchase unit.Real
PurchQty
NoForecastSupplyForecastEntryEntity
PurchUnitIdThe purchase unit of measure.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolForecastSupplyForecastEntryEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoForecastSupplyForecastEntryEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportYes/no flag with the label Report. Its exact meaning is not stated.low confidenceEnum
NoYes (enum)
NoNone
StartDateStart date of the forecast line.Date
StartDate
YesForecastSupplyForecastEntryEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupIdThe sales tax group for the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupIdThe item sales tax group for the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
VendAccountIdThe vendor account for the line.String (20)
VendAccount
NoVendTable.AccountNumForecastSupplyForecastEntryEntity
VendGroupIdThe vendor group for the line.String
VendGroupId
NoVendGroup.VendGroupForecastSupplyForecastEntryEntity

Indexes (7)

Relations (16)

Each relation joins ForecastPurch to another table on the fields shown.

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many ForecastPurch records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ForecastPurch records → zero or one DimensionAttributeValueSet record

  • ExpandForecastPurch → ForecastPurch

    Join on ExpandId = ForecastPurch.RecId

    Many ForecastPurch records → zero or one ForecastPurch record

  • ForecastItemAllocation → ForecastItemAllocation

    Join on ItemAllocateId = ForecastItemAllocation.AllocateId

    Many ForecastPurch records → zero or one ForecastItemAllocation record

  • ForecastModel → ForecastModel

    Join on ModelId = ForecastModel.ModelId, ForecastModel.Type = HeadingSub::Heading

    Many ForecastPurch records → exactly one ForecastModel record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ForecastPurch records → zero or one InventDim record

  • InventItemGroup → InventItemGroup

    Join on ItemGroupId = InventItemGroup.ItemGroupId

    Many ForecastPurch records → zero or one InventItemGroup record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many ForecastPurch records → zero or one InventTable record

  • LedgerAllocateKey → LedgerAllocateKey

    Join on KeyId = LedgerAllocateKey.Key

    Many ForecastPurch records → zero or one LedgerAllocateKey record

  • PurchUnitId → UnitOfMeasure

    Join on PurchUnitId = UnitOfMeasure.Symbol

    Many ForecastPurch records → zero or one UnitOfMeasure record

  • RouteTable → RouteTable

    Join on ItemRouteId = RouteTable.RouteId

    Many ForecastPurch records → zero or one RouteTable record

  • SubBOMTable → BOMTable

    Join on ItemBOMId = BOMTable.BOMId

    Many ForecastPurch records → zero or one BOMTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ForecastPurch records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many ForecastPurch records → zero or one TaxItemGroupHeading record

  • VendGroup → VendGroup

    Join on VendGroupId = VendGroup.VendGroup

    Many ForecastPurch records → zero or one VendGroup record

  • VendTable → VendTable

    Join on VendAccountId = VendTable.AccountNum

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

Need help with ForecastPurch in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk