Actions45
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Transfer Request Actions
- Product Tree Actions
- Production Order Actions
Overview
This node integrates with the SAP B1 Service Layer 8 - Produccion API to manage various SAP Business One documents and entities. Specifically, for the Inventory Gen Exit resource with the Create operation, it allows users to create new inventory exit documents in SAP B1 by sending a JSON payload representing the document details.
Common scenarios where this node is beneficial include automating inventory management workflows, such as recording goods leaving the warehouse or production line, syncing inventory data between systems, or integrating SAP B1 inventory exits into broader business processes.
For example, a user can automate the creation of an inventory exit document whenever products are shipped out, ensuring real-time inventory updates without manual entry.
Properties
| Name | Meaning |
|---|---|
| JSON Body | Content to send as the request body when creating or updating a document. This should be a JSON object representing the Inventory Gen Exit document details according to SAP B1 API requirements. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the SAP B1 Service Layer API for the requested operation.
- For the Create operation on Inventory Gen Exit, the output JSON will contain the newly created inventory exit document details as returned by SAP B1.
- If an error occurs during the request, the output JSON will contain an
errorfield with the error message.
No binary data output is produced by this node.
Dependencies
- Requires connection to an SAP B1 Service Layer 8 instance.
- Needs credentials including:
- Base URL of the SAP B1 Service Layer API.
- Username and password for authentication.
- Company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The environment must allow HTTPS requests with potentially self-signed certificates (
rejectUnauthorized: falseis set).
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 JSON Body: Ensure the JSON Body property contains valid JSON matching the expected schema for an Inventory Gen Exit document; otherwise, the API may reject the request.
- Network issues: Connection failures might occur if the SAP B1 server is unreachable or firewall rules block access.
- Permission issues: The authenticated user must have sufficient permissions to create inventory exit documents.
- Error messages: Errors returned from the SAP B1 API are passed through in the output's
errorfield. Review these messages for specific causes (e.g., validation errors, missing fields).
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Gen Exit API Reference (consult your SAP B1 version for exact API details)