{
  "test_id": "ORCL.P2P.PROC.SUPPLIER.INACTIVATE",
  "scenario_name": "Supplier Inactivation",
  "application": "Oracle Fusion Cloud",
  "product": "SCM / Procurement",
  "module": "Procurement",
  "process": "Suppliers",
  "business_flow": "Procure-to-Pay",
  "scenario_type": "Positive / Functional",
  "priority": "Medium",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/scm/procurement/suppliers/supplier-inactivation/",
  "objective": {
    "intro": "This test validates that Oracle Fusion Procurement can inactivate a supplier or a specific supplier site using a valid effective date and inactivation reason, and that the record's status and downstream availability correctly reflect the inactivation.",
    "confirms": [
      "the supplier or supplier site selected for inactivation is currently active and eligible for the action",
      "the effective date and inactivation reason are captured accurately",
      "the supplier or site status updates to inactive as of the effective date",
      "new downstream transactions against the inactivated supplier or site are prevented appropriately, subject to customer configuration",
      "historical transactions already recorded against the supplier or site remain visible and unaffected",
      "the inactivation is retained on the supplier record for later inquiry"
    ],
    "scope_note": "This scenario validates the Supplier Inactivation event itself — the final stage of the supplier lifecycle covered in this cluster. Exact downstream restrictions and whether an inactivated supplier or site can later be reactivated depend on the customer's specific Oracle Fusion configuration, and are not assumed beyond what is explicitly included in the tested scope."
  },
  "preconditions": [
    "The supplier or supplier site being tested is currently active.",
    "The test user has the appropriate procurement role and privileges to inactivate a supplier or supplier site.",
    "No open or in-progress transaction exists where the customer's Oracle Fusion configuration restricts inactivation.",
    "The applicable inactivation reason values are configured in the target environment.",
    "The effective date used falls within a valid, open period."
  ],
  "test_data": [
    {
      "field": "Supplier",
      "example": "${SUPPLIER}"
    },
    {
      "field": "Supplier Number",
      "example": "${SUPPLIER_NUMBER}"
    },
    {
      "field": "Supplier Site",
      "example": "${SUPPLIER_SITE}"
    },
    {
      "field": "Business Unit",
      "example": "${BUSINESS_UNIT}"
    },
    {
      "field": "Effective Date",
      "example": "${EFFECTIVE_DATE}"
    },
    {
      "field": "Inactivation Reason",
      "example": "${INACTIVATION_REASON}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In",
      "action": "Sign in to Oracle Fusion Procurement Cloud with an authorized test user.",
      "test_data": "",
      "expected_result": "Sign-in succeeds and the Procurement home page loads.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Supplier or Site",
      "action": "Search for and open the supplier or supplier site to be inactivated.",
      "test_data": "${SUPPLIER} / ${SUPPLIER_SITE}",
      "expected_result": "The correct supplier or supplier site is located and opened.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering the supplier reference, clicking Search and selecting the result."
    },
    {
      "step_number": 3,
      "step_name": "Select Inactivate",
      "action": "Select the Inactivate action against the supplier or supplier site record.",
      "test_data": "",
      "expected_result": "The inactivation entry fields are presented for the selected record.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Effective Date and Reason",
      "action": "Enter the effective date and select the inactivation reason.",
      "test_data": "${EFFECTIVE_DATE} / ${INACTIVATION_REASON}",
      "expected_result": "The effective date and reason are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Confirm Inactivation",
      "action": "Confirm and submit the inactivation.",
      "test_data": "",
      "expected_result": "Oracle Fusion processes the inactivation request and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Verify Status Updated",
      "action": "Retrieve the supplier or supplier site and confirm the updated status.",
      "test_data": "",
      "expected_result": "The supplier or site status reflects inactive as of the effective date entered.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Verify Downstream Restriction and Historical Visibility",
      "action": "Attempt a new downstream transaction (for example, a new requisition or purchase order) referencing the inactivated supplier or site, and separately review a pre-existing historical transaction against the same record.",
      "test_data": "",
      "expected_result": "New downstream use of the inactivated supplier or site is prevented appropriately per configuration, while historical transactions already recorded remain visible and unaffected.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the submit action succeeded; the downstream behavior and historical record must be confirmed."
    }
  ],
  "expected_results": [
    "An active supplier or supplier site is inactivated successfully using a valid effective date and inactivation reason.",
    "The effective date and inactivation reason match the entered values.",
    "The supplier or site status updates to inactive as of the effective date.",
    "New downstream transactions against the inactivated supplier or site are prevented appropriately, subject to customer configuration.",
    "Historical transactions already recorded against the supplier or site remain visible and unaffected.",
    "The inactivation is retrievable for later inquiry, reflecting the final stage of the supplier lifecycle covered in this cluster."
  ],
  "validation_checkpoints": [
    "Status inactive.",
    "Downstream use prevented appropriately.",
    "Historical transactions remain visible."
  ]
}
