Edit Scenario provides a form for updating an existing budget scenario’s header and period-level budget lines. Route: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/edit.
Overview
The Edit Scenario page is accessible at/fa/budget-scenarios/:id/edit and requires permission fa.budget_scenarios.edit. The component (BudgetScenarioEditPage) fetches the scenario via useBudgetScenario and its lines via useScenarioBudgetLines, both scoped to currentOrganization.id. It renders BudgetScenarioForm pre-populated with current values. On submit, the handler: (1) updates the header via useUpdateBudgetScenario with fields scenario_name, scenario_type, scenario_description, base_budget_id, assumptions, and notes; (2) creates new lines, updates changed lines, and deletes removed lines. On success, the page navigates to /fa/budget-scenarios/:id. The breadcrumb shows Edit <scenario_name>.
Who it’s for
Requires permissionfa.budget_scenarios.edit.
Before you start
- You must have
fa.budget_scenarios.editpermission. - The budget scenario must exist; navigate to it via the Budgeting Hub.
Steps
- Navigate to the Budgeting Hub (
/fa/budgeting?tab=scenarios) and open the budget scenario. - Click Edit to go to
/fa/budget-scenarios/:id/edit. - Update header fields (name, type, description, base budget, assumptions, notes) in
BudgetScenarioForm. - Add, update, or remove period budget lines as needed.
- Click Save to submit.
- On success, the page navigates to the scenario detail.
Key concepts
| Concept | Description |
|---|---|
BudgetScenarioForm | Shared form component for scenario header and budget lines |
useBudgetScenario | Hook fetching the existing scenario header |
useScenarioBudgetLines | Hook fetching budget lines for the scenario |
assumptions | JSON field; SME: confirm schema and interpretation |
base_budget_id | Optional reference to a budget the scenario is based on |
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/BudgetScenarioEditPage.tsx