Module Interventions: Difference between revisions

m
Clarified difference between life cycle and signature status
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
m (Clarified difference between life cycle and signature status)
 
(15 intermediate revisions by 4 users not shown)
Line 4: Line 4:
[[fr:Module_Fiches_d'interventions]]
[[fr:Module_Fiches_d'interventions]]
[[es:Módulo_Fichas_de_intervención]]
[[es:Módulo_Fichas_de_intervención]]
[[pt:Módulo_Intervenções]]
<!-- END interlang links -->
<!-- END interlang links -->


Line 15: Line 16:
userdoc=This page|}}
userdoc=This page|}}


= Introduction =
=Introduction=
{{ToComplete}}
Interventions are a form for service / maintenance orders.


= Installation =
=Installation=
{{NoInstallModuleEn}}
{{NoInstallModuleEn}}


= Configuration =
=Configuration=
{{ActivationModuleEn}}
{{ActivationModuleEn}}


= Life cycle / Business rules =
=Usage / Life cycle=
An intervention follows the following life cycle:


==Default setup==
When the module is enabled, it is possible to create intervention files.
When an intervention is validated or closed, it is possible to add a signature on it.
''The workflow of an intervention is the following (The number between parenthesis is the technical code of the status)''
<pre>
<pre>
Draft --> Validated --> Done
Draft (0) --------> Validated (1) ------> Closed - Done (3)
    \                    /  \                    /
    \----------<--------/    \----------<-------/
      \
      \------> Convert into a recurring intervention
</pre>
</pre>


= Examples of use cases =
==With option FICHINTER_CLASSIFY_BILLED==
{{ToComplete}}
If the hidden option FICHINTER_CLASSIFY_BILLED is defined, a step Billed is introduced.
{{ExamplesCaseEn
 
|name=UCMI01:  
<pre>
|situation=
Draft (0) ----->  Validated (1) ----> Billed (2) ----> Closed - Done (3)
|actions=
  \                  / 
}}&nbsp;
    \----------<------/
</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".
 
==Signature status (Dolibarr v21 alpha)==
Native signature statuses are available with Dolibarr v21 (currently in alpha testing) :
{| class="wikitable"
!Status label
!Status code
|-
|Not signed
|0
|-
|Signed internally
|1
|-
|Signed by third party
|2
|-
|Signed by third party online
|3
|-
|Signed by all parties
|9
|}
Signature status can be set once an intervention is validated. They are independent of life cycle statuses. Default signature status is "Not signed".
 
Native online signature by a public user (third party) will automatically set the signed status to "Signed by third party".
 
Signature status makes use of <code>FICHINTER_MODIFY</code> action trigger with added context information, for automatic events and email notifications.
14

edits