ServiceContract
Represents a customer support contract (business agreement).
Introduced in API version 18.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the account associated with the service contract.
- Relationship name: Account
- Relationship type: relationship
- Refers to: Account
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The initial day the service contract went into effect (whereas
StartDatemay include a renewal date).
- Type: percent
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 55.0
- Description: Extra discount percentage for the service contract.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Approval status of the service contract.
- 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.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address. Maximum size is 40 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address. Maximum size is 40 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country code for the service contract’s billing address.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
BillingLongitudeto specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
BillingLatitudeto specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address. Maximum size is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address. Maximum size is 20 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO state code for the service contract’s billing address.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Street address for the billing address.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Required. ID of the Contact associated with the service contract. Must be a valid ID.
- Relationship name: Contact
- Relationship type: relationship
- Refers to: Contact
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, Sort
- Description: Unique number automatically assigned to the service contract.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Description of the service contract.
- Type: percent
- Properties: Filter, Nillable, Sort
- Description: Discount percentage for the service contract.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The last day the service contract is in effect.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: Total price of the service contract plus shipping and taxes.
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Description: Number of ContractLineItem records associated with the service contract.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Name of the service contract.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 37.0
- Description: The service contract’s parent service contract, if it has one.
- Relationship name: ParentServiceContract
- Relationship type: relationship
- Refers to: ServiceContract
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the Pricebook2 associated with the service contract. Must be a valid ID.
- Relationship name: Pricebook2
- Relationship type: relationship
- Refers to: Pricebook2
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 37.0
- Description: (Read only) The top-level service contract in a service contract hierarchy. Depending on where a service contract lies in the hierarchy, its root could be the same as its parent.
- Relationship name: RootServiceContract
- Relationship type: relationship
- Refers to: ServiceContract
- 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.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address. Maximum size is 40 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address. Country maximum size is 40 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country code for the service contract’s shipping address.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
ShippingLongitudeto specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
ShippingLatitudeto specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address. Postal code maximum size is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address. State maximum size is 20 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO state code for the service contract’s shipping address.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The street address of the shipping address. Maximum of 255 characters.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Any terms specifically agreed to and tracked in the service contract.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The first day the service contract is in effect.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Description: The status of the service contract, such as Inactive.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: Total of the service contract line items (products) before discounts, taxes, and shipping are applied.
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Total taxes for the service contract.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Number of months that the service contract is valid.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: Total of the contract line items (products) after discounts and before taxes and shipping.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
ServiceContractChangeEvent: Introduced in API version 44.0.
-
ServiceContractFeed: Introduced in API version 23.0.