MaintenanceWorkRule
Represents the recurrence pattern for a maintenance record.
Introduced in API version 49.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 55.0
-
Default value: false
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Name of this maintenance work rule.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The next date on which this rule will generate maintenance items.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 51.0
- Description: The maintenance plan associated with the maintenance work rule.
- Relationship name: ParentMaintenancePlan
- Relationship type: relationship
- Refers to: MaintenancePlan
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The maintenance record this work rule applies to.
- Relationship name: ParentMaintenanceRecord
- Relationship type: relationship
- Refers to: MaintenanceAsset
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 52.0
- Description: ID of the recordset filter criteria associated with this maintenance work rule.
- Relationship name: RecordsetFilterCriteria
- Relationship type: relationship
- Refers to: RecordsetFilterCriteria
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The RRULE that defines the pattern of recurrence for this work order rule.
- Type: int
- Properties: Create, Filter, Group, Sort, Update
- Description: The sort order that applies to this work order rule.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: The title of this work order rule.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Introduced: API version 52.0
-
Description:
The type of maintenance work rule. Available values are:
Available in API version 52.0 and later.
-
Possible values:
- Criteria-based — Criteria-based
- Calendar-based — Calendar-based
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the work type that this work order rule generates.
- 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.