Actions19
- Bank Page Actions
- External Reconciliation Cancel Actions
- External Reconciliation Reconcile Actions
- Incoming Payment Actions
- Vendor Payment Actions
Overview
This node integrates with the SAP Business One Service Layer (version 6) specifically for managing banking-related entities, including Vendor Payments. The "Update" operation for the "Vendor Payment" resource allows users to modify existing vendor payment records in SAP B1 by specifying the document identifier and providing updated data in JSON format.
Typical use cases include automating updates to vendor payments such as correcting amounts, changing payment details, or updating statuses without manual intervention in SAP B1. For example, a finance team could use this node to programmatically adjust vendor payment information based on external system inputs or after approval workflows.
Properties
| Name | Meaning |
|---|---|
| DocEntry | Identifier of the vendor payment document to update. This is required to specify which record to modify. |
| JSON Body | JSON content representing the fields and values to update in the vendor payment record. This should follow SAP B1's expected schema for vendor payments. |
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 after attempting the update operation. This typically includes the updated vendor payment data or confirmation of success.- In case of errors, the
jsonfield contains anerrorproperty with the error message describing what went wrong.
No binary data output is produced by this node.
Dependencies
- Requires connection credentials to SAP Business One Service Layer API, including:
- Base URL of the SAP B1 Service Layer instance
- Username and password for authentication
- Company database name
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The node uses HTTP requests with cookie-based session management.
- No additional external services are required beyond SAP B1.
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: Errors may occur if the specified
DocEntrydoes not exist or is incorrect. Ensure the document ID matches an existing vendor payment. - Malformed JSON Body: The update body must conform to SAP B1's expected JSON structure. Invalid or incomplete JSON can cause API errors.
- Permission issues: The user account must have sufficient permissions to update vendor payments.
- Network or SSL errors: The node disables strict SSL verification (
rejectUnauthorized: false), but network connectivity issues or firewall restrictions can still block requests. - Error messages returned in the
errorfield should be reviewed to identify specific causes.
Links and References
- SAP Business One Service Layer API Documentation
- SAP Business One SDK and Service Layer Guide
- n8n HTTP Request Node documentation for understanding request options and error handling.