Aide · silicon ioi

Module with document flow type system states

Fiche

When you’re on the form for such a module, you’ll see a set of colored pavement or arrow buttons representing possible system states. As follows:

The current state of the data is highlighted. Each status represents a situation for the data item in question.

The left and right sides of the blocks or arrows are different depending on whether the status is :

  • A starting state,
  • an intermediate state
  • a final arrival state.

There can be more than one start or end state.

Example:

Here are the states available for a ioi Sales order signal:

Value State Description
-3 Template This document is a template and can be used to create a new document with data already pre-registered.
-2 To Process This document, even if already active (existing for the system), must still be committed to the flow. It is typically an automatically imported document.
-1 Forecast This active document is a forecast document. It is here to anticipate a future “closed” or “accepted” situation.
0 In preparation The document’s “draft” status. You must return to this state to modify a document. When a document is created manually, this is the starting state.
1 Waiting This document is committed to the flow. It is therefore active, but waiting to be processed. This document is read-only.
2 Confirmed This document has been approved and confirmed to the third party. This document is active.
3 Back-order This document is in partial execution status. Partial deliveries have yet to be made. This document is partially active.
4 Delivered This document is in full execution status. It is inactive. It is inactive.
5 Back-order / Reserved This document is in a partial state of execution, it has been subject to partial deliveries and reservations.
6 Reserved / Back-order This document is in partial state of completion, and has been delivered and reserved.
7 Lost This document is no longer active. The order is inactive because it has been aborted.

The transition from one state to another is secured by system rules.

Attention

Buttons may be grayed out if you are not allowed to select a state.

Astuce

  • These rules can be reinforced or adjusted in a parameter module. (see ioi Module),
  • Checks before leaving a state can be configured (see ioi Module),
  • Processing before leaving a state or after arriving at a state can be configured (see ioi Module).

Buttons can be used to change state. However, some buttons don’t allow you to change a document’s state directly, as it depends on linked documents. For example, the status of a purchase order will depend on the deliveries actually made.

Buttons marked with a + allow you to create the documents that will enable you to achieve this status. For example, create a delivery note for this order:

The linked document will always open in a new tab by default, so that the original document remains visible.