service_id AND sc.org_id = :this->org_id AND slt.request_type = :request_type AND slt.priority = :this->priority]]>
cmdbAbstractObject
_Ticket
bizmodel,searchable,structure
true
autoincrement
ticket
id
finalclass
ongoing
resolved
closed
operational_status
ongoing
status
ref
true
org_id
Organization
false
DEL_AUTO
org_id
name
org_id]]>
caller_id
Person
true
DEL_AUTO
caller_id
name
team_id
Team
true
DEL_AUTO
team_id
email
team_id]]>
agent_id
Person
true
DEL_AUTO
false
agent_id
name
title
false
description
false
html
true
start_date
true
end_date
true
last_update
true
none
close_date
true
private_log
true
lnkContactToTicket
ticket_id
0
0
contact_id
lnkFunctionalCIToTicket
ticket_id
0
0
functionalci_id
WorkOrder
ticket_id
0
0
false
public
Overload-DBObject
Lock();
$iNextId = MetaModel::GetNextKey(get_class($this));
$sRef = $this->MakeTicketRef($iNextId);
$this->Set('ref', $sRef);
$iKey = parent::DBInsertNoReload();
$oMutex->Unlock();
return $iKey;
}
]]>
false
protected
Overload-DBObject
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
75
-
80
-
90
-
100
-
110
-
120
-
130
-
140
-
150
-
10
-
20
-
30
-
35
-
40
-
50
-
60
-
70
-
10
-
20
-
30
-
40
-
50
-
60
-
65
-
70
cmdbAbstractObject
1
bizmodel
false
autoincrement
lnkcontacttoticket
id
ticket_id
Ticket
false
DEL_AUTO
ticket_id
ref
contact_id
Contact
false
DEL_AUTO
contact_id
email
role
true
manual
computed
do_not_notify
impact_code
manual
false
list
-
10
-
20
-
30
-
10
-
20
-
30
-
10
-
20
-
30
cmdbAbstractObject
1
bizmodel
false
autoincrement
lnkfunctionalcitoticket
id
ticket_id
Ticket
false
DEL_AUTO
ticket_id
ref
ticket_id
title
functionalci_id
FunctionalCI
false
DEL_AUTO
functionalci_id
name
impact
true
manual
computed
not_impacted
impact_code
manual
false
list
-
10
-
20
-
30
-
10
-
20
-
30
-
10
-
20
-
30
cmdbAbstractObject
bizmodel,searchable,incidentmgmt,requestmgmt,changemgmt,m2prequest
false
autoincrement
workorder
id
images/workorder.png
name
false
open
closed
status
open
false
list
description
false
ticket_id
Ticket
false
DEL_AUTO
ticket_id
ref
SELECT Team
team_id
Team
false
DEL_MANUAL
team_id
email
team_id]]>
owner_id
Person
true
DEL_MANUAL
false
agent_id
email
start_date
false
end_date
false
log
true
status
closed
false
public
StimulusUserAction
Get('log');
$sLog = $oLog->GetModifiedEntry('html');
if ($sLog != '')
{
$oTicket = MetaModel::GetObject('Ticket', $this->Get('ticket_id'), false);
if ($oTicket)
{
$oTicket->Set('private_log', $sLog);
$oTicket->DBUpdate();
}
}
}]]>
false
protected
Overload-DBObject
UpdateParentTicketLog();
}]]>
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
10
-
20
-
30
-
40
-
50
-
60
attcode
true
deny
string
true
attcode
true
allow
attcode
true
allow
attcode
true
allow
attcode
true
allow
attcode
true
allow
string
false
attcode
true
deny
attcode
true
allow
attcode
true
deny
attcode
true
string
true
portal:itop-portal
iTopPortalViewUrlMaker
true
tab
1
Brick:Portal:UserProfile:Navigation:Dropdown:MyProfil
fa fa-user fa-2x
true
6
10
Brick:Portal:NewRequest:Title
Brick:Portal:NewRequest:Title+
fc fc-new-request fc-2x
ServiceFamily
icon
Service
servicefamily_id
description
description
icon
Class:Service
service_id
description
description
Class:ServiceSubcategory
UserRequest
fc fc-new-request fc-1-6x fc-flip-horizontal
list
auto
true
20
6
Brick:Portal:OngoingRequests:Title
Brick:Portal:OngoingRequests:Title+
fc fc-ongoing-request fc-2x
true
1
Brick:Portal:OngoingRequests:Tab:OnGoing
2
Brick:Portal:OngoingRequests:Tab:Resolved
full
true
50
false
12
Brick:Portal:ClosedRequests:Title
fc fc-closed-request fc-2x
1
Brick:Portal:ClosedRequests:Title
auto
org_id]]>
org_id]]>
org_id]]>
-
10
-
20
-
50
org_id]]>
true
org_id AND s.status != 'obsolete']]>
true
org_id AND ssc.status != 'obsolete']]>
true
org_id AND T.finalclass IN ('UserRequest', 'Incident')]]>
set(caller_id, $current_contact_id$)
copy(org_id, org_id)
set(origin, portal)
Service
copy(id, service_id)
ServiceSubcategory
copy(id, servicesubcategory_id)
copy(service_id, service_id)
ongoing-tickets-for-portal-user
500