SAP B1 Service Layer 8 - Produccion icon

SAP B1 Service Layer 8 - Produccion

Interact with SAP B1 Service Layer 8 - Produccion

Overview

This node interacts with the SAP Business One Service Layer (version 8) to manage various document types, including Inventory Transfer Requests. Specifically, the Cancel operation for the Inventory Transfer Request resource allows users to cancel an existing inventory transfer request document in SAP B1.

Typical use cases include:

  • Automatically cancelling inventory transfer requests that are no longer needed or were created by mistake.
  • Integrating cancellation workflows into broader automation processes, such as order management or inventory adjustments.
  • Managing document lifecycle states programmatically without manual intervention in the SAP B1 client.

For example, a warehouse management system could trigger this node to cancel a transfer request if stock levels change or if a transfer is superseded by another process.

Properties

Name Meaning
DocEntry The unique identifier (document entry number) of the Inventory Transfer Request to cancel.

Output

The node outputs the JSON response returned by the SAP B1 Service Layer after attempting to cancel the specified Inventory Transfer Request. This typically includes confirmation details or error information related to the cancellation action.

The output structure is:

{
  // Response data from SAP B1 Service Layer about the cancellation result
}

No binary data output is produced by this operation.

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 before making subsequent API calls.
  • The environment must allow HTTPS requests to the SAP B1 Service Layer with certificate verification disabled (rejectUnauthorized: false).

Troubleshooting

  • Authentication errors: If login fails, verify the username, password, and company database values are correct and that the SAP B1 Service Layer is accessible.
  • Invalid DocEntry: Providing a non-existent or incorrect DocEntry will cause the API to return an error. Ensure the document ID exists and belongs to the Inventory Transfer Requests.
  • Permission issues: The user account used must have sufficient permissions to cancel documents in SAP B1.
  • Network issues: Connection failures may occur if the SAP B1 server is unreachable or network policies block access.
  • Error messages: The node returns error messages from the SAP B1 API in the output JSON under an error field. Review these messages to diagnose issues.

Links and References

Discussion