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 Inventory Gen Exit documents. Specifically, for the Delete operation on the Inventory Gen Exit resource, it deletes an existing Inventory Gen Exit document identified by its unique DocEntry. This is useful in scenarios where an Inventory Gen Exit document was created erroneously or needs to be removed from the system.
Practical examples include:
- Removing a mistakenly created inventory exit record.
- Cleaning up test or draft documents before finalizing reports.
- Automating deletion of obsolete inventory exit entries as part of a workflow.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (document entry number) of the Inventory Gen Exit document to delete. It is required to specify which document to remove. |
Output
The output is a JSON object representing the response from the SAP B1 Service Layer after attempting to delete the specified Inventory Gen Exit document. Typically, this will contain confirmation of deletion or error details if the operation failed.
Example output structure:
{
"json": {
// Response data from SAP B1 Service Layer, e.g. success message or error details
},
"pairedItem": {
"item": 0 // Index of the input item this output corresponds to
}
}
No binary data is produced by this node.
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 authenticates via a login POST request to obtain session cookies used in subsequent requests.
- The node uses HTTP methods (DELETE for this operation) to interact with the SAP API endpoints.
Troubleshooting
- Authentication errors: If login fails, check that the provided credentials (username, password, company DB) are correct and that the SAP Service Layer endpoint is reachable.
- Document not found: Deletion will fail if the specified
DocEntrydoes not exist. Verify the document ID before running the node. - Permission issues: Ensure the user account has sufficient rights to delete Inventory Gen Exit documents.
- Network/SSL errors: The node disables SSL verification (
rejectUnauthorized: false), but network connectivity issues or firewall restrictions can still cause failures. - Error messages: The node returns error messages from the SAP API in the output JSON under the
errorkey. Review these messages to diagnose issues.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Gen Exit Object Reference
- n8n HTTP Request Node Documentation (for understanding underlying HTTP calls)