{
  "test_id": "ORCL.SCM.PIM.ITEM.CATEGORY",
  "scenario_name": "Item Category Assignment",
  "application": "Oracle Fusion Cloud",
  "product": "SCM",
  "module": "Product Management",
  "process": "Item Category Assignment",
  "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-category-assignment/",
  "objective": {
    "intro": "The objective of this test is to validate assignment of items to category sets (purchasing, inventory, sales and other functional-area catalogs) including default category handling and multi-category-set assignment, without assuming every category set is mandatory for every item.",
    "confirms": [
      "the item is correctly assigned to the selected category within the intended category set",
      "assignment to multiple category sets in a single item is correctly applied",
      "a default category is correctly flagged where the item is assigned to more than one category in a category set",
      "an invalid category is correctly rejected by Oracle Fusion validation",
      "a missing required category set is correctly flagged only where that category set is configured as mandatory for the item",
      "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 assignment of an existing item to one or more category sets in Oracle Fusion SCM Product Management TEST/UAT environments. It does not cover creation of the item itself or assignment of the item to inventory/manufacturing organizations, which are covered by the separate Create Item and Item Organization Assignment scenarios in the same Product Management family. Category set requirements are treated as configuration-dependent, not universal — not every category set is mandatory for every item."
  },
  "preconditions": [
    "The item already exists and is created in Oracle Fusion SCM Product Management.",
    "The target category set(s) and categories are configured for the relevant functional area(s).",
    "Where a category set is configured as mandatory for the item's item class, that configuration is known and available for validation.",
    "The test user has appropriate access to assign categories to the item.",
    "Default category rules for the applicable category set(s) are configured, where used."
  ],
  "test_data": [
    {
      "field": "Item",
      "example": "${ITEM}"
    },
    {
      "field": "Category Set",
      "example": "${CATEGORY_SET}"
    },
    {
      "field": "Category",
      "example": "${CATEGORY}"
    },
    {
      "field": "Functional Area",
      "example": "${FUNCTIONAL_AREA}"
    },
    {
      "field": "Default Category",
      "example": "${DEFAULT_CATEGORY}"
    },
    {
      "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 Category Assignment",
      "action": "Search for and open the item record, then navigate to its category assignment page.",
      "test_data": "${ITEM}",
      "expected_result": "The item record opens and the Category Assignment page is accessible.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Select the Category Set and Category",
      "action": "Select the target category set and the category within it to assign to the item.",
      "test_data": "${CATEGORY_SET} / ${CATEGORY}",
      "expected_result": "The selected category set and category are accepted and reflected against the item.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Mark as Default Where Applicable",
      "action": "Where the item is assigned to more than one category within a category set, mark the appropriate category as the default.",
      "test_data": "${DEFAULT_CATEGORY}",
      "expected_result": "The default category is correctly flagged for the category set.",
      "validation_type": "action",
      "note": "This step is only relevant where multiple categories are assigned within the same category set."
    },
    {
      "step_number": 5,
      "step_name": "Save the Assignment",
      "action": "Save the item category assignment for processing in the test environment.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the category assignment without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Verify the Item Reflects the Correct Category Set and Category Values",
      "action": "Reopen or refresh the item record and confirm the item reflects the correct category set and category values, including the default category where applicable.",
      "test_data": "",
      "expected_result": "The item is correctly assigned to the selected category within the category set, and the default category is correctly reflected where applicable.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — a correctly assigned category that is reflected on the item is the expected pass condition, not merely a successful save."
    }
  ],
  "expected_results": [
    "The item is correctly assigned to the selected category within the intended category set.",
    "Multi-category-set assignment is correctly applied where the item spans multiple functional areas.",
    "The default category is correctly flagged where applicable.",
    "An invalid category is correctly rejected.",
    "A missing required category set is correctly flagged only where configured as mandatory.",
    "An unauthorized category change is correctly blocked."
  ],
  "validation_checkpoints": [
    "Item correctly assigned to the selected category within the category set.",
    "Multi-category-set assignment correctly applied.",
    "Default category correctly flagged.",
    "Invalid category correctly rejected.",
    "Missing required category set correctly flagged where configured as mandatory.",
    "Unauthorized category change correctly blocked."
  ]
}
