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 inventory and production-related documents. Specifically, for the Inventory Transfer Request resource and the Reopen operation, it sends a request to reopen a previously closed or finalized inventory transfer request document in SAP B1.

This functionality is useful when an inventory transfer request needs to be reactivated after being closed, allowing further modifications or processing. For example, if a transfer request was prematurely closed but additional items need to be added or changes made, this node can reopen that document programmatically.

Properties

Name Meaning
DocEntry The unique identifier (document entry number) of the Inventory Transfer Request to reopen. This is required to specify which document should be reopened.

Output

The node outputs the JSON response returned by the SAP B1 Service Layer API after attempting to reopen the specified Inventory Transfer Request. The output structure typically contains details about the success or failure of the operation, including any updated document data or error messages.

If the operation succeeds, the JSON will reflect the reopened document's current state. If it fails, the output JSON will contain an error field describing the issue.

No binary data output 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.
    • 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 endpoint.
  • No additional external dependencies beyond standard HTTP requests.

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 indicating the document was not found.
  • Permission issues: Ensure the user account has sufficient permissions to reopen inventory transfer requests.
  • Network issues: Connection timeouts or SSL errors may occur if the SAP B1 server is unreachable or uses self-signed certificates. The node disables strict SSL verification (rejectUnauthorized: false) to mitigate some SSL issues.
  • Error messages: Errors from the SAP B1 API are captured and returned in the output JSON under an error key. Review these messages to diagnose problems.

Links and References

Discussion