# When and why would you use Work Order Line Items (WOLIs) in Salesforce Field Service?

**Topic:** Field Service · **Difficulty:** Medium · **Tags:** Field Service, Work Order Line Items, Data Model

Read it on the site: https://www.forcechallenges.com/interview-questions/when-and-why-would-you-use-work-order-line-items-wolis-in-salesforce-field-service

## Answer

**Basics:** A Work Order represents a job for a customer or asset. A Work Order Line Item (WOLI) is a child record representing one task inside it, such as "replace filter", "inspect compressor", "test thermostat".

**How it works:** Create the WO (often from a Work Type that auto-adds steps), then create WOLIs with subject, description, status and duration. WOLIs can have their own Work Type and Skill Requirements, can have child WOLIs through a parent line item lookup, and can own Service Appointments (the appointment's parent record can be a WOLI). Products Required and Products Consumed can attach to either WO or WOLI. Status rolls through WOLI Status and Status Category.

**Advanced / deep dive:** Choose between separate Work Orders and WOLIs by asking: same asset, same customer visit, same invoice? Then WOLIs. Different billing, entitlement, location or required visit date? Then separate Work Orders. Scheduling operates on appointments, so if each WOLI has an appointment, the engine can schedule them independently, possibly to different technicians. Duration on WO can be a roll-up of WOLI durations in some designs. Reporting is by WO for customer-facing and by WOLI for task completion. Do not over-split: many WOLIs on mobile slows the UI and adds sync data.

**Hidden gotchas & must-remember points:**
- WOLI status is not automatically a strict roll-up to WO status in all configurations; build automation if you need that.
- Skill requirements can live on WO, WOLI or Work Type; confirm which one scheduling reads in your design.
- Service Appointments can be created for a WOLI, but most orgs create them on the WO; pick one convention.
- WOLI hierarchy depth is limited; verify in current docs.
- Entitlements and milestones are tied to Work Orders, not line items.

**Best practice:** Use Work Types with standard steps to generate WOLIs consistently, and keep one appointment per visit unless task-level scheduling is a real requirement.

---
Source: ForceChallenges · last updated 2026-11-02
