{ "sections": [ "title", "description", "fields", "associated_objects", "wsdl_segment", "field_reference" ], "title": "MaintenanceWorkRule - Data API", "description": "Represents the recurrence pattern for a maintenance record. This object is available in API version 49.0 and later.", "fields_columns": [ "type", "properties", "description" ], "fields": { "DoesFloatingWorkOrder": { "type": "boolean", "properties": "Create, Defaulted on create, Filter, Group, Sort, Update", "description": "Indicates that the maintenance plan uses the floating work order adjustment. The default is false." }, "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." }, "OwnerId": { "type": "reference", "properties": "Create, Defaulted on create, Filter, Group, Sort, Update", "description": "The assigned owner of the maintenance work rule." }, "ParentMaintenancePlanId": { "type": "reference", "properties": "Create, Filter, Group, Nillable, Sort, Update", "description": "The maintenance plan associated with the maintenance work rule." }, "ParentMaintenanceRecordId": { "type": "reference", "properties": "Create, Filter, Group, Nillable, Sort, Update", "description": "The maintenance record this work rule applies to." }, "RecordsetFilterCriteriaId": { "type": "reference", "properties": "Create, Filter, Group, Nillable, Sort, Update", "description": "ID of the recordset filter criteria associated with this maintenance work rule. Available in API version 52.0 and later." }, "RecurrencePattern": { "type": "string", "properties": "Create, Filter, Group, Nillable, 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." }, "Type": { "type": "picklist", "properties": "Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update", "description": "The type of maintenance work rule. Available values are: Criteria-based Calendar-based (default) Available in API version 52.0 and later." }, "WorkTypeId": { "type": "reference", "properties": "Create, Filter, Group, Nillable, Sort, Update", "description": "The ID of the work type that this work order rule generates." } }, "associated_objects": "This object has the following associated objects. Unless noted, they are available in the same API version as this object.\n\n- **MaintenanceWorkRuleChangeEvent**: Change events are available for the object.\n- **MaintenanceWorkRuleFeed**: Feed tracking is available for the object.\n- **MaintenanceWorkRuleHistory**: History is available for tracked fields of the object.\n- **MaintenanceWorkRuleOwnerSharingRule**: Sharing rules are available for the object.\n- **MaintenanceWorkRuleShare**: Sharing is available for the object.", "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n \n \n \n \n \n\n```", "field_reference": { "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "CurrencyIsoCode": { "field_label": "Currency ISO Code", "type": "picklist", "length": "3" }, "Id": { "field_label": "Maintenance Work Rule ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "LastReferencedDate": { "field_label": "Last Referenced Date", "type": "datetime" }, "LastViewedDate": { "field_label": "Last Viewed Date", "type": "datetime" }, "Name": { "field_label": "Maintenance Work Rule Name", "type": "string", "length": "255" }, "NextSuggestedMaintenanceDate": { "field_label": "Date of the first work order in the next batch", "type": "date" }, "OwnerId": { "field_label": "Owner ID", "type": "reference", "length": "18" }, "ParentMaintenancePlanId": { "field_label": "Maintenance Plan ID", "type": "reference", "length": "18" }, "ParentMaintenanceRecordId": { "field_label": "Maintenance Asset ID", "type": "reference", "length": "18" }, "RecordsetFilterCriteriaId": { "field_label": "Recordset Filter Criteria ID", "type": "reference", "length": "18" }, "RecurrencePattern": { "field_label": "Recurrence Pattern", "type": "string", "length": "255" }, "SortOrder": { "field_label": "Sort Order", "type": "int", "digits": "9" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" }, "Title": { "field_label": "Maintenance Work Rule Title", "type": "string", "length": "255" }, "Type": { "field_label": "Maintenance Work Rule Type", "type": "picklist", "length": "255" }, "WorkTypeId": { "field_label": "Work Type ID", "type": "reference", "length": "18" } }, "field_reference_columns": [ "field_label", "type", "length", "digits" ] }