Newer Version Available

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

WorkOrderLineItem

Represents a subtask on a work order in field service. 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 WorkOrderLineItem in the Energy and Utilities Cloud Developer Guide, Field Service Developer Guide, and Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
Address Address address
AssetId Asset ID reference 18
City City string 40
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 40
Id Work Order Line Item 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
LineItemNumber Work Order Line Item Number string 255
ListPrice List Price currency 18 2
LocationId Location ID reference 18
Longitude Longitude double 18 15
OrderId Order ID reference 18
ParentWorkOrderLineItemId Parent Work Order Line Item ID reference 18
PostalCode Zip/Postal Code string 20
PricebookEntryId Product ID reference 18
Priority Priority picklist 40
Product2Id Product ID reference 18
Quantity Quantity double 12 2
RootWorkOrderLineItemId Root Work Order Line Item 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
TotalPrice Total Price currency 18 2
UnitPrice Unit Price currency 18 2
WorkOrderId Work Order ID reference 18