Actions45
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Transfer Request Actions
- Product Tree Actions
- Production Order Actions
Overview
This node interacts with the SAP Business One Service Layer (version 8) to manage production-related documents, specifically including Inventory Gen Exit documents. The "Reopen" operation allows users to reopen a previously closed Inventory Gen Exit document in SAP B1. This is useful when a document was closed prematurely or needs further modifications after closure.
Practical scenarios include:
- Reopening an Inventory Gen Exit document to correct errors or add missing information.
- Managing inventory adjustments by reopening exit documents that were finalized but require updates.
- Integrating SAP B1 document lifecycle management into automated workflows.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (document entry number) of the Inventory Gen Exit document to reopen. This is required to specify which document to act upon. |
Output
The node outputs JSON data representing the response from the SAP B1 Service Layer API for the reopen request. Typically, this will include confirmation of the reopened document or error details if the operation failed.
The output structure is:
{
// Response object from SAP B1 Service Layer after reopening the document
}
No binary data output is produced by this operation.
Dependencies
- Requires connection to an SAP Business One Service Layer instance (version 8).
- Needs credentials including base URL, username, password, and company database name to authenticate via SAP B1 login endpoint.
- The node manages session cookies internally to maintain authentication state.
- Network access to the SAP B1 Service Layer API endpoint must be configured.
Troubleshooting
- Authentication failures: If login to SAP B1 Service Layer fails, check credentials and network connectivity.
- Invalid DocEntry: Errors may occur if the specified DocEntry does not exist or is not valid for reopening. Verify the document ID.
- Permission issues: Ensure the user account has rights to reopen Inventory Gen Exit documents.
- API errors: The node returns error messages from SAP B1 Service Layer in the output JSON under an
errorfield. Review these messages for specific causes. - SSL issues: The node disables strict SSL verification (
rejectUnauthorized: false). If your environment requires strict SSL, adjust accordingly.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Gen Exit Object Reference
- n8n HTTP Request Node Documentation (for understanding underlying request handling)