PlantScanner - BEAS Service Layer icon

PlantScanner - BEAS Service Layer

Interact with BEAS Service Layer API

Actions32

Work Order Pos → Patch

AI-generated

Overview

This node updates a specific Work Order Position record in the BEAS Service Layer API using a PATCH request. It is useful for scenarios where you need to modify certain fields of a work order position without replacing the entire record. For example, updating the quantity or status of a line item in a work order.

Use Case Examples

  1. Updating the quantity of a specific line item in a work order by specifying the document entry and line number along with the JSON patch data.
  2. Modifying the status or other attributes of a work order position by sending partial data in the patch body.

Properties

Name Meaning
Doc Entry The document entry number identifying the work order document to update.
Line Number The line number within the work order document to update.
Patch Body The JSON data containing the fields and values to update in the work order position.

Output

JSON

  • json - The response data from the PATCH request, representing the updated work order position record.

Dependencies

  • BEAS Service Layer API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Doc Entry and Line Number are correct and correspond to an existing work order position record; otherwise, the PATCH request will fail.
  • Verify that the Patch Body contains valid JSON; invalid JSON will cause an error.
  • Check that the API credentials are valid and the session cookie is successfully obtained; failure to authenticate will prevent the request from succeeding.
  • Common error messages include 'Failed to get session cookie' indicating authentication issues, and JSON parsing errors for invalid patch body input.

Discussion