INPUT_OBJECT

OpportunityOrderByNestedInput

Sorting by a field of the related Opportunity record. Set exactly one field in each item.

link GraphQL Schema definition

  • input OpportunityOrderByNestedInput {
  • # Unique identifier of entity.
  • id: OrderByEnum
  • # Specifies if the entity is considered deleted.
  • isDeleted: OrderByEnum
  • # Last modification time.
  • modified: OrderByEnum
  • # Creation time.
  • created: OrderByEnum
  • # Id of the quote currently synchronized with this opportunity, or empty when no
  • # quote is active. A quote can be active on only one opportunity at a time.
  • activeQuoteId: OrderByEnum
  • # Expected or actual closing date of the opportunity.
  • closingDate: OrderByEnum
  • # Id of the currency exchange rate list applied to this opportunity.
  • currencyExchangeRatesListId: OrderByEnum
  • # Free-form description of the opportunity.
  • description: OrderByEnum
  • # True when the opportunity has been archived (lost). Archived opportunities
  • # remain readable but are hidden from active lists and cannot be edited until
  • # reactivated.
  • isArchived: OrderByEnum
  • # True when value is auto-calculated from the opportunity product line items.
  • # False when the user enters value directly.
  • isValueAutoCalculate: OrderByEnum
  • # User-set colored flag used to highlight the opportunity in lists and reports.
  • labelFlag: OrderByEnum
  • # Id of the lead source the opportunity originated from.
  • leadSourceId: OrderByEnum
  • # Name of the entity and its default text representation.
  • name: OrderByEnum
  • # Id of the opportunity type.
  • opptyTypeId: OrderByEnum
  • # Id of the opportunity owner.
  • ownerId: OrderByEnum
  • # Id of the price list that supplies prices for product line items added to this
  • # opportunity, or empty to use catalog defaults.
  • productPriceListId: OrderByEnum
  • # Free-text company email captured at opportunity creation when no Account record
  • # has been linked yet.
  • quickAccountEmail: OrderByEnum
  • # Free-text company name captured at opportunity creation when no Account record
  • # has been linked yet.
  • quickAccountName: OrderByEnum
  • # Free-text company phone captured at opportunity creation when no Account record
  • # has been linked yet.
  • quickAccountPhone: OrderByEnum
  • # Free-text contact name captured at opportunity creation when no Contact record
  • # has been linked yet.
  • quickContactName: OrderByEnum
  • # Free-text contact email captured at opportunity creation when no Contact record
  • # has been linked yet.
  • quickEmail: OrderByEnum
  • # Free-text contact phone captured at opportunity creation when no Contact record
  • # has been linked yet.
  • quickPhone: OrderByEnum
  • # Qualitative ranking score (1-10) the user assigns to indicate the strength of
  • # the opportunity.
  • ranking: OrderByEnum
  • # Free-form note explaining why the opportunity was archived (lost).
  • reasonOfCloseDescription: OrderByEnum
  • # Id of the reason of close option selected when the opportunity was archived
  • # (lost).
  • reasonOfCloseId: OrderByEnum
  • # Sharing model applied on top of the owner/unit visibility (e.g. shared with
  • # selected sales units or selected users). The matching sharingUnits /
  • # sharingClients lists control who is granted access.
  • shareMode: OrderByEnum
  • # Id of the pipeline step.
  • stepId: OrderByEnum
  • # Id of the sales unit.
  • unitId: OrderByEnum
  • # True when the opportunity has gone through the qualification step at least once.
  • wasQualified: OrderByEnum
  • # Revision when entity was lastly changed.
  • revision: OrderByEnum
  • # Monetary value of the opportunity in the team space base currency, with the
  • # foreign value and currency code preserved alongside.
  • value: OrderByEnum
  • # Number of email sequences this record is currently actively enrolled in
  • # (soft-deleted or ended enrollments are not counted).
  • enrolledEmailSequences: OrderByEnum
  • # Current status of the opportunity (Open, Won, Lost). Read-only; derived from the
  • # current pipeline step and the archived flag.
  • status: OrderByEnum
  • # Sorts records by whether they are related to the listed records.
  • relatedEntities: CommonEntityRepositoryOrderByEntityRelationField
  • # Sorts by a custom field.
  • withCustom: CommonEntityRepositoryOrderByCustomField
  • }

link Require by