DocGenerationQueryResult

Represents information, including a report, template, and process lookup, for a document generation job. This object is available in API version 61.0 and later.

Supported Calls 

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

Special Access Rules 

This object is available only if the FundraisingAccess license is enabled and the DocGen User permission set and the Fundraising User system permission are assigned to users.

Fields 

DocumentGenerationProcessId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The process associated with the document creation.

    This field is a relationship field.

  • Relationship Name: DocumentGenerationProcess

  • Relationship Type: Lookup

  • Refers To: DocumentGenerationProcess

DocumentTemplateId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The template associated with the document creation.

    This field is a relationship field.

  • Relationship Name: DocumentTemplate

  • Relationship Type: Lookup

  • Refers To: DocumentTemplate

Name 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the batch query job.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: ID of the owner of this object.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

ReportFolderId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The report folder associated with the document generation query result.

    This is a relationship field and is available from API version 62.0 and later.

  • Relationship Name: ReportFolder

  • Refers To: Folder

RunDateTime 

  • Type: dateTime
  • Properties: Create, Defaulted on create, Filter, Sort, Update
  • Description: The date and time when the query and job was run.

Associated Objects 

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

DocGenerationQueryResultChangeEvent

Change events are available for the object.

DocGenerationQueryResultFeed

Feed tracking is available for the object.

DocGenerationQueryResultHistory

History is available for tracked fields of the object.

DocGenerationQueryResultOwnerSharingRule

Sharing rules are available for the object.

DocGenerationQueryResultShare

Sharing is available for the object.