{
  "test_id": "ORCL.O2C.AR.RCP.UNAPPLY",
  "scenario_name": "Unapply Receipt",
  "application": "Oracle Fusion Cloud",
  "product": "Financials",
  "module": "Accounts Receivable",
  "process": "Receipts",
  "business_flow": "Order-to-Cash",
  "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/accounts-receivable/receipts/unapply-receipt/",
  "objective": {
    "intro": "The objective of this test is to verify that an authorised Accounts Receivable user can unapply an existing receipt application in Oracle Fusion Receivables, and confirm the resulting effect on the receipt and the previously applied transaction.",
    "confirms": [
      "the selected application is eligible to be unapplied and has not already been removed",
      "the unapply action is accepted without unexpected errors",
      "the transaction balance is restored to reflect the removed application",
      "the receipt's unapplied balance increases by the corresponding amount",
      "application history is retained rather than silently erased",
      "the receipt remains available for valid reapplication to the same or a different transaction where permitted"
    ],
    "scope_note": "This scenario does not claim that every downstream accounting, reconciliation or collections scenario is covered — those depend on the customer's specific Oracle Fusion configuration and are addressed by separate test scenarios."
  },
  "preconditions": [
    "Oracle Fusion Receipts (Accounts Receivable) is configured and available to the test user.",
    "An existing receipt application exists and is eligible to be unapplied.",
    "The receipt and its related transaction are not in a status that prevents the unapply action.",
    "The test user has the appropriate security/privilege to unapply receipt applications.",
    "The accounting period intended for the unapply is open, or the unapply is otherwise permitted per period-close configuration."
  ],
  "test_data": [
    {
      "field": "Customer",
      "example": "${CUSTOMER}"
    },
    {
      "field": "Receipt Number",
      "example": "${RECEIPT_NUMBER}"
    },
    {
      "field": "Applied Transaction",
      "example": "${TRANSACTION_NUMBER}"
    },
    {
      "field": "Applied Amount",
      "example": "${APPLIED_AMOUNT}"
    },
    {
      "field": "Currency",
      "example": "${CURRENCY}"
    },
    {
      "field": "Receipt Status",
      "example": "Applied — eligible for unapply"
    },
    {
      "field": "Accounting Period",
      "example": "Open period, or a later period where unapply is permitted by configuration"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Search for the Applied Receipt",
      "action": "Navigate to the Oracle Fusion Receipts work area and search for the receipt with the existing application to be removed.",
      "test_data": "${CUSTOMER} / ${RECEIPT_NUMBER}",
      "expected_result": "The correct receipt is located and its existing application is confirmed.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering the customer or receipt number, clicking Search and selecting the result."
    },
    {
      "step_number": 2,
      "step_name": "Open the Receipt",
      "action": "Open the located receipt to review its application details.",
      "test_data": "",
      "expected_result": "The receipt details page opens, showing the applied transaction and applied amount.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Select the Application to Remove",
      "action": "Select the specific application line to be unapplied.",
      "test_data": "${TRANSACTION_NUMBER}",
      "expected_result": "The correct application line is selected for removal.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Select Unapply",
      "action": "Select the Unapply action for the chosen application.",
      "test_data": "",
      "expected_result": "The Unapply confirmation page or dialog opens for the selected application.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Confirm the Unapply Action",
      "action": "Confirm and submit the unapply request.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the unapply request without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Verify Transaction Balance is Restored",
      "action": "Confirm the balance of the transaction that was previously applied.",
      "test_data": "${TRANSACTION_NUMBER} / ${APPLIED_AMOUNT}",
      "expected_result": "Transaction balance is restored to reflect the removed application.",
      "validation_type": "business_assertion"
    },
    {
      "step_number": 7,
      "step_name": "Verify Receipt Unapplied Balance Increased",
      "action": "Confirm the unapplied balance of the receipt following the unapply.",
      "test_data": "${RECEIPT_NUMBER}",
      "expected_result": "Receipt unapplied balance increases by the unapplied amount.",
      "validation_type": "business_assertion"
    },
    {
      "step_number": 8,
      "step_name": "Verify Application History Reflects the Change",
      "action": "Confirm that the receipt's application history reflects the unapply action.",
      "test_data": "",
      "expected_result": "Application history shows the removed application rather than silently disappearing, and the receipt remains available for valid reapplication where permitted.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — removing an application must be traceable and must not silently erase receipt history."
    }
  ],
  "expected_results": [
    "An eligible receipt application unapplies successfully.",
    "Transaction balance is restored to reflect the removed application.",
    "Receipt unapplied balance increases correctly.",
    "Application history retains a record of the removed application.",
    "The receipt remains available for valid reapplication where permitted.",
    "No unexpected save errors occur.",
    "Security and period validations behave as expected for ineligible attempts.",
    "The unapplied application does not silently disappear from history or reporting."
  ],
  "validation_checkpoints": [
    "Application removed.",
    "Transaction balance restored appropriately.",
    "Receipt unapplied balance increased.",
    "Application history retained.",
    "Receipt remains available for valid reapplication where permitted."
  ]
}
