Actions19
- Customer Equipment Card Actions
- Knowledge Base Solution Actions
- Service Call Actions
- Service Contract Actions
Overview
This node interacts with the SAP Business One Service Layer API to perform operations on various resources, including Customer Equipment Cards. Specifically, the "Get by Key" operation for Customer Equipment Cards retrieves a single equipment card record identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific piece of customer equipment stored in SAP B1.
Practical examples:
- Fetching details of a particular customer equipment card to display or process in a workflow.
- Validating the existence or status of a customer equipment card before performing updates or related operations.
- Integrating SAP B1 equipment data into other systems or dashboards by retrieving specific records on demand.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (number) of the Customer Equipment Card to retrieve. Required. |
Output
The output is a JSON object representing the retrieved Customer Equipment Card record as returned by the SAP B1 Service Layer API. It contains all fields and properties of that equipment card.
If an error occurs during the request, the output JSON will contain an error field with the error message.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the SAP Business One Service Layer API.
- Requires credentials providing the base URL, username, password, and company database name for SAP B1.
- The node performs a login POST request to obtain session cookies used for subsequent API calls.
- The node uses HTTP methods GET, POST, PATCH, DELETE depending on the operation; for "Get by Key," it uses GET.
Troubleshooting
- Authentication errors: If login fails, check the provided SAP B1 credentials (username, password, company DB) and ensure the Service Layer endpoint is reachable.
- Invalid DocEntry: If the specified
DocEntrydoes not exist, the API may return an error or empty result. Verify the key value. - Network issues: Ensure the SAP B1 Service Layer URL is correct and accessible from the n8n environment.
- SSL issues: The node disables strict SSL verification (
rejectUnauthorized: false), but if your environment requires strict SSL, adjust accordingly. - Error messages: Errors are returned in the output JSON under the
errorkey. Review these messages to diagnose issues.