Newer Version Available

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

MaintenanceWorkRule

Represents the recurrence pattern for a maintenance record. This object is available in API version 49.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the line item was last modified. Its label in the user interface is Last Modified Date.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the line item was last viewed.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of this maintenance work rule.
NextSuggestedMaintenanceDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The next date on which this rule will generate maintenance items.
ParentMaintenanceRecordId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The maintenance record this work rule applies to .
RecurrencePattern
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The RRULE that defines the pattern of recurrence for this work order rule.
SortOrder
Type
int
Properties
Create, Filter, Group, Sort, Update
Description
The sort order that applies to this work order rule.
Title
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The title of this work order rule.
WorkTypeId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the work type that this work order rule generates.