{
  "test_id": "ORCL.HCM.ABS.ACCRUAL",
  "scenario_name": "Absence Accrual",
  "application": "Oracle Fusion Cloud",
  "product": "HCM",
  "module": "Absence Management",
  "process": "Absence Accrual",
  "business_flow": "Workforce 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/hcm/absence-management/absence-accrual/",
  "objective": {
    "intro": "This test validates accrual of absence entitlement according to configured plan rules, worker eligibility and service or effective-date conditions, confirming that Oracle Fusion Absence Management produces the correct accrued balance for the worker and plan under test.",
    "confirms": [
      "the worker's eligibility for the absence plan is correctly determined before accrual is applied",
      "accrual is generated according to the plan's configured frequency, such as monthly or annual accrual rules",
      "the accrued amount matches the plan's configured accrual rate and any applicable service-based tiers",
      "the worker's absence balance is updated correctly following accrual",
      "any configured accrual cap is respected and not exceeded",
      "carryover of unused entitlement is applied correctly where the plan is configured to allow it"
    ],
    "scope_note": "This scenario validates the core Absence Accrual process for a worker already enrolled in an absence plan. Absence entry, approval, balance inquiry and validation are covered by separate test scenarios within the same Absence Management flow."
  },
  "preconditions": [
    "A valid absence plan with configured accrual rules, frequency and rates is available.",
    "The worker is enrolled in the absence plan and, where required, has met the plan's service or eligibility conditions.",
    "The worker's hire date and service dates are recorded and available for eligibility evaluation.",
    "Where configured, accrual cap and carryover rules are defined for the plan.",
    "The test user has the appropriate Absence Management role and access to review or process accruals."
  ],
  "test_data": [
    {
      "field": "Worker",
      "example": "${WORKER}"
    },
    {
      "field": "Absence Plan",
      "example": "${ABSENCE_PLAN}"
    },
    {
      "field": "Accrual Frequency",
      "example": "${ACCRUAL_FREQUENCY}"
    },
    {
      "field": "Service Date",
      "example": "${SERVICE_DATE}"
    },
    {
      "field": "Hire Date",
      "example": "${HIRE_DATE}"
    },
    {
      "field": "Accrual Amount",
      "example": "${ACCRUAL_AMOUNT}"
    },
    {
      "field": "Accrual Cap",
      "example": "${ACCRUAL_CAP}"
    },
    {
      "field": "Carryover",
      "example": "${CARRYOVER}"
    },
    {
      "field": "Effective Date",
      "example": "${EFFECTIVE_DATE}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion Absence Management",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has Absence Management 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 Absence Management",
      "action": "Navigate to the Absence Management area used to review worker absence plans and accruals.",
      "test_data": "",
      "expected_result": "The Absence Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Locate the Worker's Absence Plan",
      "action": "Locate the worker and the absence plan under test.",
      "test_data": "${WORKER} / ${ABSENCE_PLAN}",
      "expected_result": "The worker's enrollment in the absence plan is found and confirmed.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Review Accrual Frequency and Eligibility Conditions",
      "action": "Review the plan's configured accrual frequency along with the worker's service date, hire date and eligibility conditions.",
      "test_data": "${ACCRUAL_FREQUENCY} / ${SERVICE_DATE} / ${HIRE_DATE}",
      "expected_result": "The reviewed accrual frequency and eligibility conditions are consistent with the plan's configuration.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Trigger or Verify the Accrual",
      "action": "Trigger the accrual process for the worker and plan, or verify the results of an existing scheduled accrual, for the selected effective date.",
      "test_data": "${EFFECTIVE_DATE}",
      "expected_result": "The accrual runs, or is confirmed to have run, without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Review the Resulting Balance Change",
      "action": "Review the worker's absence balance following accrual and compare it against the expected accrual amount.",
      "test_data": "${ACCRUAL_AMOUNT}",
      "expected_result": "The worker's balance reflects the expected accrued amount for the plan and period.",
      "validation_type": "business_assertion",
      "note": "This is the central business assertion for this scenario. Illustrative example only, not a real accrual result or customer-specific formula: if the prior balance is ${ACCRUAL_AMOUNT} before accrual and the plan accrues an additional ${ACCRUAL_AMOUNT} for the period, the resulting balance should reflect that increase, subject to any configured cap. Test execution is designed to use ${PLACEHOLDER} tokens rather than real entitlement figures."
    },
    {
      "step_number": 7,
      "step_name": "Confirm Cap and Carryover Behavior",
      "action": "Confirm that the accrual cap, where configured, is respected and that carryover of unused entitlement, where configured, has been applied correctly.",
      "test_data": "${ACCRUAL_CAP} / ${CARRYOVER}",
      "expected_result": "The accrued balance does not exceed the configured cap, and carryover has been applied according to the plan's rules.",
      "validation_type": "action"
    }
  ],
  "expected_results": [
    "Absence accrual is generated correctly for the eligible worker and plan.",
    "The accrued amount is correct according to the plan's configured accrual rules.",
    "Worker eligibility for accrual is correctly determined based on service and eligibility conditions.",
    "The worker's absence balance is updated correctly following accrual.",
    "Any configured accrual cap is respected.",
    "Carryover of unused entitlement is applied correctly where configured."
  ],
  "validation_checkpoints": [
    "Accrual generated correctly for the worker and plan.",
    "Accrual amount correct per plan rules.",
    "Worker eligibility correctly determined.",
    "Absence balance updated correctly.",
    "Accrual cap respected where configured.",
    "Carryover applied correctly where configured."
  ]
}
