SAP B1 Service Layer 8 - Produccion icon

SAP B1 Service Layer 8 - Produccion

Interact with SAP B1 Service Layer 8 - Produccion

Overview

This node integrates with the SAP B1 Service Layer 8 - Produccion API to manage various SAP Business One documents and entities. Specifically, for the Inventory Transfer Request resource with the Create operation, it allows users to create new inventory transfer requests in SAP B1 by sending a JSON payload describing the request details.

Typical use cases include automating inventory movements between warehouses or locations within an organization, streamlining stock transfers without manual entry in SAP B1. For example, a warehouse management system could trigger this node to create transfer requests when stock levels fall below thresholds or when preparing shipments.

Properties

Name Meaning
JSON Body Content to send as the request body in JSON format. This should contain all necessary fields to define the Inventory Transfer Request according to SAP B1 API schema.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the SAP B1 Service Layer API after creating the Inventory Transfer Request. This typically includes details of the created document such as its unique identifier and status.
  • In case of errors, the json field contains an error property with the error message.

No binary data is produced by this node.

Dependencies

  • Requires connection credentials to the SAP B1 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 environment must allow HTTPS requests to the SAP B1 Service Layer, with TLS certificate verification disabled (rejectUnauthorized: false) to accommodate self-signed certificates often used in internal SAP environments.

Troubleshooting

  • Authentication failures: If login fails, verify that the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
  • Invalid JSON Body: Ensure the JSON Body property contains valid JSON matching the expected schema for an Inventory Transfer Request. Malformed or incomplete data will cause API errors.
  • Session cookie issues: The node relies on cookies returned from the login endpoint. Network proxies or firewalls blocking cookies may cause failures.
  • SSL/TLS errors: Since certificate verification is disabled, if you encounter connection errors, check network connectivity and SAP server availability.
  • Error messages: Errors returned from the SAP B1 API are passed through in the output's error field. Review these messages for specific API validation or permission issues.

Links and References

Discussion