Newer Version Available

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

ServiceReport

Represents a report that summarizes a work order, work order line item, or service appointment.

The fields that appear on a service report are determined by its service report template. Service reports can be signed by the customer and shared as a PDF.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete()

Special Access Rules

Field Service must be enabled.

Fields

Field Name Details
ContentVersionDocumentId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the service report version, used for storage.
DocumentBody
Type
base64
Properties
Create, Nillable
Description
The report output.
DocumentContentType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
The type of data used for the report output: application/pdf.
DocumentLength
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The length of the report output.
DocumentName
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
The name of the report output, always set to Service Report.
IsSigned
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort
Description
Indicates whether the service report contains one or more signatures.

Add this field to the Service Reports related list on work orders, work order line items, and service appointments.

Tip

ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the service appointment, work order, or work order line item that the service report summarizes. For example, if you click Create Service Report on a service appointment, this field lists the service appointment’s record ID.
ServiceReportLanguage
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Restricted picklist
Description
The language used for the service report. The language is selected in the ServiceReportLanguage field on the associated work order. If the work order doesn’t specify a service report language, the report is translated in the default language in Salesforce of the person generating the report.
ServiceReportNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
An auto-generated number identifying the service report.
Template
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
The service report template used to generate the service report.

If the person creating the service report doesn’t have access to certain objects or fields that are included in the service report template, those fields aren’t visible in the report they create.

Note

Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

ServiceReportHistory
History is available for tracked fields of the object.