Skip to main content
Version: v1.0.0(int)

W072: Update material type

Renames an existing material type. Triggered from Settings, Material types.

Steps

  1. Load the type.

  2. Check name uniqueness if changed.

  3. Apply the patch. Call Materials.updateMaterialType.

Returns

The updated type row.

Business rules

  • Renames preserve history.

Errors

  • NotFoundError. The type was not found.
  • ValidationError. Name collision.