Newer Version Available

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

MaintenancePlan

Represents a preventive maintenance schedule for one or more assets in field service.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see MaintenancePlan in the Field Service Developer Guide and Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
AccountId Account ID reference 18
ContactId Contact ID reference 18
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
CurrencyIsoCode Currency ISO Code picklist 3
Description Description textarea 32000
DoesAutoGenerateWorkOrders Auto-generate work orders boolean
DoesGenerateUponCompletion Generate new batch upon completion boolean
EndDate End Date date
GenerationHorizon Generation Horizon (Days) int 9
GenerationTimeframe Generation Timeframe int 9
GenerationTimeframeType Generation Timeframe Type picklist 255
Id Maintenance Plan ID id 18
IsDeleted Deleted boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastReferencedDate Last Referenced Date datetime
LastViewedDate Last Viewed Date datetime
LocationId Location ID reference 18
MaintenancePlanNumber Maintenance Plan Number string 255
MaintenancePlanTitle Maintenance Plan Title string 255
MaintenanceWindowEndDays Maintenance Window End (Days) int 9
MaintenanceWindowStartDays Maintenance Window Start (Days) int 9
NextSuggestedMaintenanceDate Date of the first work order in the next batch date
OwnerId Owner ID reference 18
ServiceContractId Service Contract ID reference 18
StartDate Start Date date
SvcApptGenerationMethod Service Appointment Generation Method picklist 255
SystemModstamp System Modstamp datetime
WorkOrderGenerationMethod Work Order Generation Method picklist 255
WorkOrderGenerationStatus Work Order Generation Status picklist 255
WorkTypeId Work Type ID reference 18