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 Quotation resource and the Close operation, it allows users to close a purchase quotation by its unique identifier (DocEntry). Closing a purchase quotation typically means marking it as finalized or no longer open for changes, which is useful in procurement workflows to lock the document after review or approval.
Common scenarios:
- Automating the closing of purchase quotations once they have been approved.
- Integrating SAP purchase quotation status updates into broader business automation workflows.
- Ensuring that closed quotations are not accidentally modified later.
Practical example:
You have an automated process where purchase quotations are reviewed externally. Once approved, this node can be used to close those quotations in SAP automatically, preventing further edits and signaling readiness for the next procurement step.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique numeric identifier of the purchase quotation to close. This is required. |
Output
The node outputs the JSON response returned by the SAP Service Layer API after attempting to close the specified purchase quotation. The output structure corresponds directly to the SAP API's response and typically includes details about the updated document status or any error messages.
json: Contains the full API response object.- If the operation fails, the output will contain an
errorfield with the error message.
The node does not output binary data.
Dependencies
- Requires connection credentials to the SAP Service Layer API, including:
- Base URL of the SAP Service Layer.
- Username and password for authentication.
- Company database name.
- The node performs a login request to obtain session cookies needed for subsequent API calls.
- No additional external dependencies beyond the SAP Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, ensure the provided username, password, and company database are correct and that the SAP Service Layer endpoint is reachable.
- Invalid DocEntry: If the specified
DocEntrydoes not exist or is incorrect, the API will return an error. Verify the identifier before running the node. - Permission issues: The user account must have sufficient permissions to close purchase quotations.
- Network/SSL issues: The node disables SSL certificate verification (
rejectUnauthorized: false) to avoid common SSL errors, but network connectivity problems may still occur. - API errors: Any API error responses are passed through in the output under an
errorfield. Review these messages for specific causes.
Links and References
- SAP Business One Service Layer Documentation
- SAP Purchase Quotations API Reference (example path; check your version)
- OData Query Options
If you need details on other operations or resources, please provide their names.