Actions19
- Customer Equipment Card Actions
- Knowledge Base Solution Actions
- Service Call Actions
- Service Contract Actions
Overview
This node interacts with the SAP Business One Service Layer API to manage Customer Equipment Cards. Specifically, the Delete operation removes a Customer Equipment Card identified by its unique DocEntry number.
Use cases include automating the removal of obsolete or incorrect equipment card records from SAP B1 directly within an n8n workflow. For example, when a piece of customer equipment is decommissioned, this node can be triggered to delete its corresponding card in SAP B1, ensuring data consistency without manual intervention.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (number) of the Customer Equipment Card to delete. This is required. |
Output
The node outputs a JSON object representing the response from the SAP B1 Service Layer after attempting to delete the specified Customer Equipment Card.
- On success, the output JSON typically contains confirmation details from SAP B1 about the deletion.
- On failure, the output JSON includes an
errorfield with the error message explaining why the deletion failed.
No binary data is produced by this node.
Dependencies
- Requires an active connection to the SAP Business One Service Layer API.
- Needs credentials including:
- Base URL of the SAP B1 Service Layer endpoint.
- Username and password for authentication.
- Company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The environment must allow HTTPS requests to the SAP B1 Service Layer with certificate verification disabled (
rejectUnauthorized: false).
Troubleshooting
- Authentication errors: If login fails, verify that the provided username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: If the specified
DocEntrydoes not exist, the API will return an error. Confirm the ID is valid and corresponds to an existing Customer Equipment Card. - Network issues: Ensure the SAP B1 Service Layer URL is reachable from the n8n instance.
- Permission issues: The user account must have sufficient permissions to delete Customer Equipment Cards.
- Error messages: The node returns error messages from the SAP API in the output JSON under the
errorkey. Use these messages to diagnose issues.