SAP B1 Service Layer 7 - Inventario icon

SAP B1 Service Layer 7 - Inventario

Interact with SAP B1 Service Layer 7 - Inventario

Overview

This node integrates with the SAP Business One Service Layer (version 7) to manage inventory-related data. Specifically, it allows users to perform various operations on inventory resources such as Inventory Gen Exit, Inventory Gen Entry, Stock Transfers, Items, and others.

For the Inventory Gen Exit resource with the Update operation, the node updates an existing inventory exit record in SAP B1 by sending a PATCH request with the specified data.

Typical use cases include:

  • Automating inventory adjustments when goods leave the warehouse.
  • Synchronizing inventory exit records from external systems into SAP B1.
  • Updating details of an existing inventory exit document, such as quantities or item information.

Properties

Name Meaning
DocEntry / Key The primary key identifier of the inventory gen exit record to update.
JSON Body The JSON content representing the fields and values to update in the inventory gen exit.

The DocEntry / Key is required to specify which inventory exit document to update. The JSON Body contains the actual data changes to apply.

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 performing the update operation. This typically includes the updated inventory exit record or confirmation details.
  • pairedItem: Metadata linking the output to the original input item index.

If an error occurs during the update, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires connection credentials for 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 authenticates by logging in to the SAP B1 Service Layer and managing session cookies.
  • No additional external dependencies beyond the SAP B1 Service Layer API.

Troubleshooting

  • Authentication errors: If login fails, verify the base URL, username, password, and company database are correct.
  • Invalid DocEntry: Ensure the provided DocEntry corresponds to an existing inventory gen exit record; otherwise, the update will fail.
  • Malformed JSON Body: The JSON body must be valid and conform to SAP B1's expected schema for inventory gen exits.
  • Network issues: Check connectivity to the SAP B1 Service Layer endpoint and SSL certificate settings if using HTTPS.
  • Error messages: The node returns error messages from the SAP B1 API in the output JSON under the error field. Use these messages to diagnose issues.

Links and References


This summary focuses on the "Inventory Gen Exit" resource with the "Update" operation as requested.

Discussion