{
  "test_id": "ORCL.SCM.INV.PI.CREATE",
  "scenario_name": "Create Physical Inventory",
  "application": "Oracle Fusion Cloud",
  "product": "SCM / Inventory Management",
  "module": "Inventory Management",
  "process": "Physical Inventory",
  "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/inventory-management/physical-inventory/create-physical-inventory/",
  "objective": {
    "intro": "The objective of this test is to validate that a physical inventory definition can be created in Oracle Fusion SCM Inventory Management for a full wall-to-wall count of an inventory organization, with the correct organization, subinventory scope, on-hand snapshot date and transaction freeze configuration, and that the resulting definition is available for physical inventory tag generation.",
    "confirms": [
      "the physical inventory definition is created for the correct inventory organization",
      "the subinventory scope, whether organization-wide or restricted, is correctly applied",
      "the on-hand snapshot date is correctly captured and used as the count baseline",
      "the transaction freeze configuration is correctly applied for the count window",
      "the physical inventory definition is distinct from, and does not conflict with, ongoing cycle count activity for the same organization",
      "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 creation of a physical inventory definition in Oracle Fusion SCM Inventory Management TEST/UAT environments. It does not cover tag generation, entering physical inventory counts or processing adjustments, which are covered by the separate Generate Physical Inventory Tags, Enter Physical Inventory Counts and Process Physical Inventory Adjustments scenarios in the same Physical Inventory cluster."
  },
  "preconditions": [
    "An inventory organization is configured in the target Oracle Fusion SCM environment.",
    "The physical inventory calendar and intended on-hand snapshot date are determined for the organization.",
    "The subinventories to be included in the count scope, whether organization-wide or restricted, are configured and active.",
    "The intended transaction freeze window and freeze approach are planned and communicated to affected teams.",
    "The test user has appropriate access to create physical inventory definitions for the inventory organization."
  ],
  "test_data": [
    {
      "field": "Inventory Organization",
      "example": "${INVENTORY_ORGANIZATION}"
    },
    {
      "field": "Physical Inventory Name",
      "example": "${PHYSICAL_INVENTORY_NAME}"
    },
    {
      "field": "Description",
      "example": "${PHYSICAL_INVENTORY_DESCRIPTION}"
    },
    {
      "field": "Snapshot Date",
      "example": "${SNAPSHOT_DATE}"
    },
    {
      "field": "Subinventory Scope",
      "example": "${SUBINVENTORY_SCOPE}"
    },
    {
      "field": "Freeze Transactions Flag",
      "example": "${FREEZE_TRANSACTIONS_FLAG}"
    },
    {
      "field": "Tag Number Prefix",
      "example": "${TAG_NUMBER_PREFIX}"
    },
    {
      "field": "Approval Tolerance",
      "example": "${APPROVAL_TOLERANCE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In and Navigate to Inventory",
      "action": "Sign in to Oracle Fusion using an authorised inventory test user and navigate to the Inventory Management work area.",
      "test_data": "",
      "expected_result": "The Inventory Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Physical Inventory",
      "action": "Open the Physical Inventory page to begin creating a new physical inventory definition.",
      "test_data": "${INVENTORY_ORGANIZATION}",
      "expected_result": "The physical inventory definition creation page opens for the correct inventory organization.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Create Physical Inventory",
      "action": "Initiate a new physical inventory definition and enter a name and description.",
      "test_data": "${PHYSICAL_INVENTORY_NAME} / ${PHYSICAL_INVENTORY_DESCRIPTION}",
      "expected_result": "A new, unsaved physical inventory definition is opened with the entered name.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening the create page and confirming the definition name is available."
    },
    {
      "step_number": 4,
      "step_name": "Define Name, Organization and Subinventory Scope",
      "action": "Confirm the inventory organization and define the count scope as organization-wide or restricted to selected subinventories.",
      "test_data": "${INVENTORY_ORGANIZATION} / ${SUBINVENTORY_SCOPE}",
      "expected_result": "The inventory organization and subinventory scope are accepted and reflected on the definition.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Set Snapshot Date and Transaction Freeze Options",
      "action": "Set the on-hand snapshot date that will serve as the count baseline and configure whether transactions are frozen for the count window.",
      "test_data": "${SNAPSHOT_DATE} / ${FREEZE_TRANSACTIONS_FLAG}",
      "expected_result": "The snapshot date and transaction freeze configuration are accepted without unexpected validation errors.",
      "validation_type": "action",
      "note": "This single business step represents setting both the snapshot date and the freeze configuration, which are evaluated together as part of the same definition."
    },
    {
      "step_number": 6,
      "step_name": "Review the Physical Inventory Definition",
      "action": "Review the physical inventory definition header and configuration as calculated by Oracle Fusion.",
      "test_data": "",
      "expected_result": "The reviewed definition reflects the entered name, organization, scope, snapshot date and freeze configuration.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Save the Physical Inventory Definition",
      "action": "Save the physical inventory definition for creation in the test environment.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully creates the physical inventory definition without unexpected errors, and the on-hand snapshot is captured accurately at the defined date.",
      "validation_type": "business_assertion",
      "note": "This is the primary business assertion for the scenario — a correctly created physical inventory definition with an accurate on-hand snapshot is the expected pass condition, not merely a successful save."
    }
  ],
  "expected_results": [
    "The physical inventory definition is created for the correct inventory organization.",
    "The subinventory scope, whether organization-wide or restricted, is correctly applied.",
    "The on-hand snapshot date is correctly captured and used as the count baseline.",
    "The transaction freeze configuration is correctly applied for the count window.",
    "The physical inventory definition does not conflict with an existing active physical inventory for the same organization.",
    "The definition is available for physical inventory tag generation.",
    "The physical inventory definition is visible and traceable for the test inventory organization."
  ],
  "validation_checkpoints": [
    "Physical inventory definition saved correctly.",
    "On-hand snapshot captured accurately at the defined date.",
    "Definition available for tag generation."
  ]
}
