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 NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
ActivationDateActivation Datedatetime    
AdditionalDiscountAdditional Discountpercent  52
ApprovalStatusApproval Statuspicklist 40  
BillingAddressBilling Addressaddress    
BillingCityBilling Citystring 40  
BillingCountryBilling Countrystring 80  
BillingGeocodeAccuracyBilling Geocode Accuracypicklist 40  
BillingLatitudeBilling Latitudedouble  1815
BillingLongitudeBilling Longitudedouble  1815
BillingPostalCodeBilling Zipstring 20  
BillingStateBilling Statestring 80  
BillingStreetBilling Streettextarea 255  
ContactIdContact IDreference 18  
ContractNumberContract Numberstring 30  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DescriptionDescriptiontextarea 32000  
DiscountDiscountpercent  52
EndDateEnd Datedate    
GrandTotalGrand Totalcurrency  182
IdService Contract IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LineItemCountLine Itemsint9   
NameContract Namestring 255  
OwnerIdOwner IDreference 18  
ParentServiceContractIdParent Service Contract IDreference 18  
Pricebook2IdPrice Book IDreference 18  
RootServiceContractIdRoot Service Contract IDreference 18  
ShippingAddressShipping Addressaddress    
ShippingCityShipping Citystring 40  
ShippingCountryShipping Countrystring 80  
ShippingGeocodeAccuracyShipping Geocode Accuracypicklist 40  
ShippingHandlingShipping and Handlingcurrency  182
ShippingLatitudeShipping Latitudedouble  1815
ShippingLongitudeShipping Longitudedouble  1815
ShippingPostalCodeShipping Zipstring 20  
ShippingStateShipping Statestring 80  
ShippingStreetShipping Streettextarea 255  
SpecialTermsSpecial Termstextarea 32000  
StartDateStart Datedate    
StatusStatuspicklist 255  
SubtotalSubtotalcurrency  182
SystemModstampSystem Modstampdatetime    
TaxTaxcurrency  182
TermTerm (months)int9   
TotalPriceTotal Pricecurrency  182

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 NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 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 NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdService Contract History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
ServiceContractIdService Contract IDreference 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 NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18