ServiceContract
Represents a customer support contract (business agreement). This object is available in API version 18.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ServiceContract in the Field Service Developer Guide and Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccountId | Account ID | reference | 18 | |||
ActivationDate | Activation Date | datetime | ||||
AdditionalDiscount | Additional Discount | percent | 5 | 2 | ||
ApprovalStatus | Approval Status | picklist | 40 | |||
BillingAddress | Billing Address | address | ||||
BillingCity | Billing City | string | 40 | |||
BillingCountry | Billing Country | string | 80 | |||
BillingGeocodeAccuracy | Billing Geocode Accuracy | picklist | 40 | |||
BillingLatitude | Billing Latitude | double | 18 | 15 | ||
BillingLongitude | Billing Longitude | double | 18 | 15 | ||
BillingPostalCode | Billing Zip | string | 20 | |||
BillingState | Billing State | string | 80 | |||
BillingStreet | Billing Street | textarea | 255 | |||
ContactId | Contact ID | reference | 18 | |||
ContractNumber | Contract Number | string | 30 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
Description | Description | textarea | 32000 | |||
Discount | Discount | percent | 5 | 2 | ||
EndDate | End Date | date | ||||
GrandTotal | Grand Total | currency | 18 | 2 | ||
Id | Service Contract ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
LineItemCount | Line Items | int | 9 | |||
Name | Contract Name | string | 255 | |||
OwnerId | Owner ID | reference | 18 | |||
ParentServiceContractId | Parent Service Contract ID | reference | 18 | |||
Pricebook2Id | Price Book ID | reference | 18 | |||
RootServiceContractId | Root Service Contract ID | reference | 18 | |||
ShippingAddress | Shipping Address | address | ||||
ShippingCity | Shipping City | string | 40 | |||
ShippingCountry | Shipping Country | string | 80 | |||
ShippingGeocodeAccuracy | Shipping Geocode Accuracy | picklist | 40 | |||
ShippingHandling | Shipping and Handling | currency | 18 | 2 | ||
ShippingLatitude | Shipping Latitude | double | 18 | 15 | ||
ShippingLongitude | Shipping Longitude | double | 18 | 15 | ||
ShippingPostalCode | Shipping Zip | string | 20 | |||
ShippingState | Shipping State | string | 80 | |||
ShippingStreet | Shipping Street | textarea | 255 | |||
SpecialTerms | Special Terms | textarea | 32000 | |||
StartDate | Start Date | date | ||||
Status | Status | picklist | 255 | |||
Subtotal | Subtotal | currency | 18 | 2 | ||
SystemModstamp | System Modstamp | datetime | ||||
Tax | Tax | currency | 18 | 2 | ||
Term | Term (months) | int | 9 | |||
TotalPrice | Total Price | currency | 18 | 2 |
Feed tracking for ServiceContract.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
History for tracked fields of ServiceContract.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Service Contract History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
ServiceContractId | Service Contract ID | reference | 18 |
Sharing for ServiceContract.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |