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) specifically for managing banking-related operations, including vendor payments. The "Cancel by Current System Date" operation for the Vendor Payment resource allows users to cancel a vendor payment based on the current system date in SAP B1.

Typical use cases include:

  • Automatically cancelling vendor payments that are no longer valid or need to be reversed on the same day they were created.
  • Managing payment workflows where cancellations must be aligned with the system's current date to maintain data consistency.
  • Streamlining financial processes by programmatically controlling payment cancellations without manual intervention.

For example, a finance team could use this node to cancel a vendor payment if an error is detected on the same business day, ensuring accurate accounting records.

Properties

Name Meaning
DocEntry Identifier of the document (vendor payment) to be cancelled by the current system date.

Output

The node outputs JSON data representing the response from the SAP Business One Service Layer after attempting the cancellation. This typically includes confirmation of the cancellation or details about any errors encountered.

The output structure is:

{
  "json": {
    // Response object from SAP B1 Service Layer API
  },
  "pairedItem": {
    "item": <index_of_input_item>
  }
}

No binary data is produced by this node.

Dependencies

  • Requires connection to SAP Business One Service Layer API (version 6).
  • Needs credentials including base URL, username, password, and company database name.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • 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 DocEntry: Ensure the DocEntry corresponds to an existing vendor payment document; otherwise, the API will return an error.
  • Permission issues: The user account must have sufficient permissions to cancel vendor payments.
  • API errors: The node returns error messages from the SAP B1 API in the output JSON under the error field. Review these messages for specific causes.
  • SSL issues: The node disables strict SSL verification (rejectUnauthorized: false), but if your environment requires strict SSL, adjust accordingly.

Links and References

Discussion