SAP B1 Service Layer 6 - Gestion Bancos icon

SAP B1 Service Layer 6 - Gestion Bancos

Interact with SAP B1 Service Layer 6 - Gestion Bancos

Overview

This node interacts with the SAP Business One Service Layer specifically for managing bank pages and related financial documents. The "Update" operation on the "Bank Page" resource allows users to modify existing bank page records in SAP B1 by specifying the document identifier and providing updated data in JSON format.

Common scenarios where this node is beneficial include:

  • Automating updates to bank page entries as part of financial workflows.
  • Integrating SAP B1 bank page management into broader automation pipelines.
  • Synchronizing external system changes back into SAP B1 bank pages.

For example, a user might update the details of a bank transaction or correct information on a bank page record programmatically without manual entry in SAP B1.

Properties

Name Meaning
DocEntry Identifier of the bank page document to update. Required to specify which record to modify.
JSON Body JSON content representing the fields and values to update on the bank page document.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output object contains the response from the SAP B1 Service Layer after attempting the update operation. The structure typically reflects the updated bank page record or an error message if the update failed.

Example output JSON snippet:

{
  "DocEntry": 123,
  "BankCode": "001",
  "AccountNumber": "987654321",
  "Status": "Updated"
}

If the node encounters an error during the update, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires connection credentials to SAP Business One Service Layer API, including:
    • Base URL of the SAP B1 Service Layer.
    • Username and password for authentication.
    • Company database name.
  • The node performs login via a POST request to /Login endpoint to obtain session cookies used in subsequent requests.
  • No additional external dependencies beyond the SAP B1 Service Layer API.

Troubleshooting

  • Authentication errors: If login fails, verify that the base URL, username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
  • Invalid DocEntry: Providing a non-existent or incorrect DocEntry will cause the update to fail. Ensure the document ID exists in SAP B1.
  • Malformed JSON Body: The JSON body must be valid and conform to SAP B1's expected schema for bank pages. Invalid or incomplete JSON may result in errors.
  • Network issues: Connection problems or SSL certificate issues (the node disables strict SSL verification) can cause request failures.
  • Error messages returned in the output JSON under the error key should be reviewed to understand specific failure reasons.

Links and References

Discussion