Actions88
- Purchase Credit Note Actions
- Purchase Invoice Actions
- Purchase Delivery Note Actions
- Purchase Down Payment Actions
- Purchase Order Actions
- Purchase Quotation Actions
- Purchase Request Actions
- Purchase Return Actions
- Purchase Tax Invoice Actions
Overview
This node integrates with the SAP Service Layer to manage various purchase-related documents in SAP Business One. Specifically, for the Purchase Down Payment resource and the Reopen operation, it allows users to reopen a previously closed or canceled purchase down payment document by its unique identifier (DocEntry). This is useful in scenarios where a down payment document needs to be reactivated for further processing or correction after being closed.
Practical examples include:
- Reopening a purchase down payment that was mistakenly closed so that additional changes can be made.
- Reactivating a down payment document to continue workflow processes such as approvals or payments.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique numeric identifier of the Purchase Down Payment document to be reopened. |
Output
The node outputs the JSON response returned by the SAP Service Layer API after attempting to reopen the specified purchase down payment. This typically includes the updated document data or status confirmation.
If an error occurs (e.g., invalid DocEntry or network issues), the output JSON will contain an error field with the error message.
No binary data output is produced by this node.
Dependencies
- Requires connection credentials to the SAP Service Layer API, including:
- Base URL of the SAP 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 SAP Service Layer must be accessible from the n8n environment.
Troubleshooting
Common Issues:
- Invalid or missing
DocEntry: The API will return an error if the specified document does not exist. - Authentication failures: Incorrect credentials or company DB name will prevent login.
- Network connectivity problems to the SAP Service Layer endpoint.
- Insufficient permissions to perform the reopen operation on the document.
- Invalid or missing
Error Messages:
- Errors are returned in the output JSON under the
errorkey. - Typical messages may include "Document not found", "Unauthorized", or "Session expired".
- Errors are returned in the output JSON under the
Resolutions:
- Verify the
DocEntryvalue corresponds to an existing purchase down payment. - Check and update SAP Service Layer credentials.
- Ensure network access and firewall rules allow communication with the SAP Service Layer.
- Confirm user permissions within SAP Business One.
- Verify the
Links and References
- SAP Business One Service Layer Documentation
- SAP Service Layer API Reference (example link; check your version)
- OData Query Options (for
$selectand$filterusage)
Note: This summary focuses exclusively on the Purchase Down Payment resource and the Reopen operation as requested.