{
  "test_id": "ORCL.O2C.OM.SO.MULTILINE",
  "scenario_name": "Create Multi-Line Order",
  "application": "Oracle Fusion Cloud",
  "product": "SCM / Order Management",
  "module": "Order Management",
  "process": "Sales Orders",
  "business_flow": "Order-to-Cash",
  "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/order-management/sales-orders/create-multi-line-order/",
  "objective": {
    "intro": "The objective of this test is to validate that a sales order containing multiple, independently priced and schedulable line items can be created in Oracle Fusion Order Management, and that each line captures its own item, quantity, unit of measure, warehouse and requested date without cross-line interference.",
    "confirms": [
      "the order header captures the correct customer and order-level attributes",
      "each line item is created with the correct item, quantity, unit of measure, warehouse and requested date",
      "line-level scheduling and warehouse assignment can differ independently across lines on the same order",
      "line-level status is tracked independently and does not default to the status of other lines on the order",
      "the order-level status correctly reflects the aggregate status of its underlying lines",
      "Oracle correctly enforces validation when data errors, configuration errors or security restrictions are introduced (DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION)"
    ],
    "scope_note": "This scenario extends the single-line Create Sales Order scenario to cover orders containing multiple distinct line items, each potentially scheduled, warehoused or priced independently. It does not cover single-line order creation, which is covered by the separate Create Sales Order scenario, or order-level discounting and tax calculation, covered by Create Order With Discount and Create Order With Tax, within the same Sales Orders cluster."
  },
  "preconditions": [
    "Multiple items used on the order are active and orderable in the target Oracle Fusion Order Management environment.",
    "The customer used on the order is active and enabled for order capture.",
    "The price list assigned to the order covers every item included across all order lines.",
    "The warehouses referenced on individual lines are active and enabled for the items being ordered.",
    "The order entry specialist has appropriate access to create sales orders for the relevant business unit."
  ],
  "test_data": [
    {
      "field": "Customer",
      "example": "${CUSTOMER}"
    },
    {
      "field": "Item 1",
      "example": "${ITEM_1}"
    },
    {
      "field": "Item 2",
      "example": "${ITEM_2}"
    },
    {
      "field": "Item 3",
      "example": "${ITEM_3}"
    },
    {
      "field": "Quantity",
      "example": "${QUANTITY}"
    },
    {
      "field": "UOM",
      "example": "${UOM}"
    },
    {
      "field": "Warehouse",
      "example": "${WAREHOUSE}"
    },
    {
      "field": "Requested Date",
      "example": "${REQUESTED_DATE}"
    },
    {
      "field": "Price List",
      "example": "${PRICE_LIST}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Order Management",
      "action": "Sign in to Oracle Fusion using an authorised order entry specialist test user and navigate to the Order Management work area.",
      "test_data": "",
      "expected_result": "The Order Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Sales Orders",
      "action": "Open the Sales Orders page to begin creating a new sales order.",
      "test_data": "",
      "expected_result": "The sales order creation page opens for the correct business unit.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Create Sales Order",
      "action": "Initiate a new sales order for the test order entry specialist.",
      "test_data": "",
      "expected_result": "A new, unsaved sales order is opened, ready for header and line entry.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening the create page and confirming the business unit."
    },
    {
      "step_number": 4,
      "step_name": "Select Customer",
      "action": "Search for and select the customer for the sales order.",
      "test_data": "${CUSTOMER}",
      "expected_result": "The customer is accepted and reflected on the order header, and an applicable price list is assigned.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Add Multiple Item Lines",
      "action": "Add three or more distinct item lines to the order, entering an independent quantity, unit of measure, warehouse and requested date for each line.",
      "test_data": "${ITEM_1} / ${ITEM_2} / ${ITEM_3} / ${QUANTITY} / ${UOM} / ${WAREHOUSE} / ${REQUESTED_DATE}",
      "expected_result": "Each line is added to the order with its own item, quantity, UOM, warehouse and requested date accepted without unexpected validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Review All Lines",
      "action": "Review every line on the order, comparing item, quantity, warehouse and requested date against the entered test data before submitting.",
      "test_data": "",
      "expected_result": "All lines reflect the entered item, quantity, warehouse and requested date detail correctly.",
      "validation_type": "action",
      "note": "Reviewing every line before submission lets the tester catch an incorrect line entry before the order is submitted."
    },
    {
      "step_number": 7,
      "step_name": "Submit the Sales Order",
      "action": "Submit the sales order for processing in the test environment.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the sales order without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Order-Level and Line-Level Status",
      "action": "Reopen or refresh the sales order and confirm the order-level status together with the status of each individual line.",
      "test_data": "",
      "expected_result": "The order-level status correctly reflects the aggregate status of its lines, and each line shows its own correct, independently tracked status.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — correctly created lines with accurate, independently tracked status is the expected pass condition, not merely a successful submission."
    }
  ],
  "expected_results": [
    "The sales order is created with all entered line items present.",
    "Each line reflects its own item, quantity, UOM, warehouse and requested date.",
    "Line-level status is tracked independently for each line.",
    "Order-level status correctly reflects the aggregate status of its lines.",
    "A validation issue on one line does not prevent the other valid lines from being created.",
    "The order is visible and traceable for the test order entry specialist."
  ],
  "validation_checkpoints": [
    "All lines are created with correct item, quantity, warehouse and scheduling details.",
    "Line-level status is tracked independently from the status of other lines on the order.",
    "Order-level status correctly reflects the aggregate status of its underlying lines.",
    "A failure on one line does not corrupt or block the other valid lines on the order."
  ]
}
