{
  "test_id": "ORCL.O2C.OM.RET.RECEIVE",
  "scenario_name": "Receive Return",
  "application": "Oracle Fusion Cloud",
  "product": "SCM / Order Management",
  "module": "Order Management",
  "process": "Returns",
  "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/returns/receive-return/",
  "objective": {
    "intro": "The objective of this test is to validate that returned goods can be physically received in Oracle Fusion SCM Order Management against an existing, open return order, confirming that the received quantity and condition are captured correctly and that inventory is updated in line with the return order's disposition.",
    "confirms": [
      "the correct open return order is located and selected for receipt",
      "received quantity is captured correctly against the return order line",
      "the disposition (return-to-stock, scrap or inspection-required) drives the correct subinventory routing",
      "the condition code entered is consistent with the disposition",
      "on-hand inventory is updated correctly per the disposition and the return order status reflects the receipt",
      "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 covers the physical receipt step against an existing, open return order in Oracle Fusion SCM Order Management TEST/UAT environments, assuming the return order itself has already been created. It does not cover creation of the return order or subsequent exception handling, which are covered by the separate Create Return Order and Return Order Exceptions scenarios in the same Returns cluster."
  },
  "preconditions": [
    "A return order exists in the target Oracle Fusion SCM environment and is open for receipt.",
    "The return order's disposition (return-to-stock, scrap or inspection-required) has been set.",
    "The receiving organization and subinventory locations used for the receipt are configured and active.",
    "The item, quantity and unit of measure on the return order line are valid.",
    "The test user has receiving privileges for the receiving organization."
  ],
  "test_data": [
    {
      "field": "Return Order Number",
      "example": "${RETURN_ORDER_NUMBER}"
    },
    {
      "field": "Return Order Line",
      "example": "${RETURN_ORDER_LINE}"
    },
    {
      "field": "Item",
      "example": "${ITEM}"
    },
    {
      "field": "Receive Quantity",
      "example": "${RECEIVE_QUANTITY}"
    },
    {
      "field": "UOM",
      "example": "${UOM}"
    },
    {
      "field": "Disposition",
      "example": "${DISPOSITION}"
    },
    {
      "field": "Subinventory",
      "example": "${SUBINVENTORY}"
    },
    {
      "field": "Condition",
      "example": "${CONDITION}"
    },
    {
      "field": "Receiving Organization",
      "example": "${RECEIVING_ORGANIZATION}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion",
      "action": "Sign in to Oracle Fusion using an authorised warehouse operator test user.",
      "test_data": "",
      "expected_result": "Oracle Fusion opens successfully for the test user.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Order Management",
      "action": "Open the Order Management work area and navigate to the Returns receiving function to begin receiving a return.",
      "test_data": "${RECEIVING_ORGANIZATION}",
      "expected_result": "The Returns receiving function opens for the correct receiving organization.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Locate the Open Return Order",
      "action": "Search for and select the open return order eligible for physical receipt.",
      "test_data": "${RETURN_ORDER_NUMBER} / ${ITEM}",
      "expected_result": "The eligible return order is returned and available for selection.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Initiate Receive Return",
      "action": "Initiate the receive-return transaction against the selected return order line.",
      "test_data": "${RETURN_ORDER_LINE}",
      "expected_result": "The receive-return transaction opens with the correct return order line detail.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening the receipt line list and confirming the return order line detail."
    },
    {
      "step_number": 5,
      "step_name": "Enter Received Quantity and Condition",
      "action": "Enter the quantity being received against the return order line and record the item's condition.",
      "test_data": "${RECEIVE_QUANTITY} / ${UOM} / ${CONDITION}",
      "expected_result": "The received quantity and condition are accepted without unexpected validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Confirm Disposition-Driven Subinventory Routing",
      "action": "Confirm or adjust the subinventory the item is routed to, based on the return order's disposition (return-to-stock, scrap or inspection-required).",
      "test_data": "${DISPOSITION} / ${SUBINVENTORY}",
      "expected_result": "The subinventory routing presented is consistent with the return order's disposition.",
      "validation_type": "action",
      "note": "This is the step highlighted in the returns receiving process flow, since correctly routing inventory according to disposition is central to this scenario."
    },
    {
      "step_number": 7,
      "step_name": "Submit the Receipt",
      "action": "Submit the return receipt for processing in the test environment.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the receipt without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Inventory Impact Matches Disposition",
      "action": "Reopen or refresh the receipt and the source return order and confirm the received quantity, updated on-hand inventory and return order status.",
      "test_data": "",
      "expected_result": "The received quantity matches the entered data, on-hand inventory reflects the disposition (stock, scrap or inspection hold), and the return order status updates to reflect the receipt.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — inventory correctly updated per disposition is the expected pass condition, not merely a successful submission."
    }
  ],
  "expected_results": [
    "A receipt is recorded against the open return order.",
    "The received quantity matches the entered data.",
    "On-hand inventory is updated correctly according to the return order's disposition.",
    "Items received with a scrap disposition are excluded from sellable on-hand.",
    "Items received with an inspection-required disposition are held pending inspection rather than posted to sellable stock.",
    "The return order status updates to reflect the receipt.",
    "A receipt history / audit trail entry is recorded for the transaction."
  ],
  "validation_checkpoints": [
    "Received quantity correctly recorded against the return order.",
    "On-hand updated correctly based on disposition (stock vs scrap vs inspection hold).",
    "Return order status updates to reflect receipt.",
    "Receipt history/audit trail recorded."
  ]
}
