W070: Create material type
Adds a new material type (for example, Substrate, Ink, Packaging). Triggered from Settings, Material types.
Steps
-
Check name uniqueness. Case-insensitive, scoped to this org.
-
Insert the type. Call
Materials.createMaterialType.
Returns
The new type row.
Business rules
- Names are unique per org.
Errors
ValidationError. Duplicate name.