Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Supply/Production → ProductionStepConsumptionUpdate

AI-generated

Summary

Update a production step consumption record in Zen ERP by specifying its numeric ID and the fields to modify, such as production step details, product packing, quantities, tags, and additional properties.

Inputs

  • Body (required) — A JSON object containing the production step consumption update details including 'id' (integer, required), 'productionStep' (object, optional), 'productPacking' (object, optional), 'quantity' (number, required), 'servedQuantity' (number, optional), 'tags' (string, optional), and 'properties' (object, optional).

Output shape

a single JSON object representing the updated production step consumption record

The updated record is returned as JSON in the node output. If the operation fails and continueOnFail is enabled, an error object is returned in place of the updated record.

Examples

Example 1: Update the quantity and tags of a specific production step consumption by its ID.

Provide the update data in the Body JSON, including the 'id' of the record to update, the new 'quantity' value, and optionally 'tags' or other updatable fields.

Discussion