{
  "test_id": "ORCL.P2P.PROC.SUPPLIER.SITE.CREATE",
  "scenario_name": "Create Supplier Site",
  "application": "Oracle Fusion Cloud",
  "product": "SCM / Procurement",
  "module": "Procurement",
  "process": "Suppliers",
  "business_flow": "Procure-to-Pay",
  "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/procurement/suppliers/create-supplier-site/",
  "objective": {
    "intro": "This test validates that Oracle Fusion Procurement can create a supplier site using a valid parent supplier, Business Unit, site type, address and payment terms.",
    "confirms": [
      "the new site is created against the correct, active parent supplier",
      "the site is enabled for use by the correct Business Unit(s)",
      "the site type (purchasing, pay, or both) is correctly applied",
      "the address and payment terms entered for the site are accepted and retained",
      "Oracle Fusion creates the site record and returns a retrievable site identifier",
      "the resulting site is available for subsequent supplier maintenance, bank account and transaction scenarios"
    ],
    "scope_note": "This scenario validates the initial creation of a supplier site tied to an existing supplier. Creating the parent supplier itself, updating an existing site and maintaining a supplier bank account are covered by separate test scenarios."
  },
  "preconditions": [
    "A parent supplier already exists in Oracle Fusion and is in an active status.",
    "The target Business Unit is configured and available for supplier site usage assignment.",
    "Valid address data (country, address lines, city, postal code) is available for the site.",
    "Payment terms are configured and available for selection where required.",
    "The test user has the appropriate Procurement role and access to maintain supplier sites."
  ],
  "test_data": [
    {
      "field": "Supplier",
      "example": "${SUPPLIER}"
    },
    {
      "field": "Site Name",
      "example": "${SITE_NAME}"
    },
    {
      "field": "Business Unit",
      "example": "${BUSINESS_UNIT}"
    },
    {
      "field": "Site Type",
      "example": "${SITE_TYPE}"
    },
    {
      "field": "Address",
      "example": "${ADDRESS}"
    },
    {
      "field": "Payment Terms",
      "example": "${PAYMENT_TERMS}"
    },
    {
      "field": "Site Purpose (Purchasing / Pay)",
      "example": "${SITE_PURPOSE}"
    },
    {
      "field": "Primary Pay Site Flag",
      "example": "${PRIMARY_PAY_SITE_FLAG}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has Procurement supplier site maintenance access.",
      "test_data": "",
      "expected_result": "The Oracle Fusion Cloud home page loads successfully for the authenticated user.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Parent Supplier",
      "action": "Navigate to the Suppliers work area and open the existing parent supplier record the new site will belong to.",
      "test_data": "${SUPPLIER}",
      "expected_result": "The parent supplier record opens successfully and is confirmed active.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Add Site",
      "action": "Start the Create Site action from within the parent supplier record.",
      "test_data": "",
      "expected_result": "The Create Site flow opens, ready for input.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Site Name and Type",
      "action": "Enter the site name and select the site type, such as purchasing, pay, or both.",
      "test_data": "${SITE_NAME} / ${SITE_TYPE}",
      "expected_result": "The site name and type are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Select Business Unit Usage",
      "action": "Select the Business Unit(s) the site will be enabled for use by.",
      "test_data": "${BUSINESS_UNIT}",
      "expected_result": "The selected Business Unit usage is accepted and applied to the site.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Enter Address",
      "action": "Enter the site address details.",
      "test_data": "${ADDRESS}",
      "expected_result": "The address is accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Review Site Details",
      "action": "Review the entered site name, type, Business Unit usage, address and payment terms before saving.",
      "test_data": "${PAYMENT_TERMS}",
      "expected_result": "All entered site details display correctly for review.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Save and Verify Site Created",
      "action": "Save the supplier site and retrieve the resulting site record.",
      "test_data": "",
      "expected_result": "The supplier site is created successfully, is correctly associated with the parent supplier and selected Business Unit(s), and displays an active status.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the save action succeeded; the created site record must be retrievable with the correct supplier association and Business Unit usage."
    }
  ],
  "expected_results": [
    "A supplier site is created successfully using valid parent supplier, Business Unit, site type, address and payment terms data.",
    "The site is correctly associated with the parent supplier.",
    "The site is correctly enabled for use by the selected Business Unit(s).",
    "The address and payment terms are correctly retained on the site.",
    "The site status reflects successful creation.",
    "The site record is retrievable for subsequent update, bank account and transaction scenarios."
  ],
  "validation_checkpoints": [
    "Supplier site created successfully.",
    "Supplier association correct.",
    "Business Unit usage correct.",
    "Site status correct."
  ]
}
