Actions29
- Activitie Actions
- Business Partner Actions
- Order Actions
- Quotation Actions
- Sales Opportunity Actions
Overview
This node interacts with the SAP Business One Service Layer 3 CRM API to perform various operations on CRM resources such as Quotations, Orders, Business Partners, Activities, and Sales Opportunities. Specifically, for the "Quotation" resource with the "Delete" operation, it deletes a quotation identified by a unique key (DocEntry) from the SAP system.
Common scenarios where this node is beneficial include automating the management of sales quotations within SAP B1, such as removing obsolete or incorrect quotations programmatically as part of a workflow.
Practical example: A sales automation workflow that cleans up cancelled or outdated quotations in SAP B1 by deleting them automatically when certain conditions are met.
Properties
| Name | Meaning |
|---|---|
| DocEntry / Key | The unique identifier (key) of the quotation to delete. This is required to specify which quotation record to remove. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the Delete operation on a Quotation, the output JSON typically contains the response from the SAP B1 Service Layer confirming the deletion or an error message if the operation failed.
Example output JSON structure on success might be empty or contain confirmation details depending on the API response.
If an error occurs during the request, the output JSON will contain an error field with the error message describing what went wrong.
The node does not output binary data.
Dependencies
- Requires connection to an SAP Business One Service Layer 3 instance.
- Requires credentials including:
- Base URL of the SAP B1 Service Layer API.
- Username and password for authentication.
- Company database name.
- The node authenticates by sending a login POST request to the
/Loginendpoint and uses session cookies for subsequent requests. - No additional external dependencies beyond the SAP B1 Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, check that the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: Deletion will fail if the specified DocEntry does not exist or is invalid. Verify the key before running the node.
- Permission issues: Ensure the user account has sufficient permissions to delete quotations.
- Network/SSL errors: The node disables SSL certificate verification (
rejectUnauthorized: false), but network issues or firewall restrictions may still block access. - Error messages: The node returns error messages in the output JSON under the
errorfield. Use these messages to diagnose issues such as missing parameters, invalid keys, or API endpoint problems.