Actions28
Contracts → Activate Line
AI-generatedOverview
This node operation activates a specific line within a contract in the Dolibarr system. It is useful for scenarios where a user needs to programmatically activate contract lines, specifying the contract and line IDs, along with optional start and end dates and comments. For example, it can be used in automated workflows to manage contract lifecycle events or to update contract statuses based on business rules.
Use Case Examples
- Activating a service line in a contract after approval.
- Setting contract line activation dates automatically during onboarding.
Properties
| Name | Meaning |
|---|---|
| Contract ID | The unique identifier of the contract to which the line belongs. Required to specify which contract is being modified. |
| Line ID | The unique identifier of the line within the contract to be activated. Required to specify which line to activate. |
| Start Date | The start date for the activation period of the contract line. Required and sent in the request body as a timestamp. |
| End Date | The end date for the activation period of the contract line. Optional and sent in the request body as a timestamp. |
| Comment | An optional comment to include with the activation request, sent in the request body. |
| Request Options | Additional settings for the HTTP request such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
response- The full response from the Dolibarr API after activating the contract line, including status and any returned data.
Dependencies
- Dolibarr API with appropriate credentials
Troubleshooting
- Ensure that the Contract ID and Line ID are valid and exist in the Dolibarr system to avoid 404 errors.
- Verify that the API credentials have sufficient permissions to activate contract lines.
- Check the date formats and ensure timestamps are correctly calculated to prevent request errors.
- If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate configuration.