Difference between revisions of "Module Interventions (developer)"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
m
Tag: 2017 source edit
 
Line 19: Line 19:
 
It's goal is principally to follow such activities.
 
It's goal is principally to follow such activities.
 
In a future version, you should be able to transform interventions cards into invoices.
 
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:
 
 
<pre>
 
Draft (0) -------->  Validated (1) ------> Closed (Done)'' (3)
 
    \                    /  \                    /
 
    \----------<--------/    \----------<--------/
 
      \
 
      \------> Convert into a recurring intervention
 
</pre>
 
 
== With option FICHINTER_CLASSIFY_BILLED  ==
 
If the hidden option FICHINTER_CLASSIFY_BILLED is defined, a step Billed is introduced.
 
 
<pre>
 
Draft (0) ----->  Validated (1) --> Billed (2) ----> Closed (Done)'' (3)
 
</pre>
 
 
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 =
 
= Entity Intervention =

Latest revision as of 07:36, 23 June 2022

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.

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