Table

ForecastInvent

Inventory forecast

Holds inventory forecast lines for an item, with a budget date and a quantity. Each line is marked as a supply forecast or a demand forecast. It links to the item, inventory dimensions, a forecast model, and optionally a sub-BOM and a subroute.

Table name
ForecastInvent
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 (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateBudgetDate the forecast line applies to.Date
TransDate
YesNone
InventDimIdInventory dimension number that points to the matching inventory dimensions record.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemBOMIdSub-BOM that points to a bill of materials record.String (20)
ItemBOMId
NoBOMTable.BOMIdNone
ItemIdItem that the forecast line is for.String (20)
ItemId
YesInventTable.ItemIdNone
ItemRouteIdSubroute that points to a route record.String (20)
ItemRouteId
NoRouteTable.RouteIdNone
ModelIdForecast model that the line belongs to.String
ForecastModelId
YesNone
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
NoNone
QtyInventForecast quantity in the inventory unit.Real
InventQty
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
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
TableTypeShows whether the line is a supply forecast or a demand forecast.Enum
ForecastTableType (enum)
NoNone
TransRecIdSystem record ID of the related supply forecast record.Int64
ForecastInventRefRecId
NoNone
TransTableIdID of the table that the reference record belongs to.Integer
ForecastInventRefTableId
NoNone

Indexes (3)

Relations (7)

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

  • ForecastModel → ForecastModel

    Join on ModelId = ForecastModel.ModelId

    Many ForecastInvent records → exactly one ForecastModel record

  • ForecastPurch → ForecastPurch

    Join on TransRecId = ForecastPurch.RecId, TransTableId = ForecastPurch.TableId

    Many ForecastInvent records → zero or one ForecastPurch record

  • ForecastSales → ForecastSales

    Join on TransRecId = ForecastSales.RecId, TransTableId = ForecastSales.TableId

    Many ForecastInvent records → zero or one ForecastSales record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ForecastInvent records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many ForecastInvent records → exactly one InventTable record

  • RouteTable → RouteTable

    Join on ItemRouteId = RouteTable.RouteId

    Many ForecastInvent records → zero or one RouteTable record

  • SubBOMTable → BOMTable

    Join on ItemBOMId = BOMTable.BOMId

    Many ForecastInvent records → zero or one BOMTable record

Get this data out

No public entity reads from ForecastInvent. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk