Actions19
- Customer Equipment Card Actions
- Knowledge Base Solution Actions
- Service Call Actions
- Service Contract Actions
Overview
This node interacts with the SAP B1 Service Layer 10 API to manage Service Contracts. Specifically, the "Update" operation allows users to modify an existing service contract by specifying its unique identifier and providing updated data in JSON format.
Common scenarios include:
- Updating details of a service contract such as terms, status, or associated customer information.
- Automating contract modifications based on external triggers or workflows.
- Integrating SAP B1 service contract management into broader business process automation.
For example, a user might update the expiration date or add notes to a service contract when a customer requests changes.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique numeric identifier of the service contract to update. |
| JSON Body | A JSON object containing the fields and values to update in the specified service contract. |
Output
The node outputs a JSON object representing the response from the SAP B1 Service Layer after attempting the update operation. This typically includes the updated service contract data or an error message if the update failed.
The output structure is:
{
"json": {
// Updated service contract data returned by SAP B1 Service Layer
},
"pairedItem": {
"item": <index_of_input_item>
}
}
No binary data output is produced by this node.
Dependencies
- Requires connection credentials for the SAP B1 Service Layer API, including:
- Base URL of the SAP B1 Service Layer instance.
- 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 endpoint.
Troubleshooting
- Authentication errors: If login fails, verify that the username, password, and company database are correct and that the SAP B1 Service Layer is accessible.
- Invalid DocEntry: Providing a non-existent or incorrect
DocEntrywill result in errors; ensure the ID corresponds to an existing service contract. - Malformed JSON Body: The JSON body must be valid and conform to the expected schema of the SAP B1 Service Layer for service contracts; otherwise, the update will fail.
- Network issues: Connection problems or SSL certificate issues may cause request failures; check network connectivity and SSL settings.
- Error messages returned from the SAP B1 API are included in the output under the
errorfield for easier debugging.