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 B1 Service Layer 6 focused on bank management operations. Specifically, for the Vendor Payment - Cancel operation, it allows users to cancel an existing vendor payment document in SAP Business One. This is useful in scenarios where a payment was created erroneously or needs to be revoked due to changes in vendor agreements or errors in processing.
Practical examples include:
- Cancelling a vendor payment that was duplicated.
- Revoking a payment due to incorrect amounts or vendor details.
- Automating cancellation workflows triggered by external systems or error handling processes.
Properties
| Name | Meaning |
|---|---|
| DocEntry | Identifier of the vendor payment document to be cancelled. This is a required string. |
Output
The node outputs JSON data representing the response from the SAP B1 Service Layer after attempting to cancel the vendor payment. The structure typically includes confirmation of the cancellation or error details if the operation failed.
Example output JSON might look like:
{
"DocEntry": 123,
"Status": "Cancelled",
"Message": "Vendor payment successfully cancelled."
}
If an error occurs, the output JSON will contain an error field with the error message.
The node does not output binary data.
Dependencies
- Requires connection to an SAP Business One Service Layer API endpoint.
- Needs credentials including base URL, username, password, and company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- No additional external services are required beyond the SAP B1 Service Layer.
Troubleshooting
- Authentication Errors: If login fails, verify the provided SAP credentials and company database name.
- Invalid DocEntry: Ensure the
DocEntrycorresponds to an existing vendor payment document; otherwise, the API will return an error. - Network Issues: Connection problems to the SAP Service Layer URL can cause request failures.
- Permission Issues: The user account must have sufficient permissions to cancel vendor payments.
- Error Messages: The node returns error messages from the SAP API in the
errorfield of the output JSON. Review these messages to identify issues such as invalid input or authorization failures.