Edit Forecast opens the rolling forecast edit form, allowing updates to the forecast header and individual period line entries. 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/rolling-forecasts/:id/edit.
Overview
The Edit Forecast page is accessible at/fa/rolling-forecasts/:id/edit and requires permission fa.rolling_forecasts.edit. The component (RollingForecastEditPage) fetches the existing forecast via useRollingForecast and its lines via useRollingForecastLines, both scoped by organizationId. It renders RollingForecastForm pre-populated with current values. On submit, the handler: (1) calls useUpdateRollingForecast for the forecast header, (2) creates new lines via useCreateForecastLine, (3) updates changed lines via useUpdateForecastLine, and (4) deletes removed lines via useDeleteForecastLine. The breadcrumb displays Edit: <forecast_name>.
Who it’s for
Requires permissionfa.rolling_forecasts.edit.
Before you start
- You must have
fa.rolling_forecasts.editpermission. - The rolling forecast must be in a status that allows editing.
Steps
- Navigate to the Budgeting Hub (
/fa/budgeting?tab=forecasts) and open the rolling forecast. - Click Edit to go to
/fa/rolling-forecasts/:id/edit. - Update the forecast header fields in
RollingForecastForm. - Add, update, or remove period lines in the line editor.
- Click Save to submit.
- On success, the page navigates back to the forecast detail.
Key concepts
| Concept | Description |
|---|---|
RollingForecastForm | Shared form component for forecast header and lines |
useRollingForecast | Hook fetching the existing forecast header |
useRollingForecastLines | Hook fetching period-level lines for the forecast |
useCreateForecastLine / useDeleteForecastLine | Mutations for managing line item additions and removals |
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/RollingForecastEditPage.tsx