Actions34
- Inventory Counting Actions
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Posting Actions
- Item Actions
- Stock Transfer Actions
Overview
This node interacts with the SAP Business One Service Layer (version 7) specifically for inventory-related resources. It allows users to perform various operations on inventory documents such as creating, updating, canceling, closing, reopening, and retrieving inventory entries and related records.
For the Inventory Gen Entrie resource, the node supports operations including reopening an inventory entry. This is useful in scenarios where an inventory document was previously closed or canceled but needs to be reopened for further modifications or corrections.
Practical example:
A warehouse manager might use this node to reopen a previously closed inventory generation entry to adjust quantities or correct errors before finalizing the inventory record again.
Properties
Name | Meaning |
---|---|
DocEntry / Key | Primary key of the inventory entry resource. Used to identify the specific document to operate on. |
The property "DocEntry / Key" is a string representing the unique identifier of the inventory entry document to be reopened.
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output object contains the response from the SAP B1 Service Layer API call:
- On success, the
json
field contains the full JSON response returned by the SAP API for the requested operation (e.g., details of the reopened inventory entry). - On failure, the
json
field contains anerror
property with the error message describing what went wrong.
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 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 node uses HTTP methods (GET, POST, PATCH, DELETE) to interact with the SAP API endpoints.
- No additional external dependencies beyond the SAP Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, verify that the username, password, and company database are correct and that the SAP Service Layer is accessible.
- Invalid DocEntry: Errors may occur if the provided DocEntry does not exist or is invalid. Ensure the DocEntry corresponds to an existing inventory entry.
- Operation not allowed: Attempting to reopen an inventory entry that cannot be reopened due to business rules will result in an error. Check SAP B1 documentation for constraints on reopening documents.
- Network issues: Connection timeouts or SSL errors can happen if the SAP Service Layer URL is incorrect or network/firewall settings block access.
- Error messages: The node returns error messages from the SAP API directly in the output JSON under the
error
key. Use these messages to diagnose issues.