Module Interventions (developer)

From Dolibarr ERP CRM Wiki
Revision as of 07:35, 23 June 2022 by Eldy (talk | contribs) (→‎Feature)
Jump to navigation Jump to search
Interventions
Numero/ID of module 70
User doc. of module Module Interventions
Developer doc. of module This page

Feature

This module allows you to manage interventions. You can define some interventions cards that contains one or several intervention lines defined by a comment, a date and a duration. It's goal is principally to follow such activities. In a future version, you should be able to transform interventions cards into invoices.

Usage

Default setup

When the module is enabled, it is possible to create intervention files. The workflow of an intervention is the following:

Draft (0) -------->  Validated (1) ------> Closed (Done)'' (3)
    \                     /  \                     /
     \----------<--------/    \----------<--------/
      \
       \------> Convert into a recurring intervention

With option FICHINTER_CLASSIFY_BILLED

If the hidden option FICHINTER_CLASSIFY_BILLED is defined, a step Billed is introduced.

Draft (0) ----->  Validated (1) --> Billed (2) ----> Closed (Done)'' (3)

Warning, this status/option will be removed. It must be replaced with a property "billed" that can be defined whatever is status "Validated" or "Done".

Entity Intervention

The PHP class to use to manipulate such object is file htdocs/fichinter/class/fichinter.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Entity Intervention line

The PHP class to use to manipulate such object is file htdocs/fichinter/class/fichinter.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Permissions

  • ->ficheinter->lire
  • ->ficheinter->creer
  • ->ficheinter->supprimer
  • ->ficheinter->export

Tables SQL