Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Validation

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

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
  • No labels