Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Material → QualityCreate

AI-generated

Summary

Create material quality record

Inputs

  • material_qualityCreate_bodyJson — Collection containing the JSON body for material quality creation. Optional; defaults to empty object. When provided, must include fields matching the declared schema: id (integer), code (non-empty string), description (non-empty string), punctuation (integer), tags (string, optional), and properties (object).

Output shape

JSON items

Each input item produces zero or one output item with a json field containing the handler result, or an error object if continueOnFail is enabled and the operation throws.

Examples

Example 1: Create quality record for a material

Set the material_qualityCreate_bodyJson parameter to a JSON object conforming to the declared schema (e.g., { id: 1, code: 'QC001', description: 'Initial check', punctuation: 5, tags: 'urgent' }). The node reads the resource and operation parameters from the workflow item (typically set via node settings or previous nodes), invokes the QualityCreate handler for Material, and returns the result as a paired JSON item.

Discussion