The Scenario Details page (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/fa/budget-scenarios/:id) shows the detail view for a single budget scenario, including budget line editing and scenario comparison.
Overview
The Scenario Details page uses a tabbed layout with URL-synced tabs (default:lines). It loads a scenario via useBudgetScenario and its lines via useScenarioBudgetLines backed by the budget_scenarios tables.
Observed tabs and components:
- Lines tab:
ScenarioBudgetLineEditorfor editing per-account budget amounts. - Comparison tab:
ScenarioComparisonViewfor viewing differences.
status to 'active') and deleting it. The scenario name is reflected in the page breadcrumb via useEntityBreadcrumb.
Who it’s for
Requires permission:fa.budget_scenarios.view.
Before you start
- A budget scenario must exist (created via the Budgeting Hub).
- You need
fa.budget_scenarios.viewto access this page. - To edit, you need
fa.budget_scenarios.edit.
Steps
View scenario lines- Navigate to
/fa/budget-scenarios/:id(or click a scenario from the Budgeting Hub). - The Lines tab shows the budget line editor.
- Click the Comparison tab.
- Review the
ScenarioComparisonView.
- Click the Activate action (requires appropriate permission).
- The scenario status is updated to
active.
- Use the delete action on the page.
- Confirm the deletion dialog.
Key concepts
- Scenario: A
fa_budget_scenariosrow with ascenario_name,status, and associated budget lines. - Status: The code sets status to
'active'viauseUpdateScenarioStatus.
Related
Finance & Revenue
Finance & Revenue core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/fa.tsx
- src/cores/fa/pages/BudgetScenarioDetailPage.tsx
- src/cores/fa/hooks/useBudgetScenarioDetail.ts
- src/cores/fa/hooks/useBudgetScenarioMutation.ts
- src/cores/fa/components/ScenarioBudgetLineEditor.tsx