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 Reopen operation, it sends a request to reopen a previously closed or cancelled quotation in SAP B1.
Common scenarios where this node is beneficial include automating CRM workflows within SAP Business One, such as reopening quotations that were closed prematurely or need further modifications before finalization. For example, a sales team might use this node to programmatically reopen a quotation when a customer requests changes after closure.
Properties
| Name | Meaning |
|---|---|
| DocEntry / Key | The unique identifier (DocEntry) of the quotation to be reopened. This is required. |
Output
The node outputs the JSON response returned by the SAP B1 Service Layer API after attempting to reopen the quotation. The output structure corresponds to the API's response format, which typically includes details about the updated quotation status or an error message if the operation failed.
If the operation is successful, the JSON will contain confirmation of the quotation being reopened. If there is an error, the output JSON will include an error field with the error message.
The node does not output binary data.
Dependencies
- Requires an active connection to the SAP Business One Service Layer 3 API.
- Requires credentials including:
- Base URL of the SAP B1 Service Layer.
- Username.
- Password.
- Company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The environment must allow HTTP requests to the SAP B1 Service Layer endpoint.
Troubleshooting
- Authentication errors: If login fails, verify the username, password, company database, and base URL are correct and accessible.
- Invalid DocEntry: If the provided DocEntry does not exist or is incorrect, the API will return an error. Ensure the DocEntry corresponds to an existing quotation.
- Permission issues: The user account must have sufficient permissions to reopen quotations.
- Network issues: Ensure the SAP B1 Service Layer endpoint is reachable from the n8n instance.
- API errors: The node captures API errors and returns them in the output JSON under the
errorkey. Review these messages for specific causes.