Module Interventions: Difference between revisions

m
Clarified difference between life cycle and signature status
m (Created page with 'Category:InterventionsEn {{TemplateDocUser}} {{BasculeDevUserEn| name=Interventions| num=70| devdoc=Module Interventions (developer)| userdoc=This page|}} = Introduction...')
 
m (Clarified difference between life cycle and signature status)
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:InterventionsEn]]
<!-- BEGIN origin interlang links -->
<!-- You can edit this section but do NOT remove these comments
    Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:Module_Fiches_d'interventions]]
[[es:Módulo_Fichas_de_intervención]]
[[pt:Módulo_Intervenções]]
<!-- END interlang links -->
 
[[Category:Intervention]]
{{TemplateDocUser}}
{{TemplateDocUser}}
{{TemplateModEN}}
{{BasculeDevUserEn|
{{BasculeDevUserEn|
name=Interventions|
name=Interventions|
Line 7: Line 16:
userdoc=This page|}}
userdoc=This page|}}


= Introduction =
=Introduction=
To complete
Interventions are a form for service / maintenance orders.


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


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


= Life cycle / Business rules =
=Usage / Life cycle=
To complete
 
==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>
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".
 
==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".


= Example of use case =
Signature status makes use of <code>FICHINTER_MODIFY</code> action trigger with added context information, for automatic events and email notifications.
To complete
14

edits