Skip to content

Edit Item

The Edit Item page allows you to modify all aspects of an existing item. It shares the same tabbed interface as the Create page, with the item code locked to prevent changes after creation.

  • Route: /items/:id/edit
  • Menu Path: Item Master Data → Items → Item row → Edit action, or Item Detail → Edit button
  • Component: EditItem.tsx
  • Source: /mnt/dev/portal/services/items/frontend/src/pages/EditItem.tsx
  • Permission: Edit Item

The edit form uses the same tabbed layout as the Create page:

TabDescription
BasicCore item fields (Item Code is read-only)
UOMsManage additional units of measure
BarcodesManage barcode assignments (includes UOM column)
PricesManage price list entries
CategoriesManage additional category mappings
MediaUpload/delete images and attachments
  • Item Code is read-only and cannot be changed
  • UOM table shows existing UOMs loaded from the server
  • Barcode table includes a UOM column showing which UOM each barcode applies to
  • Price table shows existing prices loaded from the pricing-tax service
  • Categories tab shows existing category mappings and allows adding/removing
  • Media tab shows existing images and attachments with delete support
  • Custom Fields section appears on the Basic tab if custom field definitions exist

All fields are the same as the Create Item page, except:

  • Item Code: Read-only (displayed in a disabled input)
  • SKU: Editable with real-time uniqueness validation (only validates if changed)

The form tracks changes across all tabs and warns you before navigating away with unsaved changes.

  • UOMs, barcodes, prices, categories, and custom fields can be updated as part of the same edit workflow.
  • Duplicate barcode values and invalid UOM combinations are blocked during validation.
  • When price updates fail but item changes succeed, the page reports partial success so pricing can be retried without losing other edits.
EventMessage
Update successItem updated successfully
Update errorFailed to update item
Partial successItem was saved but prices could not be updated. Please try saving prices again.
File warningItem was saved but some files could not be processed. Please try again.