OBJECT

LeadOpptyAccountRelationEntity

Link between a lead or opportunity and an account, marking the primary account.

link GraphQL Schema definition

  • type LeadOpptyAccountRelationEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Account linked to the lead or opportunity.
  • account: AccountEntity
  • # Lead the account is linked to. Set when leadOpptyId resolves to a Lead;
  • # otherwise empty.
  • lead: LeadEntity
  • # Opportunity the account is linked to. Set when leadOpptyId resolves to an
  • # Opportunity; otherwise empty.
  • oppty: OpportunityEntity
  • # Id of the account linked to the lead or opportunity.
  • accountId: ID!
  • # True for the row that represents the primary related entity for this record.
  • # Setting isPrimary to true on a row automatically clears it on any other primary
  • # row.
  • isPrimary: Boolean!
  • # Id of the lead or opportunity this link belongs to.
  • leadOpptyId: ID!
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }