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 integrates with the SAP Business One Service Layer (version 6) focused on bank management operations. Specifically, for the Vendor Payment resource and the Get Approval Templates operation, it retrieves approval templates related to vendor payments in SAP B1. This is useful when automating workflows that require fetching approval configurations before processing or updating vendor payments.

Typical use cases include:

  • Automatically retrieving approval templates to display or validate before submitting a vendor payment.
  • Integrating SAP B1 approval workflows into broader automation pipelines.
  • Auditing or reporting on approval templates associated with specific vendor payment documents.

Properties

Name Meaning
DocEntry Identifier of the document (vendor payment) for which to get approval templates. Required.

Output

The node outputs an array of JSON objects corresponding to the response from the SAP B1 Service Layer API call for approval templates. Each item in the output contains the raw JSON data returned by SAP B1 about the approval templates linked to the specified vendor payment document.

The output structure is:

{
  "json": {
    // SAP B1 API response containing approval template details
  },
  "pairedItem": {
    "item": <index_of_input_item>
  }
}

No binary data is produced by this node.

Dependencies

  • Requires connection credentials to the SAP Business One Service Layer API, including:
    • Base URL of the SAP B1 Service Layer endpoint.
    • Username and password for authentication.
    • Company database name.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The node uses HTTP requests with cookie-based session management.
  • No additional external services are required beyond the SAP B1 Service Layer.

Troubleshooting

  • Authentication errors: If login fails, verify the SAP B1 credentials (username, password, company DB) and network connectivity to the SAP Service Layer.
  • Invalid DocEntry: Ensure the DocEntry value corresponds to an existing vendor payment document; otherwise, the API may return errors or empty results.
  • API endpoint issues: Confirm the base URL is correct and accessible. SSL certificate issues can be bypassed (rejectUnauthorized: false), but this should be handled carefully in production.
  • Error responses: The node returns error messages in the output JSON if the API call fails. Review these messages to identify issues such as permission problems or invalid parameters.

Links and References


If you need further details on other operations or resources, feel free to ask!

Discussion