| 1 | Task terms and definitions. |
|---|
| 2 | |
|---|
| 3 | Task: |
|---|
| 4 | description |
|---|
| 5 | - Default = required so nothing. |
|---|
| 6 | - Standard length used most places. |
|---|
| 7 | |
|---|
| 8 | comment |
|---|
| 9 | - Default = "". |
|---|
| 10 | - Longer for additional info only shown in detail views. |
|---|
| 11 | |
|---|
| 12 | targetStartDate |
|---|
| 13 | - Default = now. |
|---|
| 14 | - The date we would like task to start. |
|---|
| 15 | - Set by Schedule action. |
|---|
| 16 | - Set to now for Unscheduled Breakin. |
|---|
| 17 | |
|---|
| 18 | targetCompletionDate |
|---|
| 19 | - Default = now. |
|---|
| 20 | - The date we would like task to be completed by. |
|---|
| 21 | - Set by Schedule action. |
|---|
| 22 | - Set to now for Unscheduled Breakin. |
|---|
| 23 | |
|---|
| 24 | isScheduled |
|---|
| 25 | - Default = false. |
|---|
| 26 | - Set true by Schedule action. |
|---|
| 27 | |
|---|
| 28 | isApproved |
|---|
| 29 | - Default=false, true when approved. |
|---|
| 30 | - Set true by Approve action |
|---|
| 31 | - Set false by Renege action. |
|---|
| 32 | |
|---|
| 33 | isActive |
|---|
| 34 | - Default=true, false if "Deleted". |
|---|
| 35 | - Set false by Delete action. |
|---|
| 36 | - Set true by Undelete action. |
|---|
| 37 | - Require true when creating new entries/lists for dropdowns etc. |
|---|
| 38 | - Ignore when viewing old associations or creating lists for searching etc. |
|---|
| 39 | |
|---|
| 40 | taskGroup |
|---|
| 41 | - The taskGroup this task belongs to. |
|---|
| 42 | - Of Class TaskGroup. |
|---|
| 43 | |
|---|
| 44 | taskStatus |
|---|
| 45 | - Default = "Not Started" |
|---|
| 46 | - The current status of this task. |
|---|
| 47 | - Of Class TaskStatus. |
|---|
| 48 | - One of "Not Started", "In Progress" or "Completed" |
|---|
| 49 | - Automagically set to "In Progress" on first "Work Done" entry. |
|---|
| 50 | - Automagically set to "Completed" by action button. |
|---|
| 51 | |
|---|
| 52 | leadPerson |
|---|
| 53 | - Default = current person. |
|---|
| 54 | - The primay contact. |
|---|
| 55 | - Of Class Person. |
|---|
| 56 | |
|---|
| 57 | assignedPersons |
|---|
| 58 | - A task may have many assingedPersons of Class Person. |
|---|
| 59 | |
|---|
| 60 | entries |
|---|
| 61 | - A task may have many entries of Class Entry. |
|---|
| 62 | - Persons other than the leadPerson or assingedPersons may create entries. |
|---|
| 63 | |
|---|
| 64 | modifications |
|---|
| 65 | - A task may have many modifications of Class Modification. |
|---|
| 66 | |
|---|
| 67 | subTask ? |
|---|
| 68 | - A task may have many subTasks of Class Task. |
|---|
| 69 | - Master/Slave/Parent/Child/FollowUp relationship still to sort out. |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | #Calculated dates |
|---|
| 73 | actualStartDate |
|---|
| 74 | actualCompletionDate |
|---|
| 75 | |
|---|
| 76 | #Should these be calculated or set by manual action? |
|---|
| 77 | TaskPriority |
|---|
| 78 | Low |
|---|
| 79 | Normal |
|---|
| 80 | High |
|---|
| 81 | Immediate |
|---|
| 82 | |
|---|
| 83 | TaskType |
|---|
| 84 | Unscheduled Breakin - all work that was not scheduled, breakdowns/callouts. |
|---|
| 85 | Planned Maintenance - Planned work that is scheduled. |
|---|
| 86 | Project - Capital expenditure upgrades or additions. |
|---|
| 87 | Turnaround - Shutdowns, rebuilds, non Cap-Ex upgrades or additions. |
|---|
| 88 | Production? - ? |
|---|
| 89 | |
|---|
| 90 | TaskGroup |
|---|
| 91 | .... - custom used to groups tasks? |
|---|
| 92 | .... |
|---|
| 93 | |
|---|
| 94 | #Calculate missed state? |
|---|
| 95 | Missed() { |
|---|
| 96 | actualCompletionDate > targetCompletionDate |
|---|
| 97 | } |
|---|
| 98 | |
|---|
| 99 | #External required actions. |
|---|
| 100 | Show all modifications for a task. |
|---|
| 101 | Show all assignedPersons for a task. |
|---|
| 102 | Show all entries for a task. |
|---|
| 103 | |
|---|
| 104 | |
|---|