{
  "test_id": "ORCL.SCM.PIM.ITEM.INACTIVATE",
  "scenario_name": "Item Inactivation",
  "application": "Oracle Fusion Cloud",
  "product": "SCM",
  "module": "Product Management",
  "process": "Item Inactivation",
  "business_flow": "Item Master Management",
  "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/product-management/item-inactivation/",
  "objective": {
    "intro": "The objective of this test is to validate inactivation of items at master and organization level in Oracle Fusion SCM Product Management, including blocking of inactivation when open transactions or open work orders exist, and reactivation of previously inactivated items, without assuming inactivation is always immediate or irreversible.",
    "confirms": [
      "the item is correctly inactivated at the selected level (master or organization), as configured",
      "inactivation with an effective date is correctly applied on or after the configured effective date",
      "inactivation is correctly blocked when open transactions or open work orders exist against the item, as configured",
      "an inactive item is correctly blocked from being used in new transactions",
      "a previously inactivated item can be correctly reactivated where reactivation is permitted",
      "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 inactivating and reactivating an existing item at master or organization level in Oracle Fusion SCM Product Management TEST/UAT environments. It does not cover creation of the item itself or its broader lifecycle status transitions, which are covered by the separate Create Item and Item Lifecycle Status scenarios in the same Product Management family. Inactivation is never assumed to be immediate or irreversible — exact behavior depends on customer-specific Oracle Fusion configuration."
  },
  "preconditions": [
    "The item already exists and is created in Oracle Fusion SCM Product Management.",
    "The item is assigned to the organization(s) relevant to the test, where organization-level inactivation is being tested.",
    "Where effective dating is used, the effective date field is enabled for the inactivation attribute.",
    "The test user has appropriate access to inactivate and reactivate the item.",
    "Any open transactions or open work orders referenced in negative test data exist against the item in the test environment."
  ],
  "test_data": [
    {
      "field": "Item",
      "example": "${ITEM}"
    },
    {
      "field": "Manufacturing Organization",
      "example": "${MANUFACTURING_ORG}"
    },
    {
      "field": "Effective Date",
      "example": "${EFFECTIVE_DATE}"
    },
    {
      "field": "Inactivation Reason",
      "example": "${INACTIVATION_REASON}"
    },
    {
      "field": "Open Transaction",
      "example": "${OPEN_TRANSACTION}"
    },
    {
      "field": "Open Work Order",
      "example": "${OPEN_WORK_ORDER}"
    },
    {
      "field": "User Role",
      "example": "${USER_ROLE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Product Management",
      "action": "Sign in to Oracle Fusion using an authorised product data test user and navigate to the Product Information Management work area.",
      "test_data": "",
      "expected_result": "The Product Information Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to the Item's Status Area",
      "action": "Search for and open the item record and navigate to its lifecycle status / inactivation area.",
      "test_data": "${ITEM}",
      "expected_result": "The item's status area is accessible and the current status is displayed.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Select Inactivate at Master or Organization Level",
      "action": "Select the option to inactivate the item at either master level or at the relevant organization level.",
      "test_data": "${ITEM} / ${MANUFACTURING_ORG}",
      "expected_result": "The selected inactivation level is accepted by the item record.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Effective Date and Reason Code",
      "action": "Enter the effective date for the inactivation and, where applicable, select the inactivation reason code.",
      "test_data": "${EFFECTIVE_DATE} / ${INACTIVATION_REASON}",
      "expected_result": "The effective date and reason code are accepted by the item record.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Save the Inactivation",
      "action": "Save the item record to submit the inactivation for processing in the test environment.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the inactivation without unexpected errors, or correctly blocks it where open transactions or open work orders exist.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as triggering the save action and confirming the submission confirmation message."
    },
    {
      "step_number": 6,
      "step_name": "Verify Inactive Status and Transaction Restrictions",
      "action": "Reopen or refresh the item record, confirm the inactive status, and attempt a new transaction to confirm it is correctly blocked as configured for an inactive item.",
      "test_data": "${ITEM}",
      "expected_result": "The item correctly reflects the inactive status and subsequent transaction restrictions are correctly enforced.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — an item that correctly restricts downstream transactions once inactive is the expected pass condition, not merely a successful save."
    }
  ],
  "expected_results": [
    "The item is correctly inactivated at the selected level (master or organization).",
    "Effective-dated inactivation applies on the correct effective date.",
    "Inactivation with open transactions or open work orders is correctly blocked or flagged.",
    "An inactive item is correctly blocked from new transactions.",
    "A previously inactivated item can be correctly reactivated where permitted.",
    "Unauthorized inactivation is correctly blocked."
  ],
  "validation_checkpoints": [
    "Item correctly inactivated at the selected level (master or organization).",
    "Effective date correctly applied to the inactivation.",
    "Inactivation with open transactions correctly blocked or flagged, as configured.",
    "Inactive item correctly blocked from new transactions.",
    "Reactivation correctly restores item availability.",
    "Unauthorized inactivation correctly blocked."
  ]
}
