Newer Version Available

This content describes an older version of this product. View Latest

WorkOrder

Represents field service work to be performed for a customer.

For more information, see WorkOrder in the Field Service Developer Guide, Object Reference for the Salesforce Platform, and Work.com Developer Guide.

Fields

Field Name Field Label Type Digits Length Precision Scale
AccountId AL Account reference 18
Address Address address
AssetId Asset ID reference 18
BusinessHoursId Business Hours ID reference 18
CaseId Case ID reference 18
City City string 40
ContactId Contact ID reference 18
Country Country string 80
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
Description Description textarea 32000
Discount Discount percent 5 2
Duration Duration double 18 2
DurationInMinutes Duration in Minutes double 18 2
DurationType Duration Type picklist 255
EndDate End Date datetime
GeocodeAccuracy Geocode Accuracy picklist 255
GrandTotal Grand Total currency 18 2
Id Work Order ID id 18
IsClosed Is Closed boolean
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
Latitude Latitude double 18 15
LineItemCount Line Items int 9
LocationId Location ID reference 18
Longitude Longitude double 18 15
OwnerId Owner ID reference 18
ParentWorkOrderId Parent Work Order ID reference 18
PostalCode Zip/Postal Code string 20
Pricebook2Id Price Book ID reference 18
Priority Priority picklist 40
RootWorkOrderId Root Work Order ID reference 18
ServiceAppointmentCount Service Appointment Count int 9
StartDate Start Date datetime
State State/Province string 80
Status Status picklist 40
StatusCategory Status Category picklist 255
Street Street textarea 255
Subject Subject string 255
Subtotal Subtotal currency 18 2
SystemModstamp System Modstamp datetime
Tax Tax currency 18 2
TotalPrice Total Price currency 18 2
WorkOrderNumber Work Order Number string 255