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

W070: Create material type

Adds a new material type (for example, Substrate, Ink, Packaging). Triggered from Settings, Material types.

Steps

  1. Check name uniqueness. Case-insensitive, scoped to this org.

  2. Insert the type. Call Materials.createMaterialType.

Returns

The new type row.

Business rules

  • Names are unique per org.

Errors

  • ValidationError. Duplicate name.