SAP B1 Service Layer 12 - Gestion de Proyectos icon

SAP B1 Service Layer 12 - Gestion de Proyectos

Interact with SAP B1 Service Layer 12 - Gestion de Proyectos

Overview

This node interacts with the SAP B1 Service Layer specifically for managing projects ("Gestion de Proyectos"). It supports various operations such as creating, updating, deleting, retrieving, and canceling projects within SAP Business One. The node authenticates via a login request to the SAP Service Layer and then performs the selected operation on the "ProjectManagements" resource.

Typical use cases include automating project lifecycle management in SAP B1, such as:

  • Deleting a project by its unique identifier.
  • Retrieving project details.
  • Creating or updating project data.
  • Canceling an ongoing project.

For example, you could use this node to delete a project by specifying its DocEntry number, which helps maintain clean project records automatically.

Properties

Name Meaning
DocEntry The unique numeric identifier of the project to operate on. Required for delete, update, get by key, and cancel operations.

Note: The DocEntry property is only shown and required for these operations: Get by Key, Update, Delete, and Cancel Project.

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 call.
    • For successful operations, this will be the JSON representation of the project data or confirmation of the action performed.
    • In case of errors, it returns an object with an error field containing the error message.

No binary data output is produced by this node.

Dependencies

  • Requires access to an SAP B1 Service Layer instance.
  • Needs credentials including base URL, username, password, and company database name.
  • The node performs a login POST request to obtain session cookies used for subsequent API calls.
  • The environment must allow HTTP requests to the SAP B1 Service Layer endpoint.

Troubleshooting

  • Authentication failures: If login fails, verify that the provided credentials (username, password, company DB) are correct and that the SAP Service Layer is accessible.
  • Invalid DocEntry: Operations requiring a DocEntry will fail if the specified number does not correspond to an existing project. Ensure the DocEntry is valid.
  • Network issues: Connection problems to the SAP Service Layer will cause request failures. Check network connectivity and endpoint availability.
  • Permission errors: Insufficient permissions in SAP B1 may result in authorization errors when performing operations.
  • Malformed JSON Body: For create and update operations, ensure the JSON body is correctly formatted and contains all required fields.

Error messages returned by the node will appear in the output's error field, providing clues for resolution.

Links and References

Discussion