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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateBudgetDate the forecast line applies to. | DateTransDate | Yes | None | |
InventDimIdInventory dimension number that points to the matching inventory dimensions record. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemBOMIdSub-BOM that points to a bill of materials record. | String (20)ItemBOMId | No | BOMTable.BOMId | None |
ItemIdItem that the forecast line is for. | String (20)ItemId | Yes | InventTable.ItemId | None |
ItemRouteIdSubroute that points to a route record. | String (20)ItemRouteId | No | RouteTable.RouteId | None |
ModelIdForecast model that the line belongs to. | StringForecastModelId | Yes | 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 | None | |
QtyInventForecast quantity in the inventory unit. | RealInventQty | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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 | |
TableTypeShows whether the line is a supply forecast or a demand forecast. | EnumForecastTableType (enum) | No | None | |
TransRecIdSystem record ID of the related supply forecast record. | Int64ForecastInventRefRecId | No | None | |
TransTableIdID of the table that the reference record belongs to. | IntegerForecastInventRefTableId | No | None |
Indexes (3)
ItemModelIdxItemId,InventDimId,ModelId,DateBudget,TableTypeNot unique.
RefIdxNot unique.
ItemModelTypeIdxItemId,InventDimId,ModelId,TableType,DateBudget,RecIdUnique.
Relations (7)
Each relation joins ForecastInvent to another table on the fields shown.
ForecastModel→ForecastModelJoin on
ModelId = ForecastModel.ModelIdMany ForecastInvent records → exactly one ForecastModel record
ForecastPurch→ForecastPurchJoin on
TransRecId = ForecastPurch.RecId,TransTableId = ForecastPurch.TableIdMany ForecastInvent records → zero or one ForecastPurch record
ForecastSales→ForecastSalesJoin on
TransRecId = ForecastSales.RecId,TransTableId = ForecastSales.TableIdMany ForecastInvent records → zero or one ForecastSales record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany ForecastInvent records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany ForecastInvent records → exactly one InventTable record
RouteTable→RouteTableJoin on
ItemRouteId = RouteTable.RouteIdMany ForecastInvent records → zero or one RouteTable record
SubBOMTable→BOMTableJoin on
ItemBOMId = BOMTable.BOMIdMany 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.