INPUT_OBJECT

TargetOrderByNestedInput

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

link GraphQL Schema definition

  • input TargetOrderByNestedInput {
  • # Unique identifier of entity.
  • id: OrderByEnum
  • # Specifies if the entity is considered deleted.
  • isDeleted: OrderByEnum
  • # Last modification time.
  • modified: OrderByEnum
  • # Creation time.
  • created: OrderByEnum
  • # What the target measures: revenue from opportunities won, or the number of leads
  • # qualified or created in the target period.
  • calculationType: OrderByEnum
  • # Free-text description shown alongside the target.
  • description: OrderByEnum
  • # When true, the target is currently being tracked; when false, the target is a
  • # draft or has been deactivated.
  • isActive: OrderByEnum
  • # Name of the entity and its default text representation.
  • name: OrderByEnum
  • # Id of the owning user.
  • ownerId: OrderByEnum
  • # First date of the active target period. Set when isActive is true; recomputed
  • # from settings.period when activated.
  • periodFrom: OrderByEnum
  • # Last date of the active target period.
  • periodTo: OrderByEnum
  • # Id of the assignee user.
  • targetClientId: OrderByEnum
  • # Kind of target: a User target for targetClient, a group target that is split
  • # into or combines user targets, or a Simulated what-if target.
  • type: OrderByEnum
  • # Revision when entity was lastly changed.
  • revision: OrderByEnum
  • # Target value the user committed to for the current period.
  • target: OrderByEnum
  • # Start date of the target period, derived from periodType and periodYear.
  • virtualPeriodFrom: OrderByEnum
  • # End date of the target period, derived from periodType and periodYear.
  • virtualPeriodTo: OrderByEnum
  • # Whole days remaining until the target period ends, or zero once the period is
  • # past.
  • daysLeft: OrderByEnum
  • # Progress state of the target: Draft until it is activated, then NotStarted
  • # before its period begins, InProgress while the period runs, and Finished once it
  • # is marked finished or the period has ended.
  • status: OrderByEnum
  • # Date the target was marked as finished. Empty until the target is closed.
  • finishedDate: OrderByEnum
  • # Projected end-of-period value extrapolated from progress to date. Used to
  • # compare against the committed target.
  • estimatedTarget: OrderByEnum
  • # Calendar year the target period belongs to (e.g. 2026).
  • periodYear: OrderByEnum
  • # Whether the target period follows the calendar year (CalendarYear) or the
  • # space's financial year (FinancialYear). Combined with periodYear to determine
  • # virtualPeriodFrom / virtualPeriodTo.
  • periodType: OrderByEnum
  • # True when this target is rolled up into a parent group target (e.g. a team-level
  • # target aggregating its members). Read-only.
  • hasParentGroupTarget: OrderByEnum
  • # Length of the fragments the target period is split into: the whole year (Year),
  • # quarters (Quarter) or months (Month).
  • periodFragmentType: OrderByEnum
  • # Zero-based position of the current fragment within the parent period (e.g.
  • # fragment index 2 for the 3rd month in a yearly target split into monthly
  • # fragments).
  • periodFragmentIndex: OrderByEnum
  • }