Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Pending

1. Each newly created order will have assigned status "pending". 

2. "On save" shouldn't be data validation. Order could be saved without planned from-to date (somebody will create order, but the date will be calculated later)

3. If it exists connection between MES and ERP (eg. enova), date validation shoul be active only for "date to" (the assumption is that ERP provides this date).

Image Removed

4. The icon "Start" should be replaced by icon "Accept" - graphical proposition is following (please use the icon "Start", which will be replaced by new one).

Image Removed

...

Validation

Depends of order state and action (=changing the state), different type of "on-save" validation should be done.

Image Added

Pending

We should distinguish two cases:

  1. entity is created manually - obligatory feilds:
    1. State (automaticly set to Pending)
    2. Number
    3. Name
    4. Product
    5. Planed quantity
    6. Unit (automaticly set from Product default unit
  2.  

Accepted

  1. User changes state from "Pending" to "Accepted" using "Accept" action & button, should be done following validation:
    1. these same obligatory fields as in "Pending"
    2. Date to
    3. Date from
    4. Default technology
    5. Technology

In progress

  1. User changes state from "Accepted" to "In progress" using "Start" action & button, should be done following validation:
    1. these same obligatory fields as in "Accepted"

Declined

  1. User changes state from "Pending" or "Accepted" to "Declined" using "Decline" action & button
    1. could't be done any additional validation

Completed

  1. User changes state from "In progress"  to "Completed" using "Finish" action & button, should be done following validation:
    1. these same obligatory fields as in "In progress"
    2. Quantity made

Abandoned

  1. User changes state from "In progress" or "Interupted" to "Abandoned" using "Abandon" action & button
    1. could't be done any additional validation