WorkOrder

Represents field service work to be performed for a customer. This object is available in API version 36.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see WorkOrder in the Energy and Utilities Cloud Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, and Work.com Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
AddressAddressaddress    
AssetIdAsset IDreference 18  
AssetWarrantyIdAsset Warranty IDreference 18  
BusinessHoursIdBusiness Hours IDreference 18  
CaseIdCase IDreference 18  
CityCitystring 40  
ContactIdContact IDreference 18  
CountryCountrystring 80  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DescriptionDescriptiontextarea 32000  
DiscountDiscountpercent  52
DurationDurationdouble  182
DurationInMinutesDuration in Minutesdouble  182
DurationTypeDuration Typepicklist 255  
EndDateEnd Datedatetime    
EntitlementIdEntitlement IDreference 18  
GeocodeAccuracyGeocode Accuracypicklist 40  
GrandTotalGrand Totalcurrency  182
IdWork Order IDid 18  
IsClosedIs Closedboolean    
IsDeletedDeletedboolean    
IsGeneratedFromMaintenancePlanGenerated from maintenance planboolean    
IsStoppedStoppedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LatitudeLatitudedouble  1815
LineItemCountLine Itemsint9   
LocationIdLocation IDreference 18  
LongitudeLongitudedouble  1815
MaintenancePlanIdMaintenance Plan IDreference 18  
MaintenanceWorkRuleIdMaintenance Work Rule IDreference 18  
MilestoneStatusMilestone Statusstring 30  
MinimumCrewSizeMinimum Crew Sizeint9   
OwnerIdOwner IDreference 18  
ParentWorkOrderIdParent Work Order IDreference 18  
PostWorkSummaryPost-Work Summarytextarea 131072  
PostalCodeZip/Postal Codestring 20  
PreWorkBriefPromptTemplatePre-Work Brief Prompt Template IDstring 255  
Pricebook2IdPrice Book IDreference 18  
PriorityPrioritypicklist 40  
ProductServiceCampaignIdProduct Service Campaign IDreference 18  
ProductServiceCampaignItemIdProduct Service Campaign Item IDreference 18  
RecommendedCrewSizeRecommended Crew Sizeint9   
ReturnOrderIdReturn Order IDreference 18  
ReturnOrderLineItemIdReturn Order Line Item IDreference 18  
RootWorkOrderIdRoot Work Order IDreference 18  
ServiceAppointmentCountService Appointment Countint9   
ServiceContractIdService Contract IDreference 18  
ServiceReportLanguageService Report Languagepicklist 255  
ServiceReportTemplateIdService Report Layout IDreference 18  
ServiceTerritoryIdTerritory IDreference 18  
SlaExitDateSla Policy End Timedatetime    
SlaStartDateSla Policy Start Timedatetime    
StartDateStart Datedatetime    
StateState/Provincestring 80  
StatusStatuspicklist 255  
StatusCategoryStatus Categorypicklist 255  
StopStartDateStopped Sincedatetime    
StreetStreettextarea 255  
SubjectSubjectstring 255  
SubtotalSubtotalcurrency  182
SuggestedMaintenanceDateSuggested Maintenance Datedate    
SystemModstampSystem Modstampdatetime    
TaxTaxcurrency  182
TotalPriceTotal Pricecurrency  182
WorkOrderNumberWork Order Numberstring 255  
WorkTypeIdWork Type IDreference 18  

Feed tracking for WorkOrder.

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  

Represents the history of changes made to tracked fields on a work order. This object is available in API version 36.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see WorkOrderHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdWork Order History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
WorkOrderIdWork Order IDreference 18  

Represents a sharing entry on a work order. This object is available in API version 36.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see WorkOrderShare 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