Materials
Covers materials (raw inputs consumed by work orders or purchased on materials POs) and their type table.
Writes
- Create material — Triggered from the Materials page → "New material". Creates a material with code, name, and type.
- Update material — Triggered from Material Detail. Edits header fields.
- Delete material — Triggered from Material Detail. Removes the material (only allowed if not referenced by orders or BOMs).
- Bulk-import materials — Triggered from the Data page → Materials import. Uploads a CSV/Excel file to create multiple materials at once.
- Create material type — Triggered from Settings → Material types. Adds a new type (e.g., Substrate, Ink, Packaging).
- Update material type — Triggered from Settings → Material types. Renames a type.
- Delete material type — Triggered from Settings → Material types. Removes a type (only allowed if no material uses it).
Reads
- List materials — Triggered from the Materials page, PO/WO/BOM forms, and inventory pages. Returns materials, optionally filtered by type.
- Get material detail — Triggered by clicking a material in the list. Returns the material with usage info.
- List material types — Triggered from the Materials filter dropdown, the material create/edit form, and Settings → Material types. Returns the available types.
- Check if material type is in use — Triggered before deleting a material type. Returns whether any material uses it.