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 "Inventory Gen Exit" resource with the "Close" operation allows users to close an inventory exit document in SAP B1. Closing an inventory exit typically means finalizing the document so that no further changes can be made, which is a common step in inventory management workflows.
Practical scenarios where this node is beneficial include:
- Automating the closing of inventory exit documents after all items have been processed.
- Integrating SAP B1 inventory exit closure into broader ERP automation workflows.
- Ensuring inventory exits are properly closed as part of scheduled batch jobs or triggered events.
Example: After creating and updating an inventory exit document via other operations, you can use this node to close it programmatically by providing its primary key (DocEntry).
Properties
Name | Meaning |
---|---|
DocEntry / Key | Primary key of the inventory exit document to be closed. This identifies the specific record. |
Output
The node outputs JSON data representing the response from the SAP B1 Service Layer after attempting to close the specified inventory exit document. The structure corresponds to the API's response and may include details about the closed document or error information if the operation failed.
If an error occurs during execution, the output JSON will contain an error
field with the error message.
No binary data output is produced by this node.
Dependencies
- Requires connection to SAP Business One Service Layer API (version 7).
- Needs credentials including base URL, username, password, and company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.
- No additional external dependencies beyond the configured SAP B1 API credentials.
Troubleshooting
- Authentication errors: If login fails, verify the provided SAP B1 credentials (username, password, company DB) and network connectivity to the SAP Service Layer.
- Invalid DocEntry: Providing a wrong or non-existent DocEntry will cause the API to return an error. Ensure the DocEntry corresponds to an existing inventory exit document.
- Permission issues: The user account must have sufficient permissions to close inventory exit documents.
- API endpoint unreachable: Check network settings and firewall rules to ensure the SAP Service Layer URL is accessible.
- Unexpected errors: The node returns error messages from the API in the output JSON under the
error
field. Review these messages for clues on resolution.
Links and References
- SAP Business One Service Layer Documentation
- SAP Business One Inventory Management Concepts
(Note: Replace with actual URLs relevant to your SAP B1 version and documentation.)