SAP B1 Service Layer 10 - Servicio icon

SAP B1 Service Layer 10 - Servicio

Interact with SAP B1 Service Layer 10 - Servicio

Actions19

Overview

This node interacts with the SAP Business One Service Layer API to update a Customer Equipment Card record. It allows users to modify existing customer equipment card entries by specifying the unique identifier (DocEntry) and providing the updated data in JSON format.

Typical use cases include:

  • Automating updates to customer equipment details such as serial numbers, descriptions, or status.
  • Integrating SAP B1 equipment card updates into broader workflows, e.g., after receiving new equipment info from external systems.
  • Synchronizing equipment data between SAP B1 and other platforms.

Example: Update the description and status of a specific customer equipment card identified by its DocEntry.

Properties

Name Meaning
DocEntry The unique numeric identifier of the Customer Equipment Card to update (required).
JSON Body A JSON object containing the fields and values to update on the Customer Equipment Card.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the SAP B1 Service Layer API for the update operation. This typically includes the updated resource representation or confirmation of success.
  • In case of errors, the json field contains an error property 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 used for subsequent API calls.
  • The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.
  • No additional external libraries beyond n8n's built-in HTTP request helper are required.

Troubleshooting

  • Authentication failures: 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 DocEntry corresponds to an existing Customer Equipment Card; otherwise, the update will fail.
  • Malformed JSON Body: The JSON body must be valid and contain only updatable fields supported by SAP B1 for Customer Equipment Cards.
  • Permission issues: The user account must have sufficient permissions to update Customer Equipment Cards.
  • Network issues: Check connectivity and SSL certificate trust if requests fail due to network errors or TLS problems.

Common error messages returned from the API are included in the output under the error key for easier debugging.

Links and References

Discussion