...
Logging fuctionality will gather the data about status changing with detailed information:
- date and time
- previous state
- current state
- date and timeshift
- worker
Data model should have mentioned fields and relation 1-1 to Order.
Data records won't be edited by users.
"Shift" value is caldulated automaticly using "date & time" and "Shift calendar"
Creating
Logging will also register information about creating new record. In such case:
- date and time
- previous state = "new"
- current state = "pending"
- date and timeshift
- worker - if record is created by ERP connector, worker = special user defined in connector parameters.
...