WorkPlanSelectionRule
Represents a rule that selects a work plan for a work order or work order line item.
Introduced in API version 49.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Field Service must be enabled.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 54.0
-
Relationship name: Account
-
Relationship type: relationship
-
Refers to: Account
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the asset.
- Relationship name: Asset
- Relationship type: relationship
- Refers to: Asset
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The description of the selection rule.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Controls whether this selection rule is active (
true) or not (false). Default isfalse. Label is Active.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the location.
- Relationship name: Location
- Relationship type: relationship
- Refers to: Location
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the product. Label is Product.
- Relationship name: Product2
- Relationship type: relationship
- Refers to: Product2
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Relationship name: ServiceContract
-
Relationship type: relationship
-
Refers to: ServiceContract
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the service territory.
- Relationship name: ServiceTerritory
- Relationship type: relationship
- Refers to: ServiceTerritory
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: The auto-generated number of the work plan selection rule, for example, WPSR-0001.
- Type: reference
- Properties: Create, Filter, Group, Sort, Update
- Description: Required. The ID of the work plan template.
- Relationship name: WorkPlanTemplate
- Relationship type: relationship
- Refers to: WorkPlanTemplate
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the work type.
- Relationship name: WorkType
- Relationship type: relationship
- Refers to: WorkType
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.