Actions29
- Activitie Actions
- Business Partner Actions
- Order Actions
- Quotation Actions
- Sales Opportunity Actions
Overview
This node integrates with the SAP B1 Service Layer 3 CRM system to perform various operations on CRM resources, including Orders. Specifically, for the Order - Update operation, it allows updating an existing order in SAP B1 by sending a PATCH request with the updated data.
Typical use cases include:
- Automating updates to sales orders based on external triggers or workflows.
- Synchronizing order information from other systems into SAP B1.
- Modifying order details such as quantities, prices, or statuses programmatically.
For example, you might update an order's delivery date or add additional notes automatically when certain conditions are met in your business process.
Properties
| Name | Meaning |
|---|---|
| DocEntry / Key | The unique identifier (DocEntry) of the order to update. Required to specify which order to modify. |
| JSON Body | The JSON content representing the fields and values to update in the order. This is the body sent in the PATCH request. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:
json: The response from the SAP B1 Service Layer API after attempting the update operation.- On success, this will be the updated order object or confirmation returned by SAP.
- On failure, it contains an
errorfield with the error message describing what went wrong.
No binary data is produced by this node.
Dependencies
- Requires connection credentials to the SAP B1 Service Layer API, including:
- Base URL of the SAP B1 Service Layer.
- Username and password for authentication.
- Company database name.
- The node authenticates by logging in to the SAP B1 Service Layer and managing session cookies.
- Network access to the SAP B1 Service Layer endpoint must be configured and allowed.
Troubleshooting
- Authentication errors: If login fails, verify that the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: Ensure the
DocEntry / Keycorresponds to an existing order; otherwise, the API will return a not found or similar error. - Malformed JSON Body: The JSON body must be valid and conform to SAP B1's expected schema for orders. Invalid fields or types may cause the update to fail.
- Network issues: Connection timeouts or SSL errors can occur if the SAP B1 server is unreachable or has invalid certificates. The node disables strict SSL verification (
rejectUnauthorized: false) but network connectivity must still be ensured. - API errors: The SAP B1 API may return detailed error messages in the response JSON. Review these messages to adjust the request accordingly.