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 production-related documents, including Inventory General Entries. Specifically, for the "Inventory Gen Entrie" resource and the "Delete" operation, it deletes an existing inventory general entry document identified by a unique document entry number.
Common scenarios where this node is beneficial include automating inventory adjustments or corrections by removing erroneous or obsolete inventory general entries directly from SAP B1. For example, if an incorrect inventory adjustment was posted, this node can be used in a workflow to delete that entry programmatically, ensuring data consistency without manual intervention.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (document entry number) of the Inventory General Entry to delete. |
Output
The node outputs a JSON object representing the response from the SAP B1 Service Layer after attempting to delete the specified inventory general entry. This typically includes confirmation of deletion or error details if the operation failed.
Example output structure:
{
"json": {
// Response data from SAP B1 Service Layer confirming deletion or 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, username, password, and company database name.
- The node performs a login request to obtain session cookies before making API calls.
- The environment must allow HTTP requests to the SAP B1 Service Layer endpoint.
Troubleshooting
- Authentication errors: If login fails, verify the provided SAP B1 credentials and company database name are correct.
- Invalid DocEntry: Deletion will fail if the specified DocEntry does not exist or is already deleted. Confirm the DocEntry value is accurate.
- Permission issues: Ensure the user account has sufficient permissions to delete inventory general entries.
- Network/SSL issues: The node disables SSL certificate verification (
rejectUnauthorized: false), but network connectivity problems or firewall restrictions may still block requests. - Error messages: The node returns error messages from SAP B1 in the output JSON under an
errorfield. Review these messages to identify specific issues.