Work Order Line Item Fields for Field Service
Work order line items have the following fields. Sometimes you can't see or edit certain fields because of your page layout and field-level security settings.
Required Editions
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| The Agentforce Field Service and Operations core features, managed package, and mobile app are available in Enterprise, Unlimited, and Developer Editions. |
| Field | Description |
|---|---|
| Address | The address of the line item. The line item inherits its address from its parent work order, but it can also be updated manually. |
| Asset | The asset associated with the line item. If your org uses hierarchical assets (available after Spring ’16), you sometimes want to link a work order’s line items with different assets. For this reason, line items don’t automatically inherit their parent work order’s asset value. |
| City | The city where the line item is completed. Maximum length is 40 characters. |
| Country | The country where the line item is completed. Maximum length is 80 characters. |
| Currency ISO Code | The ISO code for any currency allowed by the organization. Available only for Salesforce orgs with the multicurrency feature enabled. |
| Description | The description of the line item. We recommend describing the steps for a user to follow to mark the line item Completed. |
| Discount | The percent discount to be applied to the line item. You can enter a number with or without the percent symbol and you can use up to two decimal places. |
| Duration | The estimated time required to complete the line item. Specify the duration unit in the Duration Type field. |
| DurationInMinutes | The estimated time required to complete the line item, in minutes. This field is for internal use. |
| Duration Type | The unit of the duration: Minutes or Hours. |
| End Date | The date when the line item is completed. |
| Geocode Accuracy | The level of accuracy of a location’s geographical coordinates compared with its physical address. A geocoding service typically provides this value based on the address’s latitude and longitude coordinates. |
| Is Closed | Indicates whether the line item is closed. Changing the line item’s status to Closed causes this checkbox to be selected in the user interface. |
| Is Generated From Maintenance Plan | Identifies whether the work order line item is generated from a maintenance plan. |
| Last Referenced Date | The date when the line item was last modified. Its label in the user interface is Last Modified Date |
| Last Viewed Date | The date when the line item was last viewed. |
| Latitude | Used with Longitude to specify the precise geolocation of the address where the work order is completed. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. |
| Line Item Number | An auto-generated number that identifies the line item. |
| List Price | The price of the line item (product) as listed in its corresponding price book entry. If a product isn’t specified, the list price defaults to zero. (Read only) |
| Location | A location associated with the work order line item. For example, a work site. |
| Longitude | Used with Latitude to specify the precise geolocation of the address where the work order is completed. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. |
| Maintenance Plan | The maintenance plan associated with the work order line item. |
| Maintenance Work Rule Id | (Read Only) ID of the maintenance work rule if the work order or work order line item was created by a maintenance plan. If created by the One Work Order Line Item per Asset option on the maintenance plan, the field is populated only on the work order line item. |
| Minimum Crew Size | The minimum crew size allowed for a crew assigned to the line item. If you’re not using the Field Service managed package, this field serves as a suggestion rather than a rule. If you’re using the managed package, the scheduling optimizer counts the number of service crew members on a service crew to determine whether it fits a line item’s minimum crew size requirement. |
| Order | The order associated with the line item. For example, you order replacement parts before you can complete the line item. |
| Parent Work Order Line Item | The line item’s parent line item, if it has one. Note View, create, and delete a
line item’s child line items in the Child Work Order Line Items related
list. |
| Postal Code | The postal code where the line item is completed. Maximum length is 20 characters. |
| Pricebook Entry | The price book entry (product) associated with the line item. The label in the user interface is Product. This field’s lookup search only returns products that are included in the work order’s price book. |
| Priority | The priority of the line item. The picklist includes the following values, which can be customized:
|
| Product | The product (price book entry) associated with the line item. This field’s lookup search only returns products that are included in the parent work order’s price book. |
| Product Service Campaign | The product service campaign associated with the work order line item. |
| Product Service Campaign Item | The product service campaign item associated with the work order line item. |
| Quantity | The line item’s quantity. |
| Recommended Crew Size | The recommended number of people on the service crew assigned to the line item. |
| Return Order | The return order associated with the work order line item. |
| Return Order Line Item | The return order line item associated with the work order line item. |
| Root Work Order Line Item | The top-level line item in a line item hierarchy. Depending on where a line item lies in the hierarchy, its root can be the same as its parent. (Read only) |
| Service Appointment Count | The number of service appointments on the work order line item. |
| Service Report Template | The service report template that the line item’s service reports uses. If you don’t specify a service report template on a work order line item, it uses the service report template listed on its work type. If the work type doesn’t list a template or no work type is specified, the line item uses the default service report template. Note This field stays blank unless you update it on the
line item. To find out which template the line item’s service reports uses, check
its work type. |
| Service Territory | The service territory where the line item work is taking place. |
| Start Date | The date when the line item goes into effect. |
| State | The state where the line item is completed. Maximum length is 80 characters. |
| Status | The status of the line item. The picklist includes the following values, which can be customized:
|
| Status Category | The category that each status value falls into. The Status Category field has eight default values: seven values that are identical to the default Status values, and a None value for statuses without a status category. If you create custom Status values, you must indicate which category it belongs to. For example, if you create a Waiting for Response value, you can decide that it belongs in the On Hold category. To learn which processes reference Status Category, see How are Status Categories Used? |
| Street | The street number and name where the line item is completed. |
| Subject | The line item’s subject. For example, Tire Check. |
| Subtotal | The line item’s unit price multiplied by the quantity. (Read only) |
| Suggested Maintenance Date | Date when maintenance work is planned. |
| Total Price | The line item’s subtotal with discounts applied. (Read only) |
| Unit Price | By default, the unit price for a line item is the product’s list price from the price book, but you can change it. |
| Work Order | The parent work order of the line item. Because work order line items must be associated with a work order, this field is required. |
| Work Order Line Item Number | An autogenerated number that identifies the work order line item. |
| Work Type | The work type associated with the line item. When a work type is selected, the work order line item automatically inherits the work type’s Duration, Duration Type, and required skills. |

