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. The "Stock Transfer" resource's "Close" operation allows users to close a stock transfer document in SAP B1. Closing a stock transfer typically means finalizing it so that no further changes can be made, which is useful in inventory management workflows to confirm that stock movements are complete.
Practical scenarios include:
- Finalizing internal stock transfers between warehouses.
- Automating inventory workflows where stock transfers must be closed after verification.
- Integrating SAP B1 stock transfer status updates into broader business processes.
Properties
Name | Meaning |
---|---|
DocEntry / Key | Primary key of the stock transfer document to identify which stock transfer to close. |
The property "DocEntry / Key" is a string representing the unique identifier of the stock transfer document you want to close.
Output
The node outputs JSON data representing the response from the SAP B1 Service Layer API after attempting to close the specified stock transfer. This JSON typically contains details about the updated stock transfer document or an error message if the operation failed.
If the operation succeeds, the output JSON will reflect the closed state of the stock transfer. If there is an error, the output JSON will contain an error
field with the error message.
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.
- 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 requests with cookie-based session authentication.
- No additional external dependencies beyond the SAP B1 Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, verify the username, password, company database, and base URL are correct.
- Invalid DocEntry: If the provided DocEntry does not exist or is incorrect, the API will return an error. Ensure the DocEntry corresponds to an existing stock transfer.
- Permission issues: The user account must have permissions to close stock transfers in SAP B1.
- Network or SSL issues: The node disables strict SSL verification (
rejectUnauthorized: false
), but network connectivity and firewall settings must allow access to the SAP B1 Service Layer endpoint. - Error messages: Errors returned from the SAP B1 API are passed through in the output JSON under the
error
key. Review these messages for specific causes.
Links and References
- SAP Business One Service Layer Documentation
- SAP Business One Inventory Management Concepts (example link, adjust based on actual SAP docs)