RecordAggregationResult

Represents a data aggregation from one record to another record based on the record aggregation definition for the corresponding objects. This object is available in API version 59.0 and later.

Supported Calls

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

Special Access Rules

This object is available if your org has the Record Aggregation permission set license, and you have the Record Aggregation Access permission.

Fields

AggregateFromRecordId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The record from which data is aggregated.

    This field is a polymorphic relationship field.

  • Relationship Name: AggregateFromRecord
  • Relationship Type: Lookup

AggregateToRecordId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The record to which data is aggregated.

    This field is a polymorphic relationship field.

  • Relationship Name: AggregateToRecord
  • Relationship Type: Lookup

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the record aggregation result.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the owner of this object.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

RecordAggregationDefinitionId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The record aggregation definition for the data aggregation from the aggregate-from record to the aggregate-to record.

    This field is a relationship field.

  • Relationship Name: RecordAggregationDefinition
  • Relationship Type: Lookup
  • Refers To: RecordAggregationDefinition

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.

RecordAggregationResultChangeEvent (API Version 63.0)
Change events are available for the object.
RecordAggregationResultOwnerSharingRule
Sharing rules are available for the object.
RecordAggregationResultShare
Sharing is available for the object.