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 entities, including Purchase Orders. Specifically, for the Purchase Order - Create operation, it allows users to create new purchase orders in their SAP Business One system by sending a JSON payload representing the purchase order details.
Common scenarios where this node is beneficial include automating procurement workflows, integrating external systems with SAP for purchase order creation, and streamlining purchase order management without manual data entry.
For example, a company could use this node to automatically generate purchase orders from an e-commerce platform or inventory management system whenever stock levels fall below a threshold.
Properties
| Name | Meaning |
|---|---|
| JSON Body | The JSON content sent as the request body to create the purchase order. This should contain all necessary fields according to SAP's Purchase Order API schema. |
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 Service Layer API after attempting to create the purchase order. This typically includes details of the created purchase order such as its unique identifier and status.pairedItem: Metadata linking the output to the respective input item.
If an error occurs during the creation process, 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 Service Layer instance.
- Needs credentials including:
- Base URL of the SAP Service Layer API.
- Username and password for authentication.
- Company database name.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- No additional environment variables are required beyond the configured credentials.
Troubleshooting
- Authentication errors: If login fails, verify that the base URL, username, password, and company database are correct and that the SAP Service Layer is accessible.
- Invalid JSON Body: Ensure the JSON body matches the expected schema for creating a purchase order in SAP. Invalid or incomplete data may cause API errors.
- Network issues: Connection problems to the SAP Service Layer endpoint can cause request failures.
- Error messages: The node returns error messages from the SAP API in the output JSON under the
errorkey. Review these messages to identify issues such as missing required fields or invalid values. - Session handling: The node manages session cookies internally; if sessions expire quickly, consider checking SAP Service Layer session timeout settings.
Links and References
- SAP Business One Service Layer Documentation
- SAP Service Layer API Reference
- OData Query Options (for
$selectand$filterusage in other operations)
Note: This summary focuses on the "Purchase Order" resource and the "Create" operation as requested.