Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Supply/Production → ProductionStepUpdate

AI-generated

Summary

Update a production step in the Zen ERP system by providing its details in a JSON-formatted body.

Inputs

  • Body (required) — A JSON object containing the production step details to update. It includes fields such as 'id' (integer, the production step identifier), 'status' (string), 'productionOrder', 'workflow', 'workpiece', 'productPacking' (all objects), 'quantity' (number), 'servedQuantity' (number), 'productionStepParent' (object), 'tags' (string), and 'properties' (object) to specify the updated values.

Output shape

a single JSON object representing the updated production step

The operation returns either a single JSON object or an array of JSON objects (per input item) reflecting the updated production steps. Errors are returned in a JSON structure with an 'error' key if continueOnFail is enabled.

Examples

Example 1: Update production step with id 1234 and new status 'completed'

Set the operation to 'ProductionStepUpdate' and provide the JSON body with the required fields including 'id' and 'status'. The node will send this update to Zen ERP and output the updated production step details.

Discussion