* @author Romain Quetiez
* @author Denis Flaven
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/]]>
images/problem.png
new
assigned
resolved
closed
1
2
3
1
2
3
1
2
3
Set('assignment_date', time());
return true;
}]]>
Set('resolution_date', time());
return true;
}]]>
Set('close_date', time());
return true;
}]]>
array(
1 => 1,
2 => 1,
3 => 2,
),
// a group
2 => array(
1 => 1,
2 => 2,
3 => 3,
),
// a departement!
3 => array(
1 => 2,
2 => 3,
3 => 3,
),
);
$iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('urgency')];
return $iPriority;
}]]>
Set('priority', $this->ComputePriority());
$sCurrRef = $this->Get('ref');
if (strlen($sCurrRef) == 0)
{
$iKey = $this->GetKey();
if ($iKey < 0)
{
// Object not yet in the Database
$iKey = MetaModel::GetNextKey(get_class($this));
}
$sName = sprintf('P-%06d', $iKey);
$this->Set('ref', $sName);
}
}]]>
- document_list
- ci_list
- contact_list
- incident_list
-
-
- ref
- title
- org_id
- status
- priority
- service_id
- servicesubcategory_id
- product
-
- impact
- urgency
- description
-
-
- start_date
- last_update
- assignment_date
- close_date
-
- workgroup_id
- agent_id
-
- related_change_id
- ref
- title
- org_id
- start_date
- status
- service_id
- servicesubcategory_id
- product
- impact
- urgency
- priority
- workgroup_id
- agent_id
- agent_email
- close_date
- title
- org_id
- start_date
- status
- service_id
- priority