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 various inventory and production-related documents. Specifically, for the Inventory Transfer Request resource and the Save Draft to Document operation, it allows users to convert a draft inventory transfer request into a finalized document within SAP B1.
This is useful in scenarios where inventory transfer requests are initially saved as drafts for review or further editing before being committed as official documents in the system. For example, a warehouse manager might prepare multiple draft transfer requests and then use this operation to finalize them once all details are confirmed.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (document entry number) of the Inventory Transfer Request draft to be saved as a finalized document. This is required. |
Output
The node outputs the JSON response returned by the SAP B1 Service Layer after attempting to save the draft to a document. This typically includes details about the newly created or updated document, such as its identifiers, status, and any messages from the server.
If an error occurs during the operation, 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 an SAP Business One Service Layer instance (version 8).
- Requires credentials 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 which are used for subsequent API calls.
- The node uses HTTP methods (POST in this case) to interact with the SAP B1 API endpoints.
Troubleshooting
- Authentication errors: If login fails, verify that the base URL, username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: Ensure the
DocEntryprovided corresponds to an existing draft Inventory Transfer Request; otherwise, the API may return a not found or invalid document error. - Network issues: Connection problems or SSL certificate issues can cause request failures. The node disables strict SSL verification (
rejectUnauthorized: false), but network connectivity must still be stable. - API errors: The SAP B1 API may return detailed error messages in the response JSON. Review these messages to understand issues like permission problems or invalid request bodies.
- Empty or malformed JSON Body: Although not used in this operation, other operations require a valid JSON body. Providing incorrect JSON can cause errors.
Links and References
(Note: The above links are generic references to SAP B1 documentation and may need to be adjusted based on your SAP B1 version and environment.)