{
  "test_id": "ORCL.SCM.PLAN.FORECAST",
  "scenario_name": "Demand Forecast",
  "application": "Oracle Fusion Cloud",
  "product": "SCM",
  "module": "Supply Planning",
  "process": "Demand Forecast",
  "business_flow": "Plan-to-Produce",
  "scenario_type": "Positive / Functional",
  "priority": "High",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/scm/supply-planning/demand-forecast/",
  "objective": {
    "intro": "The objective of this test is to validate that demand forecasts used as input to supply planning can be created, loaded, manually adjusted and consumed by sales orders in Oracle Fusion SCM Supply Planning, including forecast set creation and organization/item assignment, without assuming a single universal forecast method applies to every item.",
    "confirms": [
      "the demand forecast is correctly created or loaded using the selected method — manual entry, a statistical method or historical data — as configured for the item",
      "the forecast set is correctly scoped to the specified organization and item",
      "forecast accuracy can be reviewed and the forecast is correctly published as an input to the supply plan",
      "consumption of the forecast by incoming sales orders correctly reduces the open forecast quantity",
      "the published forecast is available to downstream Supply Planning processes such as Run Supply Plan and Supply Demand Balance",
      "Oracle correctly enforces validation when invalid, negative or unauthorized forecast data or changes are introduced (DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION)"
    ],
    "scope_note": "This scenario covers creation, loading, adjustment and consumption of demand forecasts within the forecast sets, organizations and items configured in the target Oracle Fusion SCM Supply Planning TEST/UAT environment. It does not cover generation of the supply plan itself or review of the resulting supply/demand balance, which are covered by the separate Run Supply Plan and Supply Demand Balance scenarios in the same Supply Planning cluster."
  },
  "preconditions": [
    "The test user has appropriate Demand Planner or Planning Manager access to create, load and adjust demand forecasts.",
    "Required forecast sets are configured and active in the target Oracle Fusion environment.",
    "Items and organizations referenced in test data are configured and enabled for demand planning.",
    "The forecast method(s) — manual, statistical or history-based — to be tested are configured and available for the item(s) under test.",
    "Sales orders used to validate forecast consumption reference items and organizations included in the forecast set."
  ],
  "test_data": [
    {
      "field": "Forecast Set",
      "example": "${FORECAST_SET}"
    },
    {
      "field": "Item",
      "example": "${ITEM}"
    },
    {
      "field": "Organization",
      "example": "${ORGANIZATION}"
    },
    {
      "field": "Forecast Quantity",
      "example": "${FORECAST_QUANTITY}"
    },
    {
      "field": "Forecast Method",
      "example": "${FORECAST_METHOD}"
    },
    {
      "field": "Sales Order",
      "example": "${SALES_ORDER}"
    },
    {
      "field": "Forecast Period",
      "example": "${FORECAST_PERIOD}"
    },
    {
      "field": "User Role",
      "example": "${USER_ROLE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Supply Planning",
      "action": "Sign in to Oracle Fusion using an authorised Supply Planning test user and navigate to the Demand Forecast work area.",
      "test_data": "",
      "expected_result": "The Demand Forecast work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to the Forecast Set",
      "action": "Open or select the forecast set ${FORECAST_SET} that will contain the demand forecast.",
      "test_data": "${FORECAST_SET}",
      "expected_result": "The selected forecast set opens and is available for forecast creation or loading.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Create or Load the Forecast Using the Selected Method",
      "action": "Create the demand forecast manually, or load it using the selected method — for example a statistical method or historical sales/shipment data — for item ${ITEM}.",
      "test_data": "${FORECAST_METHOD} / ${FORECAST_QUANTITY} / ${FORECAST_PERIOD}",
      "expected_result": "The forecast is created or loaded successfully using the selected method for the specified period.",
      "validation_type": "action",
      "note": "Not every item uses the same forecast method — the method used depends on how the item and forecast set are configured."
    },
    {
      "step_number": 4,
      "step_name": "Assign Forecast to Organization and Item",
      "action": "Assign the demand forecast to organization ${ORGANIZATION} and item ${ITEM} within the forecast set.",
      "test_data": "${ORGANIZATION} / ${ITEM}",
      "expected_result": "The forecast is correctly scoped to the specified organization and item.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Review Accuracy and Publish Forecast to Supply Plan",
      "action": "Review forecast accuracy against prior actuals where available, then publish the forecast so it can be consumed as input to the supply plan.",
      "test_data": "",
      "expected_result": "The forecast is published and available as an input to the supply plan.",
      "validation_type": "action",
      "note": "Publishing makes the forecast available to supply planning; it does not by itself run the supply plan."
    },
    {
      "step_number": 6,
      "step_name": "Verify Consumption Behavior as Sales Orders Are Entered",
      "action": "Enter or reference sales order ${SALES_ORDER} for item ${ITEM} and verify that the open demand forecast quantity is reduced through forecast consumption.",
      "test_data": "${SALES_ORDER}",
      "expected_result": "The open forecast quantity for item ${ITEM} is correctly reduced by the consuming sales order, as configured.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — correct consumption behavior, not merely a successful save, is the expected pass condition."
    }
  ],
  "expected_results": [
    "The demand forecast is correctly created and loaded via the selected method — manual entry, statistical method or history-based loading.",
    "The forecast set is correctly scoped to the specified organization and item.",
    "Forecast accuracy is reviewed and the forecast is correctly published as supply plan input.",
    "Consumption by sales orders correctly reduces the open forecast quantity, as configured.",
    "Invalid or negative forecast data is correctly rejected by Oracle Fusion validation.",
    "Unauthorized forecast changes are correctly blocked."
  ],
  "validation_checkpoints": [
    "Forecast correctly created and loaded via the selected method.",
    "Forecast set correctly scoped to organization and item.",
    "Forecast correctly published as supply plan input.",
    "Consumption by sales orders correctly reduces the open forecast quantity.",
    "Invalid or negative forecast data correctly rejected.",
    "Unauthorized forecast change correctly blocked."
  ]
}
