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 inventory general entries and other related resources. Specifically, for the Inventory Gen Entrie resource with the Create operation, it allows users to create new inventory general entry documents by sending a JSON payload representing the document details.

Common scenarios where this node is beneficial include automating inventory management workflows, such as recording stock additions or adjustments directly into SAP Business One from external systems or processes. For example, a warehouse management system could use this node to automatically log incoming inventory shipments as Inventory Gen Entries in SAP B1.

Properties

Name Meaning
JSON Body Content to send as the request body when creating or updating an inventory general entry. This should be a JSON object representing the document fields and values according to SAP B1's 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 for the create request. This typically includes the created document's details or confirmation data.
  • In case of errors, the json field contains an error property with the error message.

No binary data output 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 identifier.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The HTTP requests are made with TLS certificate verification disabled (rejectUnauthorized: false), which may require appropriate network security considerations.

Troubleshooting

  • Authentication failures: If login fails, ensure that the provided username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
  • Invalid JSON Body: Errors can occur if the JSON Body does not conform to the expected schema for an Inventory Gen Entry. Validate the JSON structure against SAP B1 API documentation.
  • Network issues: Connection timeouts or SSL errors might happen due to network configuration or server certificates.
  • Error messages: The node returns error messages from the API in the output JSON under the error key. Review these messages to identify issues such as missing required fields or invalid operations.

Links and References

Discussion