Actions45
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Transfer Request Actions
- Product Tree Actions
- Production Order Actions
Overview
This node interacts with the SAP Business One Service Layer (version 8) to manage various inventory and production-related documents. Specifically, for the Inventory Transfer Request resource with the Delete operation, it deletes an existing inventory transfer request document identified by a unique key.
Common scenarios where this node is beneficial include automating inventory management workflows, such as removing obsolete or incorrect inventory transfer requests directly from SAP B1 without manual intervention. For example, if an inventory transfer request was created in error or is no longer needed, this node can programmatically delete it based on its document entry number.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (document entry number) of the Inventory Transfer Request to delete. This is required to specify which document to remove. |
Output
The node outputs a JSON object representing the response from the SAP B1 Service Layer after attempting to delete the specified Inventory Transfer Request. Typically, this will contain confirmation of deletion or details about any errors encountered.
If an error occurs during the deletion process, the output JSON will contain an error field with the error message.
No binary data output is produced by this operation.
Dependencies
- Requires connection to an SAP Business One Service Layer instance (version 8).
- Needs credentials including:
- Base URL of the SAP B1 Service Layer.
- 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 endpoint.
Troubleshooting
- Authentication failures: If login fails, verify that the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: If the specified document entry does not exist or is incorrect, the API will return an error indicating the document could not be found.
- Permission issues: Ensure the user account has sufficient permissions to delete inventory transfer requests.
- Network issues: Connection problems or SSL certificate issues may cause request failures; check network connectivity and SSL settings.
- Error messages: The node returns error messages from the SAP B1 API in the output JSON under the
errorkey. Use these messages to diagnose issues.
Links and References
- SAP Business One Service Layer Documentation
- SAP Business One Inventory Transfer Requests
- n8n HTTP Request Node Documentation (for understanding underlying request mechanics)