MSC_REPL_FORECASTS
Snapshot will flush the forecasts into this table instead of clobs - FORECAST_DEMANDS, FORECAST_MEASURES. Forecast Processing engine will do consumption and spreading based off this table.
Details
-
Schema: FUSION
-
Object owner: MSC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
MSC_REPL_FORECASTS_PK |
PLAN_ID, FORECAST_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| FORECAST_ID | NUMBER | 18 | Yes | This column identifies the FORECAST | |
| PLAN_ID | NUMBER | 18 | Yes | This value indicates the plan identifier for the record | |
| DEMAND_ID | NUMBER | 18 | This column identifies the demand from external load | ||
| INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Identifies the inventory item id | |
| USING_ASSEMBLY_ITEM_ID | NUMBER | 18 | Yes | Using assembly iten identifier (item generating the demand for dependent demands) | |
| ORGANIZATION_ID | NUMBER | 18 | Yes | ORGANIZATION_ID is the foreign key to MSC_PARAMETERS table | |
| USING_REQUIREMENT_QUANTITY | NUMBER | Yes | Required quantity (demand quantity) of the demand | ||
| INDEP_DEM_QUANTITY | NUMBER | Quantity of Independent Demand Measures | |||
| USING_ASSEMBLY_DEMAND_DATE | DATE | Using assembly demand date (due date) of the demand | |||
| ORIGINATION_TYPE | NUMBER | Origin of the demand: forecast 1029 | |||
| SCHEDULE_DESIGNATOR_ID | NUMBER | This value indicates the Schedule designator identifier | |||
| ORDER_NUMBER | VARCHAR2 | 62 | This value indicates the Wip entity name of the demand | ||
| CUSTOMER_ID | NUMBER | 18 | Unique Partner identifier generated by the collection program | ||
| CUSTOMER_SITE_ID | NUMBER | 18 | CUSTOMER_SITE_ID is Customer site unique identifier | ||
| SHIP_TO_SITE_ID | NUMBER | 18 | Identifier of the party/partner where the shipment if headed for | ||
| SHIP_TO_LOCATION_ID | NUMBER | 18 | Will store the external location id | ||
| DEMAND_CLASS | VARCHAR2 | 34 | Class to which the demand is tied | ||
| FORECAST_SET_ID | NUMBER | 18 | FORECAST_SET_ID is ID assigned to the forecast set | ||
| FORECAST_ERROR | NUMBER | FORECAST_ERROR will hold the values for MAPE or MAD | |||
| DESIGNATOR_TYPE | NUMBER | DESIGNATOR_TYPE will hold the type of demand | |||
| DISPOSITION_ID | NUMBER | 18 | Disposition identifier, reference to the supply generating the demand | ||
| PLANNED_ARRIVAL_DATE | DATE | Updated after Planning : the planned arrival date | |||
| DEMAND_END_DATE | DATE | DEMAND_END_DATE is the Demand end date | |||
| FORECAST_PRIORITY | NUMBER | Forecast priority. Used in forecast processing | |||
| BILL_ID | NUMBER | 18 | Forecast billing address identifier | ||
| PARENT_MODEL_ITEM_ID | NUMBER | 18 | id of base model item. -23453 for standard items and models | ||
| DEMAND_TYPE | NUMBER | Yes | Demand type. Discrete Demand(1), Rate-based demand(2) | ||
| BUCKET_TYPE | NUMBER | Value indicates Bucket Type of the record (Day/Week/Month) | |||
| ORIGINAL_DEMAND_DATE | DATE | Because the using assembly dates could be changed during spreading process, ORIGINAL_DEMAND_DATE keps the original date for the demand row. | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| MSC_REPL_FORECASTS_N1 | Non Unique | Default | PLAN_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID |
| MSC_REPL_FORECASTS_U1 | Unique | Default | PLAN_ID, FORECAST_ID |