[63] | 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 | |
---|
[68] | 40 | taskGroup |
---|
[76] | 41 | - Default = required so nothing. |
---|
[68] | 42 | - The taskGroup this task belongs to. |
---|
| 43 | - Of Class TaskGroup. |
---|
| 44 | |
---|
| 45 | taskStatus |
---|
[76] | 46 | - Default = "Not Started". |
---|
[68] | 47 | - The current status of this task. |
---|
| 48 | - Of Class TaskStatus. |
---|
[76] | 49 | - One of "Not Started", "In Progress" or "Completed". |
---|
[68] | 50 | - Automagically set to "In Progress" on first "Work Done" entry. |
---|
| 51 | - Automagically set to "Completed" by action button. |
---|
| 52 | |
---|
[76] | 53 | taskPriority |
---|
| 54 | - Default = Normal. |
---|
| 55 | - Of Class TaskPriority. |
---|
| 56 | - One of Low, Normal, High, Immediate. |
---|
| 57 | - Automagically set to High if Unscheduled Breakin? |
---|
| 58 | - Automagically set to ? |
---|
| 59 | |
---|
| 60 | taskType |
---|
| 61 | - Default = required so nothing. |
---|
| 62 | - Of Class TaskType. |
---|
| 63 | - Automagically set to ? |
---|
| 64 | |
---|
| 65 | parentTask |
---|
| 66 | - Default = not always used so nothing. |
---|
| 67 | - Indicates that this is a subTask and links back to the parentTask. |
---|
| 68 | - Of Class Task. |
---|
| 69 | |
---|
[68] | 70 | leadPerson |
---|
| 71 | - Default = current person. |
---|
[76] | 72 | - The primay contact person. |
---|
[68] | 73 | - Of Class Person. |
---|
| 74 | |
---|
[116] | 75 | primaryAsset |
---|
[113] | 76 | - The primay asset that costs will be assigned to. |
---|
| 77 | - Of Class Asset |
---|
| 78 | |
---|
[63] | 79 | entries |
---|
| 80 | - A task may have many entries of Class Entry. |
---|
| 81 | - Persons other than the leadPerson or assingedPersons may create entries. |
---|
| 82 | |
---|
| 83 | modifications |
---|
| 84 | - A task may have many modifications of Class Modification. |
---|
| 85 | |
---|
[76] | 86 | assignedPersons |
---|
| 87 | - A task may have many assingedPersons of Class Person. |
---|
| 88 | - estimatedHour and estimatedMinute. |
---|
| 89 | |
---|
| 90 | subTasks |
---|
[63] | 91 | - A task may have many subTasks of Class Task. |
---|
[76] | 92 | - The parentTask value must be set in the subTask. |
---|
[63] | 93 | |
---|
[116] | 94 | associatedAssets |
---|
[113] | 95 | - A task may have many associatedAssets of Class Asset. |
---|
| 96 | - No costs are assigned to these assets this is for reference purposes. |
---|
[63] | 97 | |
---|
[116] | 98 | inventoryMovements |
---|
| 99 | - A task may have many inventoryMovements of Class InventoryMovement. |
---|
[113] | 100 | |
---|
[116] | 101 | |
---|
[68] | 102 | #Calculated dates |
---|
| 103 | actualStartDate |
---|
| 104 | actualCompletionDate |
---|
| 105 | |
---|
[63] | 106 | TaskType |
---|
| 107 | Unscheduled Breakin - all work that was not scheduled, breakdowns/callouts. |
---|
| 108 | Planned Maintenance - Planned work that is scheduled. |
---|
| 109 | Project - Capital expenditure upgrades or additions. |
---|
| 110 | Turnaround - Shutdowns, rebuilds, non Cap-Ex upgrades or additions. |
---|
[76] | 111 | Production Run - Planned production that is scheduled? |
---|
[63] | 112 | |
---|
| 113 | TaskGroup |
---|
| 114 | .... - custom used to groups tasks? |
---|
[76] | 115 | Engineering Activites |
---|
| 116 | Production Activites |
---|
| 117 | New Projects |
---|
| 118 | .... - specific shut group or turnaround etc. |
---|
[63] | 119 | |
---|
| 120 | #Calculate missed state? |
---|
| 121 | Missed() { |
---|
| 122 | actualCompletionDate > targetCompletionDate |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | #External required actions. |
---|
| 126 | Show all modifications for a task. |
---|
| 127 | Show all assignedPersons for a task. |
---|
| 128 | Show all entries for a task. |
---|
| 129 | |
---|
| 130 | |
---|