Enhancement #1460

Cancel plugin

Added by Blatti Yves 6 months ago. Updated 2 months ago.

Status:ClosedStart date:11/20/2018
Priority:NormalDue date:
Assignee:Blatti Yves% Done:

100%

Category:EXTRACT
Target version:4.5.1
Sponsor: Ergonomic impact:

(See mockups)

Functional impact:

New task plugin.
This plugin automatically cancels an element when executed.


Description

Description

  • New task plugin
  • When executing the task:
    • The task changes the element to "rejected" (rejected = true)
    • The task defines the remark with the one configured in the interface (called "Reason for cancellation" in the interface)
    • If a remark is present before the cancellation step, it is overwritten by the reason for the cancellation
  • Example of use: to cancel an out-of-area element
    • 1) Create a new treatment, give it a name (e. g. "Direct cancellation")
    • 2) Add the cancellation plugin (often, the cancellation plugin will be the only one in the process)
    • 3) Define the Reason for cancellation: "Sorry, we don't have any data on this area"
    • 4) Add a rule that points to this treatment, for example, geographical rule "If the perimeter is outside the area".
      perimeter disjoint POLYGON((6.82 46.82 46.39,6.92 46.39,6.92 46.19,6.92 46.19,6.92 46.19,6.82 46.39))
    • 5) Place this rule at the top, so that it matches first if necessary
    • From now on, any out-of-area orders will be cancelled with the Reason for cancellation defined in the interface as follows

Configuration interface

  • Plugin name in French: Annulation
  • Description in the drag/dropper block: "Cancels processing and defines the remark for the customer" / "Annule le traitement et définit la remarque pour le client"
  • Icon class: "fa-ban"
  • Settings :
    • "Reason for cancellation", type: textarea, mandatory
  • Help message (tooltip)
    • "This plugin allows you to cancel the processing of an element and define the reason for the cancellation in the remark to the customer.
      If a remark exists it will be overwritten by the reason for the cancellation."
    • "Ce plugin permet d'annuler le traitement d'un élément et de définit inscrit la raison de l'annulation dans la remarque au client.
      Si une remarque existe elle sera écrasée par la raison de l'annulation."

Models

New drag dropper block + block in the processing process:

Help tooltip:

Source : https://projets.asitvd.ch/issues/16683

16683-plugin-annulation-full.png (56 KB) Blatti Yves, 11/20/2018 03:24 PM

16683-plugin-annulation-tooltip.png (14.3 KB) Blatti Yves, 11/20/2018 03:24 PM

History

#1 Updated by Blatti Yves 2 months ago

  • Status changed from Request For Comments to Accepted

#2 Updated by Blatti Yves 2 months ago

  • Status changed from Accepted to Affected

#3 Updated by Blatti Yves 2 months ago

  • Assignee changed from Technical Committee to Blatti Yves

#4 Updated by Blatti Yves 2 months ago

  • Status changed from Affected to Resolved

#5 Updated by Blatti Yves 2 months ago

  • Status changed from Resolved to To merge

#6 Updated by Blatti Yves 2 months ago

  • % Done changed from 0 to 100

#7 Updated by Blatti Yves 2 months ago

  • Status changed from To merge to Closed

Also available in: Atom PDF