Skip to main content

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.

Edit Asset provides a form for updating an existing fixed asset record including name, description, category, purchase details, vendor, depreciation method, and location. Route: /fa/fixed-assets/:id/edit.

Overview

The Edit Asset page is accessible at /fa/fixed-assets/:id/edit and requires permission fa.assets.edit. The component (FixedAssetEditPage) reads the asset via useFixedAsset(id, organizationId) and renders FixedAssetForm pre-populated with current values. On submit, useUpdateFixedAsset is invoked with the transformed form data. Fields include: asset_name, description, serial_number, asset_category, purchase_date, purchase_cost, vendor_id, purchase_order_id, current_site_id, depreciation_method, and useful_life_months (conditionally required when depreciation method is not none).

Who it’s for

Requires permission fa.assets.edit.

Before you start

  • You must have fa.assets.edit permission.
  • The asset record must exist; navigate to it via the Assets Hub.

Steps

  1. Navigate to Finance → Assets (/fa/assets) and open the fixed asset record.
  2. Select Edit to go to /fa/fixed-assets/:id/edit.
  3. Update the relevant fields in FixedAssetForm.
  4. If changing the depreciation method, set useful_life_months as required.
  5. Click Save to submit via useUpdateFixedAsset.
  6. On success, the page redirects to the asset detail view.

Key concepts

ConceptDescription
FixedAssetFormShared form component for create and edit asset workflows
useFixedAssetHook that fetches the existing asset, scoped to organizationId
useUpdateFixedAssetMutation hook for persisting asset edits
useful_life_monthsRequired only when depreciation_method is not none

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.
  • src/routes/fa.tsx
  • src/cores/fa/pages/FixedAssetEditPage.tsx