Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Document → Change Document Status

AI-generated

Overview

This node operation changes the status of a specified document in the Goldylocks ERP system. It is useful for workflows that need to update document statuses programmatically, such as marking orders as processed, completed, or cancelled. For example, after an order is fulfilled, this node can update the document status to 'Finished'.

Use Case Examples

  1. Change the status of a sales order document to 'Finished' after shipment.
  2. Update a purchase order document status to 'Cancelled' if the order is voided.

Properties

Name Meaning
Document ID (P) The ID of the document to change status.
New Status (Estado) The new status ID to apply to the document.
Show Print (Impressao) Whether to show the document print after status change.

Output

JSON

  • json - Response from the Goldylocks API after changing the document status, containing status update details.

Dependencies

  • Goldylocks ERP API with API key authentication

Troubleshooting

  • Ensure the Document ID is valid and exists in the Goldylocks system to avoid errors.
  • Verify the New Status ID is a valid status recognized by the ERP to prevent invalid status errors.
  • Check API credentials and network connectivity if the node fails to communicate with the Goldylocks API.

Links

Discussion