← All types
Sales & CRMIn Input object

PurchaseOrderSortInput

Sort input for purchase order queries

Fields

Field to sort by

Possible values (5)
PO_NUMBER

Sort by PO number

STATUS

Sort by status

ORDER_DATE

Sort by order date

TOTAL_AMOUNT

Sort by total amount

CREATED_AT

Sort by creation date

Sort direction (ASC or DESC)

Possible values (2)
ASC

Sort in ascending order (A-Z, oldest first)

DESC

Sort in descending order (Z-A, newest first)

Referenced by (1)
Exact type SDL
"""Sort input for purchase order queries"""
input PurchaseOrderSortInput {
  """Field to sort by"""
  field: PurchaseOrderSortField!
  """Sort direction (ASC or DESC)"""
  direction: SortDirection!
}