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 interacts with the SAP Service Layer to manage Purchase Credit Notes within the SAP Business One environment. Specifically, the "Get by Key (Select)" operation retrieves a single Purchase Credit Note identified by its unique key (DocEntry), allowing users to specify which fields to return via an OData $select query parameter.
Common scenarios where this node is beneficial include:
- Fetching detailed information about a specific purchase credit note for auditing or reporting.
- Retrieving only relevant fields of a purchase credit note to optimize data transfer and processing.
- Integrating SAP purchase credit note data into other systems or workflows selectively.
Practical example:
A user wants to get the DocEntry, CardCode, and DocTotal fields of a particular purchase credit note with DocEntry 12345 to display in a dashboard without fetching the entire record.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (number) of the Purchase Credit Note to retrieve. Required field. |
| Select | Comma-separated list of fields to return from the Purchase Credit Note (used as $select). Example: DocEntry,CardCode,DocTotal. Optional; if empty, all fields are returned. |
Output
The output is a JSON object representing the Purchase Credit Note retrieved from SAP Service Layer. The structure corresponds to the selected fields specified in the Select property or the full entity if no selection is made.
Example output JSON snippet when selecting DocEntry, CardCode, and DocTotal:
{
"DocEntry": 12345,
"CardCode": "V1000",
"DocTotal": 1500.00
}
If the node encounters an error during execution, 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, username, password, and company database name.
- The node authenticates by logging in to SAP Service Layer and manages session cookies internally.
- No additional external dependencies beyond the SAP Service Layer API.
Troubleshooting
- Authentication errors: If login fails, verify that the SAP Service Layer URL, username, password, and company database are correct and that the SAP Service Layer service is accessible.
- Invalid
DocEntry: If the specifiedDocEntrydoes not exist, the node will return an error indicating the resource was not found. - Malformed
Selectstring: Ensure theSelectproperty contains valid field names separated by commas without extra spaces or invalid characters. - Network issues: Connection timeouts or SSL errors may occur if the SAP Service Layer endpoint is unreachable or has certificate issues. Check network connectivity and SSL settings.
- Permission issues: The authenticated user must have sufficient permissions to read Purchase Credit Notes in SAP.
Links and References
- SAP Business One Service Layer Documentation
- OData Query Options - $select
- SAP Business One Purchase Credit Notes
If you need details on other operations or resources, feel free to ask!