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 (SAP B1) Service Layer version 8, specifically targeting production-related resources. The "Production Order" resource allows users to manage production orders within SAP B1. The "Get by Key" operation retrieves a specific production order by its unique identifier (DocEntry). This is useful for workflows that need to fetch detailed information about a particular production order, such as checking status, verifying details before updates, or integrating SAP B1 data into other systems.
Practical examples:
- Automatically retrieving a production order's details when triggered by an external event.
- Validating a production order's existence and status before performing further actions like updating or closing it.
- Integrating SAP B1 production order data into reporting dashboards or ERP synchronization processes.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique key (identifier) of the production order to retrieve. This is a required string. |
Output
The node outputs JSON data representing the production order retrieved from SAP B1. The structure corresponds directly to the SAP B1 Service Layer response for a production order entity, including all its fields and nested objects as provided by SAP.
If the request fails, the output JSON will contain an error field with the error message describing what went wrong.
No binary data output is produced by this operation.
Dependencies
- Requires connection credentials to the SAP B1 Service Layer API, including:
- Base URL of the SAP B1 Service Layer endpoint.
- Username and password for authentication.
- Company database name.
- The node performs a login request to obtain session cookies used in subsequent requests.
- The node uses HTTP methods (GET, POST, PATCH, DELETE) to interact with the SAP B1 API.
- No additional external dependencies beyond the SAP B1 Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, ensure the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: If the specified
DocEntrydoes not exist, the API may return an error indicating the document was not found. - Network issues: Connection timeouts or SSL errors can occur if the SAP B1 server is unreachable or has invalid certificates. The node disables strict SSL verification (
rejectUnauthorized: false) but network connectivity must be verified. - Permission issues: The user account must have sufficient permissions to read production orders.
- Error messages: Errors returned by the SAP B1 API are passed through in the output under the
errorfield. Review these messages for clues on misconfiguration or invalid parameters.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Production Orders API Reference (example link; consult your SAP B1 version docs)
- n8n HTTP Request Node documentation for understanding underlying request mechanics: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
This summary is based solely on static analysis of the provided source code and property definitions.