cmdbAbstractObject
bizmodel,searchable,servicemgmt
true
autoincrement
contract
id
finalclass
%1$s
contract.png
name
false
description
true
start_date
true
end_date
true
cost
true
dollars
euros
cost_currency
euros
true
cost_unit
true
billing_frequency
true
lnkContractToContact
contract_id
0
0
contact_id
lnkContractToDoc
contract_id
0
0
document_id
lnkContractToCI
contract_id
0
0
ci_id
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
100
-
110
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
10
-
20
-
30
-
40
-
50
-
60
-
70
Contract
bizmodel,searchable,servicemgmt
false
autoincrement
providercontract
id
%1$s
contract.png
provider_id
Organization
false
DEL_AUTO
provider_id
name
sla
true
coverage
true
true
public
Overload-iDisplay
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
100
-
110
-
120
-
130
-
140
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
100
-
110
-
10
-
20
-
30
-
40
-
50
Contract
bizmodel,searchable,servicemgmt
false
autoincrement
customercontract
id
%1$s
contract.png
org_id
Organization
false
DEL_AUTO
org_id
name
provider_id
Organization
true
DEL_AUTO
provider_id
name
provider_id]]>
support_team_id
Team
false
DEL_AUTO
support_team_id
name
lnkContractToSLA
contract_id
0
0
sla_id
lnkCustomerContractToProviderContract
customer_contract_id
0
0
provider_contract_id
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
100
-
110
-
120
-
130
-
140
-
150
-
160
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
100
-
110
-
10
-
20
-
30
-
40
-
50
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkcustomercontracttoprovider
id
%1$s
customer_contract_id
CustomerContract
false
DEL_AUTO
customer_contract_id
name
provider_contract_id
ProviderContract
false
DEL_AUTO
provider_contract_id
name
provider_contract_id
sla
provider_contract_id
coverage
-
10
-
20
-
30
-
40
-
10
-
20
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkcontracttosla
id
%1$s
contract_id
CustomerContract
false
DEL_AUTO
contract_id
name
sla_id
SLA
false
DEL_AUTO
sla_id
name
sla_id
service_name
coverage
true
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkcontracttodoc
id
%1$s
contract_id
Contract
false
DEL_AUTO
contract_id
name
document_id
Document
false
DEL_AUTO
document_id
name
document_id
type
document_id
status
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkcontracttocontact
id
%1$s
contract_id
Contract
false
DEL_AUTO
contract_id
name
contact_id
Contact
false
DEL_AUTO
contact_id
name
contact_id
email
role
true
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkcontracttoci
id
%1$s
contract_id
Contract
false
DEL_AUTO
contract_id
name
ci_id
FunctionalCI
false
DEL_AUTO
ci_id
name
ci_id
status
-
10
-
20
-
30
-
10
-
20
-
30
-
10
-
20
-
30
cmdbAbstractObject
bizmodel,searchable,servicemgmt
false
autoincrement
service
id
%1$s
service.png
org_id
Organization
false
DEL_AUTO
org_id
name
name
true
description
true
RequestManagement
IncidentManagement
type
IncidentManagement
true
design
production
obsolete
status
design
true
ServiceSubcategory
service_id
0
0
SLA
service_id
0
0
lnkServiceToDoc
service_id
0
0
document_id
lnkServiceToContact
service_id
0
0
contact_id
false
public
Overload-cmdbAbstractObject
false, 'block_id' => 'service');
$ServiceID=$this->GetKey();
if (!$bEditMode)
{
$oPage->SetCurrentTab(Dict::S('Class:Service/Tab:Related_Contracts'));
$oCustomerContracts=new CMDBObjectSet(DBObjectSearch::FromOQL("SELECT CustomerContract AS cc JOIN lnkContractToSLA AS ln ON ln.contract_id=cc.id JOIN SLA AS sla ON ln.sla_id=sla.id WHERE sla.service_id=$ServiceID"));
self::DisplaySet($oPage,$oCustomerContracts,$aExtraParam);
}
}]]>
-
10
-
20
-
30
-
40
-
50
-
60
-
70
-
80
-
90
-
10
-
20
-
30
-
40
-
50
-
10
-
20
-
30
-
40
cmdbAbstractObject
bizmodel,searchable,servicemgmt
false
autoincrement
servicesubcategory
id
%1$s
sla.png
name
true
description
true
service_id
Service
false
DEL_MANUAL
service_id
name
service_id
org_id
service_id
provider_name
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
-
10
-
20
cmdbAbstractObject
bizmodel,searchable,servicemgmt
false
autoincrement
sla
id
%1$s
sla.png
name
true
service_id
Service
false
DEL_MANUAL
service_id
name
lnkSLTToSLA
sla_id
0
0
slt_id
-
10
-
20
-
30
-
10
-
20
-
10
cmdbAbstractObject
bizmodel,searchable,servicemgmt
false
autoincrement
slt
id
%1$s
slt.png
name
true
TTO
TTR
metric
TTO
false
1
2
3
ticket_priority
1
true
value
true
days
hours
minutes
value_unit
hours
true
lnkSLTToSLA
slt_id
0
0
sla_id
-
10
-
20
-
30
-
40
-
50
-
60
-
10
-
20
-
30
-
40
-
50
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkslttosla
id
%1$s
sla_id
SLA
false
DEL_AUTO
sla_id
name
slt_id
SLT
false
DEL_AUTO
slt_id
name
slt_id
metric
slt_id
ticket_priority
slt_id
value
slt_id
value_unit
-
10
-
20
-
30
-
40
-
50
-
60
-
10
-
20
-
30
-
40
-
50
-
60
-
10
-
20
-
30
-
40
-
50
-
60
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkservicetodoc
id
%1$s
service_id
Service
false
DEL_AUTO
service_id
name
document_id
Document
false
DEL_AUTO
document_id
name
document_id
type
document_id
status
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
cmdbAbstractObject
1
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkservicetocontact
id
%1$s
service_id
Service
false
DEL_AUTO
service_id
name
contact_id
Contact
false
DEL_AUTO
contact_id
name
contact_id
email
role
true
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
-
10
-
20
-
30
-
40
cmdbAbstractObject
bizmodel,searchable,servicemgmt,lnkservice
false
autoincrement
lnkservicetoci
id
%1$s
service_id
Service
false
DEL_AUTO
service_id
name
ci_id
FunctionalCI
false
DEL_AUTO
ci_id
name
ci_id
status
-
10
-
20
-
30
-
10
-
20
-
30
-
10
-
20
-
30