Skip to main content

SupplyOrdersFilterInput

Filter options for supply orders query.

Provides comprehensive filtering capabilities including keyword search, brand filtering, date range filtering, status and type filtering, and location-based filtering.

The keyword argument performs a fuzzy search across multiple fields including order type, order number, batch number, and status. It also supports exact UUID matching for order ID.

Date Range Filtering​

All date fields support range filtering with optional from/to dates for flexible querying.

input SupplyOrdersFilterInput {
approvedBy: [ID!]
batchNumber: [String!]
brand: [ID!] @deprecated
completedBy: [ID!]
createdAt: DateRangeInput
createdBy: [ID!]
destinationBuildingId: [ID!]
destinationLocationId: [ID!]
endDate: DateRangeInput
keyword: String
orderNumber: [String!]
sourceBuildingId: [ID!]
startDate: DateRangeInput
status: [SupplyOrderStatusEnum!]
targetDate: DateRangeInput
type: [SupplyOrderTypeEnum!]
}

Fields​

SupplyOrdersFilterInput.approvedBy ● [ID!] list scalar common​

Filter by one or more party IDs who approved the orders

SupplyOrdersFilterInput.batchNumber ● [String!] list scalar common​

Filter by one or more specific batch numbers

SupplyOrdersFilterInput.brand ● [ID!] deprecated list scalar common​

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

Filter by one or more brand IDs.

SupplyOrdersFilterInput.completedBy ● [ID!] list scalar common​

Filter by one or more party IDs who completed the orders

SupplyOrdersFilterInput.createdAt ● DateRangeInput input common​

Filter supply orders by created date

SupplyOrdersFilterInput.createdBy ● [ID!] list scalar common​

Filter by one or more party IDs who created the orders

SupplyOrdersFilterInput.destinationBuildingId ● [ID!] list scalar common​

Filter by one or more destination warehouse/building IDs

SupplyOrdersFilterInput.destinationLocationId ● [ID!] list scalar common​

Filter by one or more destination location IDs

SupplyOrdersFilterInput.endDate ● DateRangeInput input common​

Filter supply orders by end date range

SupplyOrdersFilterInput.keyword ● String scalar common​

Keyword search across order ID, type, number, batch number, and status

SupplyOrdersFilterInput.orderNumber ● [String!] list scalar common​

Filter by one or more specific order numbers

SupplyOrdersFilterInput.sourceBuildingId ● [ID!] list scalar common​

Filter by one or more source warehouse/building IDs

SupplyOrdersFilterInput.startDate ● DateRangeInput input common​

Filter supply orders by start date range

SupplyOrdersFilterInput.status ● [SupplyOrderStatusEnum!] list enum orders​

Filter supply orders by status

SupplyOrdersFilterInput.targetDate ● DateRangeInput input common​

Filter supply orders by target date range

SupplyOrdersFilterInput.type ● [SupplyOrderTypeEnum!] list enum orders​

Filter supply orders by type

Member Of​

supplyOrders query