ServiceContract

Represents a customer support contract (business agreement).

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
AccountId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the account associated with the service contract.
ActivationDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The initial day the service contract went into effect (whereas StartDate may include a renewal date).
ApprovalStatus
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
Approval status of the service contract.
BillingAddress (beta)
Type
address
Properties
Filter, Nillable
Description
The compound form of the billing address. Read-only. See Address Compound Fields for details on compound address fields.
BillingCity
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address. Maximum size is 40 characters.
BillingCountry
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address. Maximum size is 40 characters.
BillingCountryCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO country code for the service contract’s billing address.
BillingLatitude (beta)
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with BillingLongitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.
BillingLongitude (beta)
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with BillingLatitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.
BillingPostalCode
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address. Maximum size is 20 characters.
BillingState
Type
string
Properties
Group, Sort, Filter, Nillable
Description
Details for the billing address. Maximum size is 20 characters.
BillingStateCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO state code for the service contract’s billing address.
BillingStreet
Type
textarea
Properties
Filter, Group, Nillable, Sort
Description
Street address for the billing address.
ContactId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Required. ID of the Contact associated with the service contract. Must be a valid ID.

ContractNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
Unique number automatically assigned to the service contract.

Description
Type
textarea
Properties
Nillable
Description
Description of the service contract.

Discount
Type
percent
Properties
Filter, Nillable, Sort
Description

The last day the service contract is in effect.

Weighted average of all contract line item discounts on the service contract.
EndDate
Type
date
Properties
Filter, Group, Nillable, Sort
Description
The last day the service contract is in effect.
GrandTotal
Type
currency
Properties
Filter, Nillable, Sort
Description
Total price of the service contract plus shipping and taxes.
IsDeleted
Type
boolean
Properties
Defaulted on create, Filter
Description
Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
LastReferencedDate
Type
date
Properties
Filter, Nillable, Sort, Update
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
date
Properties
Filter, Nillable, Sort, Update
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
LineItemCount
Type
int
Properties
Filter, Nillable, Group, Sort
Description
Number of ContractLineItem records associated with the service contract.
Name
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Name of the service contract.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the user who currently owns the service contract.
Pricebook2Id
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the Pricebook2 associated with the service contract. Must be a valid ID.
ShippingAddress (beta)
Type
address
Properties
Filter, Nillable
Description
The compound form of the shipping address. Read-only. See Address Compound Fields for details on compound address fields.
ShippingCity
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details of the shipping address. Maximum size is 40 characters.
ShippingCountry
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details of the shipping address. Country maximum size is 40 characters.
ShippingCountryCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO country code for the service contract’s shipping address.
ShippingLatitude (beta)
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with ShippingLongitude to specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.
ShippingLongitude (beta)
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used with ShippingLatitude to specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.
ShippingPostalCode
Type
string
Properties
Create, Filter, Nillable, Update
Description
Details of the shipping address. Postal code maximum size is 20 characters.
ShippingState
Type
string
Properties
Create, Filter, Nillable, Update
Description
Details of the shipping address. State maximum size is 20 characters.
ShippingStateCode
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ISO state code for the service contract’s shipping address.
ShippingStreet
Type
textarea
Properties
Create, Filter, Nillable, Update
Description
The street address of the shipping address. Maximum of 255 characters.
SpecialTerms
Type
textarea
Properties
Create, Nillable, Update
Description
Any terms specifically agreed to and tracked in the service contract.
StartDate
Type
date
Properties
Create, Filter, Nillable, Update
Description
The first day the service contract is in effect.
Status
Type
picklist
Properties
Filter, Nillable
Description
The status of the service contract, such as Inactive.
Subtotal
Type
currency
Properties
calculated, Filter, Nillable
Description
Total of the service contract line items (products) before discounts, taxes, and shipping are applied.
Tax
Type
currency
Properties
Create, Filter, Nillable, Update
Description
Total taxes for the service contract.
Term
Type
int
Properties
Create, Filter, Nillable, Update
Description
Number of months that the service contract is valid.

TotalPrice
Type
currency
Properties
calculated, Filter, Nillable
Description
Total of the contract line items (products) after discounts and before taxes and shipping.

Usage

Use this object to query and manage service contracts.

© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.