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 Posting resources. It allows users to perform various operations such as retrieving an inventory posting by its key, creating, updating, or deleting inventory postings. This is useful in scenarios where businesses need to automate inventory management tasks within SAP B1, such as fetching specific inventory posting details for reporting or updating inventory records programmatically.
For example, a user can retrieve an inventory posting document by its unique identifier (DocEntry) to verify stock movements or update an existing inventory posting with new data from an external system.
Properties
Name | Meaning |
---|---|
DocEntry / Key | Primary key of the inventory posting resource; used to identify the specific record. |
- The "DocEntry / Key" property is required when performing operations that target a specific inventory posting, such as "Get by Key", "Update", or "Delete".
Output
The node outputs JSON data representing the response from the SAP B1 Service Layer API for the requested operation. For example, when using "Get by Key", the output JSON contains the detailed information of the specified inventory posting record.
If an error occurs during the request, the output JSON will contain an error
field with the error message.
The node does not output binary data.
Dependencies
- Requires connection credentials to the SAP Business One Service Layer API, including:
- Base URL of the SAP B1 Service Layer.
- Username and password for authentication.
- Company database name.
- The node authenticates by sending a login POST request to the
/Login
endpoint and uses session cookies for subsequent requests. - No additional external dependencies are required beyond access to the SAP B1 Service Layer API.
Troubleshooting
- Authentication errors: If login fails, ensure the provided username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: When using "Get by Key" or other operations requiring a key, providing an incorrect or non-existent DocEntry will result in an error. Verify the key value before running the node.
- Network issues: Connection failures may occur if the SAP B1 Service Layer URL is unreachable or SSL certificates are invalid. The node disables strict SSL verification (
rejectUnauthorized: false
) but network connectivity must be ensured. - API errors: Any errors returned by the SAP B1 API will be included in the output under the
error
field. Review the error message for details on what went wrong.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Posting Concepts (example placeholder link)