{
  "test_id": "ORCL.SCM.MFG.COMP.PARTIAL",
  "scenario_name": "Partial Completion",
  "application": "Oracle Fusion Cloud",
  "product": "SCM",
  "module": "Manufacturing",
  "process": "Partial Completion",
  "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/manufacturing/completions/partial-completion/",
  "objective": {
    "intro": "The objective of this test is to validate multiple sequential partial completion transactions recorded against a single work order in Oracle Fusion SCM Manufacturing, including correct tracking of the remaining open quantity across transactions.",
    "confirms": [
      "a first partial completion transaction against a work order with an open remaining quantity correctly reduces that remaining quantity",
      "a second and subsequent sequential partial completion correctly accumulates toward the total work order quantity",
      "partial completions recorded across different dates and against different lot numbers are correctly tracked",
      "the remaining open quantity is correctly reported after each partial completion transaction",
      "a final partial completion that consumes the remaining balance correctly reflects the work order's completed status",
      "Oracle correctly enforces validation and security restrictions when a completion quantity exceeds the remaining open quantity or an unauthorized user attempts the transaction (EXPECTED_VALIDATION, SECURITY_ERROR)"
    ],
    "scope_note": "This scenario covers sequential partial completion transactions against a single work order in Oracle Fusion SCM Manufacturing TEST/UAT environments. The number of partial completions a work order may receive before it is fully completed is governed by customer-specific manufacturing organization parameters and work definition setup — this scenario does not assume a fixed number of partial completions is permitted across Oracle Fusion implementations. It does not cover completion of a work order in a single transaction, scrap quantity recording, or work order closure, which are covered by the separate Complete Work Order, Scrap Quantity and Close Work Order scenarios in the same Manufacturing test library."
  },
  "preconditions": [
    "The work order exists in Oracle Fusion SCM Manufacturing with a status eligible for completion and has an open remaining quantity.",
    "The work order quantity, quantity already completed, and remaining open quantity are known before each partial completion transaction.",
    "Where required by the item or work definition, a valid lot number is available for the partial completion transaction.",
    "The test user has appropriate access to record partial completions for the manufacturing organization.",
    "For sequential scenarios, prior partial completion transactions have been recorded against the same work order."
  ],
  "test_data": [
    {
      "field": "Work Order",
      "example": "${WORK_ORDER}"
    },
    {
      "field": "Work Order Quantity",
      "example": "${WORK_ORDER_QUANTITY}"
    },
    {
      "field": "Completed Quantity",
      "example": "${COMPLETED_QUANTITY}"
    },
    {
      "field": "Remaining Quantity",
      "example": "${REMAINING_QUANTITY}"
    },
    {
      "field": "Lot",
      "example": "${LOT}"
    },
    {
      "field": "Completion Date",
      "example": "${COMPLETION_DATE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Manufacturing",
      "action": "Sign in to Oracle Fusion using an authorised manufacturing test user and navigate to the Manufacturing work area.",
      "test_data": "",
      "expected_result": "The Manufacturing work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to the Work Order",
      "action": "Open the work order with an open remaining quantity from the work order list.",
      "test_data": "${WORK_ORDER}",
      "expected_result": "The work order details page opens showing the work order quantity, completed quantity and remaining open quantity.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Enter the Partial Completion Quantity and Lot",
      "action": "Enter the quantity to complete in this transaction, and the lot number where required by the item or work definition.",
      "test_data": "${COMPLETED_QUANTITY} / ${LOT}",
      "expected_result": "The partial completion quantity and lot are accepted for the transaction, or the expected blocking condition is confirmed for negative scenarios.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening the completion transaction, entering the quantity field and selecting the lot."
    },
    {
      "step_number": 4,
      "step_name": "Submit the Transaction",
      "action": "Submit the partial completion transaction.",
      "test_data": "${COMPLETION_DATE}",
      "expected_result": "Oracle Fusion successfully processes the partial completion transaction without unexpected errors, or correctly returns a blocking validation for negative scenarios.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Verify the Remaining Open Quantity Updates Correctly",
      "action": "Reopen or refresh the work order and confirm the remaining open quantity after the transaction.",
      "test_data": "${REMAINING_QUANTITY}",
      "expected_result": "The remaining open quantity correctly reflects the total work order quantity less all completed quantity recorded to date.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — the remaining open quantity correctly updating after each partial completion is the expected pass condition, not merely a successful save."
    },
    {
      "step_number": 6,
      "step_name": "Repeat Until the Work Order Is Fully Completed",
      "action": "Repeat the partial completion transaction for subsequent quantities, dates and lots as applicable, until the work order's remaining open quantity reaches zero.",
      "test_data": "${WORK_ORDER}",
      "expected_result": "Sequential partial completions correctly accumulate toward the total work order quantity, and the final partial completion correctly closes out the remaining balance.",
      "validation_type": "business_assertion"
    }
  ],
  "expected_results": [
    "Each partial completion correctly reduces the remaining open work order quantity.",
    "Sequential partial completions correctly accumulate toward the total work order quantity.",
    "Partial completions recorded against different lots are correctly tracked as separate transactions.",
    "A final partial completion correctly closes out the remaining balance.",
    "A completion quantity exceeding the remaining open quantity is correctly blocked or flagged.",
    "Unauthorized partial completion is correctly blocked."
  ],
  "validation_checkpoints": [
    "Each partial completion correctly reduces the remaining open work order quantity.",
    "Sequential completions correctly accumulate toward the total work order quantity.",
    "Different lots correctly tracked across separate partial completions.",
    "Final partial completion correctly closes out the remaining balance.",
    "Over-completion beyond the remaining open quantity correctly blocked or flagged.",
    "Unauthorized partial completion correctly blocked."
  ]
}
