Actions10
- Chart of Account Actions
- Journal Entrie Actions
- Internal Reconciliation Actions
Overview
This node integrates with the SAP B1 Service Layer 2 for financial operations, specifically allowing interaction with Journal Entries among other resources. The Update operation for Journal Entries enables users to modify existing journal entries in their SAP Business One system by sending partial updates via a PATCH request.
Common scenarios where this node is beneficial include:
- Adjusting accounting records after initial entry creation.
- Correcting or updating details of journal entries without recreating them.
- Automating financial workflows that require dynamic updates to journal data.
For example, a user might update the description or amounts of a journal entry after receiving additional information or correcting an error.
Properties
| Name | Meaning |
|---|---|
| Key | The unique numeric identifier of the journal entry to update. |
| JSON Body | The JSON content representing the fields and values to update in the journal entry. |
The JSON Body property accepts a JSON object specifying the fields to be updated on the journal entry. This allows partial updates according to the SAP B1 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 B1 Service Layer API after performing the update operation. This typically includes the updated journal entry data or confirmation of the update.- In case of errors, the
jsonfield contains anerrorproperty with the error message.
No binary data output is produced by this node.
Dependencies
- Requires connection to an SAP Business One Service Layer instance.
- Needs credentials including base URL, username, password, and company database name.
- The node authenticates by logging in to the SAP B1 Service Layer and manages session cookies for subsequent requests.
- The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.
Troubleshooting
- Authentication failures: If login fails, verify the provided credentials (username, password, company DB) and network connectivity to the SAP B1 Service Layer.
- Invalid Key: Providing a non-existent or incorrect journal entry key will result in errors from the API. Ensure the key corresponds to an existing journal entry.
- Malformed JSON Body: The JSON body must conform to the expected schema for journal entries. Invalid or incomplete JSON may cause the API to reject the request.
- Permission issues: The authenticated user must have sufficient permissions to update journal entries.
- Network or SSL errors: Since the node disables strict SSL verification (
rejectUnauthorized: false), ensure the network allows connections and the server is reachable.
Error messages returned by the node will include the API error details, which can guide resolution steps.
Links and References
- SAP Business One Service Layer API Documentation
- Journal Entries - SAP B1 API Reference (example link; consult your SAP B1 version docs)