Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Supply/Production → OperationTypeAccountUpdate

AI-generated

Summary

Updates account for Supply/Production operation

Inputs

  • supply_production_operationTypeAccountUpdate_bodyJson — JSON body for the operation. Fields include id (integer), operationType (object), accountChart (object), and account (object). Accepts a collection of JSON values; default is an empty object {}..

Output shape

The node returns the operation result as a JSON object on the output item. The execute method pushes result.json to returnItems per item, consistent with the standard ZenErp execution pattern.

If the handler returns an array, each item is pushed individually; if it returns a single value or undefined, it is pushed as json.

Examples

Example 1: Update an account in the Supply/Production resource.

Set the JSON Body to include the target account's id, its operationType, the associated accountChart, and the account object. Trigger the operation via the ZenErp node with resource set to Supply/Production and operation set to OperationTypeAccountUpdate.

Discussion