Queries
partKitPickList
Generates a pick list for a part kit(s) based on a specified strategy. Use partKitIds for multi-kit batches (preferred), or partKitId for single-kit legacy support.
QUERY
partKitPickList(locationId: Int, partKitId: Int, partKitIds: [ID!], pickStrategy: PickListStrategy!): PartKitPickListArguments
locationId
Int
partKitId
Int
partKitIds
[ID!]
pickStrategy
required
Returns
locations
partInventories
Query
query PartKitPickList($pickStrategy: PickListStrategy!) {
partKitPickList(pickStrategy: $pickStrategy) {
locations {
inventoryRows {
inventory {
__typename
}
inventoryId
kitAllocations {
__typename
}
partId
quantityToPull
}
locationId
locationName
stopNumber
}
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"pickStrategy": "FIFO"
}Response
{
"data": {
"partKitPickList": {
"locations": [
{
"inventoryRows": [
{
"inventory": {
"__typename": "PartInventory"
},
"inventoryId": "id",
"kitAllocations": [
{
"__typename": "PartKitAllocation"
}
],
"partId": "id",
"quantityToPull": 1.5
}
],
"locationId": "id",
"locationName": "string",
"stopNumber": 1
}
],
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
]
}
}
}Was this page helpful?
⌘I
Query
query PartKitPickList($pickStrategy: PickListStrategy!) {
partKitPickList(pickStrategy: $pickStrategy) {
locations {
inventoryRows {
inventory {
__typename
}
inventoryId
kitAllocations {
__typename
}
partId
quantityToPull
}
locationId
locationName
stopNumber
}
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Variables
{
"pickStrategy": "FIFO"
}Response
{
"data": {
"partKitPickList": {
"locations": [
{
"inventoryRows": [
{
"inventory": {
"__typename": "PartInventory"
},
"inventoryId": "id",
"kitAllocations": [
{
"__typename": "PartKitAllocation"
}
],
"partId": "id",
"quantityToPull": 1.5
}
],
"locationId": "id",
"locationName": "string",
"stopNumber": 1
}
],
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
]
}
}
}