Actions45
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Transfer Request Actions
- Product Tree Actions
- Production Order Actions
Overview
This node integrates with the SAP Business One Service Layer (version 8) to manage various business documents and entities. Specifically, for the Inventory Transfer Request resource with the Get by Key operation, it retrieves a single inventory transfer request document identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific inventory transfer request from SAP B1, such as for auditing, reporting, or further processing in an automation workflow.
Practical example:
You have an automated process that triggers when a new inventory transfer request is created in SAP B1. Using this node with the "Get by Key" operation, you can retrieve the full details of that request by its DocEntry to validate data or update other systems accordingly.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (key) of the Inventory Transfer Request document to retrieve. |
- The
DocEntryproperty is required and must be provided as a string. - It is used to specify which inventory transfer request document to fetch.
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the "Get by Key" operation on Inventory Transfer Requests, each output item contains:
- A
jsonfield holding the full response object returned by the SAP B1 Service Layer for the requested inventory transfer request. - The structure of this JSON matches the SAP B1 API's representation of an Inventory Transfer Request, including all its properties and nested data.
No binary data output is produced by this node.
Dependencies
- Requires connection credentials to the SAP Business One Service Layer API, 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 before making subsequent API calls.
- The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.
- No additional external libraries beyond n8n's built-in HTTP request helper are needed.
Troubleshooting
- Authentication errors: If login fails, verify the username, password, company database, and base URL are correct and accessible.
- Invalid DocEntry: If the specified
DocEntrydoes not exist, the SAP B1 API will return an error; ensure the key is valid and corresponds to an existing inventory transfer request. - Network issues: Connection timeouts or SSL errors may occur if the SAP B1 server is unreachable or has invalid certificates. The node disables strict SSL verification (
rejectUnauthorized: false) but network connectivity must be stable. - API changes: If SAP B1 Service Layer API endpoints or schemas change, the node might fail; confirm compatibility with your SAP B1 version.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Transfer Requests API Reference (consult your version-specific docs)
- n8n HTTP Request Node Documentation (for understanding HTTP request options)
This summary is based solely on static analysis of the provided source code and property definitions.