{
  "test_id": "ORCL.R2R.IC.ACCOUNTING",
  "scenario_name": "Intercompany Accounting",
  "application": "Oracle Fusion Cloud",
  "product": "Financials",
  "module": "Intercompany",
  "process": "Intercompany Transactions",
  "business_flow": "Record-to-Report",
  "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/financials/intercompany/intercompany-accounting/",
  "objective": {
    "intro": "Validate accounting generated for eligible intercompany transactions and confirm balancing, receivable/payable accounting and General Ledger results where applicable.",
    "confirms": [
      "the Intercompany Receivable distribution is generated correctly for an approved transaction",
      "the Intercompany Payable distribution is generated correctly for the counterparty entity",
      "balancing entries are created according to configured balancing rules and balancing segments",
      "total debits and credits balance across the generated accounting event",
      "the accounting date is correct and falls within the open accounting period",
      "the transaction's accounting status updates correctly once accounting is generated",
      "General Ledger transfer/posting is reflected correctly where included in the scenario's scope",
      "no unexpected accounting errors occur during accounting generation"
    ],
    "scope_note": "This scenario does not claim that General Ledger posting is validated for every transaction, or that intercompany netting and settlement are covered — those depend on the customer's specific Oracle Fusion configuration and are addressed by separate test scenarios."
  },
  "preconditions": [
    "Oracle Fusion Intercompany is configured and available, with appropriate user access to Intercompany accounting functions.",
    "An intercompany transaction exists that has been approved/accepted and is eligible for accounting generation.",
    "The accounting period intended for the transaction is open.",
    "Valid Intercompany Receivable and Intercompany Payable accounts are configured for the legal entities/business units involved.",
    "Balancing segments and balancing rules are configured for the entities involved in the transaction.",
    "Applicable exchange rates are available for cross-currency intercompany transactions.",
    "The test user has permission to generate accounting for Intercompany transactions."
  ],
  "test_data": [
    {
      "field": "Transaction",
      "example": "Approved intercompany transaction, ready for accounting"
    },
    {
      "field": "Intercompany Receivable Account",
      "example": "${IC_RECEIVABLE_ACCOUNT}"
    },
    {
      "field": "Intercompany Payable Account",
      "example": "${IC_PAYABLE_ACCOUNT}"
    },
    {
      "field": "Currency",
      "example": "Matches transaction currency, e.g. USD — EUR used for the multi-currency example"
    },
    {
      "field": "Balancing Segment",
      "example": "${BALANCING_SEGMENT}"
    },
    {
      "field": "Accounting Period",
      "example": "${ACCOUNTING_PERIOD} — current open period"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Navigate to Intercompany",
      "action": "Navigate to the Intercompany work area in Oracle Fusion.",
      "test_data": "",
      "expected_result": "The Intercompany work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Locate the Approved Transaction",
      "action": "Search for and open the intercompany transaction that has been approved/accepted and is eligible for accounting.",
      "test_data": "${TRANSACTION}",
      "expected_result": "The correct transaction is located and its status confirms it is eligible for accounting generation.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering the transaction reference, clicking Search and selecting the result."
    },
    {
      "step_number": 3,
      "step_name": "Initiate Accounting Generation",
      "action": "Initiate the Create Accounting process for the selected transaction.",
      "test_data": "",
      "expected_result": "The Create Accounting request is accepted and accounting generation begins without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Review Receivable-Side Distribution",
      "action": "Review the Intercompany Receivable distribution generated for the transaction.",
      "test_data": "${IC_RECEIVABLE_ACCOUNT}",
      "expected_result": "The receivable distribution reflects the expected Intercompany Receivable account and amount.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Review Payable-Side Distribution",
      "action": "Review the Intercompany Payable distribution generated for the counterparty entity.",
      "test_data": "${IC_PAYABLE_ACCOUNT}",
      "expected_result": "The payable distribution reflects the expected Intercompany Payable account and amount.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Verify Balancing Entries",
      "action": "Review the balancing entries generated across the balancing segments involved in the transaction.",
      "test_data": "${BALANCING_SEGMENT}",
      "expected_result": "Balancing entries are generated according to the configured balancing rules for the entities involved.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Verify Debit/Credit Totals Balance",
      "action": "Review the total debit and credit amounts across all distributions generated for the accounting event.",
      "test_data": "",
      "expected_result": "Total debits equal total credits for the accounting event.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Accounting Date",
      "action": "Review the accounting date assigned to the generated distributions.",
      "test_data": "${ACCOUNTING_PERIOD}",
      "expected_result": "The accounting date falls within the open accounting period and matches the expected period.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Verify Accounting Status Updated",
      "action": "Review the transaction's accounting status following accounting generation.",
      "test_data": "",
      "expected_result": "The accounting status updates correctly to reflect that accounting has been generated.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Review General Ledger Transfer/Posting State",
      "action": "Where transfer to General Ledger is included in the test scenario, review the transfer/posting status of the generated accounting.",
      "test_data": "",
      "expected_result": "General Ledger transfer/posting status is reflected correctly where this step is included in the scenario's scope; this step is not applicable to scenarios that stop at accounting generation.",
      "validation_type": "action",
      "note": "Not every intercompany accounting scenario extends through to GL transfer/posting — scope depends on the specific test scenario and customer configuration."
    },
    {
      "step_number": 11,
      "step_name": "Confirm No Unexpected Accounting Errors",
      "action": "Review the transaction and the generated accounting event for unexpected errors or exceptions.",
      "test_data": "",
      "expected_result": "No unexpected accounting errors are present; only expected outcomes for the scenario are observed, with receivable, payable and balancing distributions correctly generated.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because Create Accounting was initiated successfully."
    }
  ],
  "expected_results": [
    "Accounting is generated successfully for the approved intercompany transaction.",
    "Intercompany Receivable distribution reflects the expected account and amount.",
    "Intercompany Payable distribution reflects the expected account and amount.",
    "Balancing entries are created according to configured balancing rules.",
    "Total debits equal total credits across the generated accounting event.",
    "Accounting date falls within the open accounting period.",
    "Transaction's accounting status updates correctly to reflect that accounting has been generated.",
    "Where included in the scenario's scope, General Ledger transfer/posting reflects the expected status.",
    "No unexpected accounting errors occur."
  ],
  "validation_checkpoints": [
    "Receivable distribution account and amount are correct.",
    "Payable distribution account and amount are correct.",
    "Balancing entries match the configured balancing rules and segments.",
    "Debit and credit totals balance for the accounting event.",
    "Accounting date is within the open accounting period.",
    "Accounting status updates correctly after generation.",
    "General Ledger transfer/posting status is correct where in scope.",
    "No unexpected accounting errors are present."
  ]
}
