Actions19
- Customer Equipment Card Actions
- Knowledge Base Solution Actions
- Service Call Actions
- Service Contract Actions
Overview
This node integrates with the SAP Business One Service Layer (version 10) to manage Customer Equipment Cards. Specifically, the Create operation allows users to add new customer equipment card records into their SAP B1 system via the Service Layer API.
Typical use cases include automating the creation of equipment records when onboarding new customers or registering new devices in a service management workflow. For example, after receiving customer details and equipment specifications from an external form or CRM, this node can programmatically create the corresponding equipment card in SAP B1 without manual data entry.
Properties
| Name | Meaning |
|---|---|
| JSON Body | The content sent as the request body to create the customer equipment card. This should be a JSON object containing all necessary fields for the new equipment card record. |
The JSON Body property accepts a JSON object that defines the attributes of the customer equipment card to be created. Users must provide valid SAP B1 equipment card fields according to their SAP schema.
Output
- The node outputs an array of JSON objects, each representing the response from the SAP B1 Service Layer API for the create request.
- The output JSON contains the newly created customer equipment card data as returned by SAP B1, including any generated keys or metadata.
- If an error occurs during the request, the output JSON will contain an
errorfield with the error message.
No binary data is produced by this node.
Dependencies
- Requires connection credentials to the SAP Business One 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 (
B1SESSIONand optionallyROUTEID) which are used for subsequent API calls. - The node uses HTTP requests with JSON payloads and expects JSON responses.
- No additional external libraries beyond n8n's built-in HTTP request helper are required.
Troubleshooting
- Authentication errors: If login fails, verify the SAP B1 Service Layer URL, username, password, and company database name are correct. Also ensure the SAP B1 Service Layer service is running and accessible.
- Invalid JSON Body: Ensure the JSON provided in the
JSON Bodyproperty matches the expected schema for a customer equipment card in SAP B1. Invalid or missing required fields will cause API errors. - Network issues: Connection timeouts or SSL errors may occur if the SAP B1 server is unreachable or has invalid certificates. The node disables strict SSL verification (
rejectUnauthorized: false) but network connectivity must still be ensured. - API errors: The SAP B1 Service Layer may return detailed error messages in the response JSON. Review these messages to adjust the request payload or parameters accordingly.