| 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.
DocumentBody
can’t be retrieved via REST API.
|
| DocumentContentType |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort
- Description
- The type of data used for the report output.. Possible
values are:
- audio/ogg
- text/calendar
- video/3gpp2
- video/3gpp
- image/avif
- text/calendar
- audio/x-caf
- image/webp
|
| 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.
|
| DocumentTemplate |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- The template used to generate service documents for the
Document Builder feature.
DocumentTemplate is
different from Template. The
document template needs to reference a flexipage
that is of type serviceDocument and must target the
object used to generate the service document. For
example, you can't use an Account flexipage for a
service report tied to a work order.
|
| IsSigned |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort
- Description
- Indicates whether the service report contains one or more signatures. This field isn’t
supported for Document Builder.
Add this
field to the Service Reports related list on work
orders, work order line items, and service
appointments.
|
| 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.
|
| Status |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Nillable,
Restricted picklist, Sort, Update
- Description
- The status of the service report. Available in API
version 53.0 and later.
- Possible values are:
- Completed
- Failed
- Generating
- In
Progress
- None
- Queued
- The default value is None.
|
| 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.
|