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.

The Edit Request screen allows updating a draft IT procurement purchase request and is accessible at /it/procurement/:id/edit.

Overview

The Edit Request page loads the purchase request via usePurchaseRequest. If the request’s approval_status is not draft, it immediately redirects to /it/procurement/:id (the detail view) using <Navigate replace>. For draft requests, the form is rendered using the shared ProcurementWizard component. On completion (success callback from the wizard), the user is navigated to the purchase request detail page. An error card is shown if the request cannot be loaded.

Who it’s for

Requires IT_PERMISSIONS.VIEW (outer ITViewGuard). No additional per-route permission gate.

Before you start

  • You must hold IT_PERMISSIONS.VIEW to access this screen.
  • The purchase request must be in draft status; any other status redirects to the detail view automatically.

Steps

1

Open the edit form

Navigate to /it/procurement/:id/edit from the procurement list or detail page. If the request is not in draft status, you will be redirected automatically.
2

Update the request using the wizard

Complete or modify the ProcurementWizard steps to update the purchase request.
3

Complete the wizard

Upon successful completion, the page navigates to the updated request’s detail page.

Key concepts

  • ProcurementWizard — Multi-step wizard component shared between create and edit flows for purchase requests.
  • approval_status — Only draft requests are editable; all other statuses are read-only.
  • Navigate replace — Non-draft requests are redirected without adding to browser history.

IT Service Management

IT Service Management overview.

Governance & parity

Documentation coverage and governance.
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/it.tsx
  • src/cores/it/pages/procurement/EditPurchaseRequestPage.tsx