partInventory
Retrieves an item by its ID.
partInventory(id: ID!): PartInventoryArguments
Returns
Optimized count of abomInstallations.
Optimized count of attributedParts.
Optimized count of attributedUsers.
Optimized count of attributes.
Optimized count of buildRequirementReferenceDesignators.
Optimized count of buildRequirements.
Optimized count of comments.
Optimized count of fileAttachments.
Optimized count of installedOnBuildRequirement.
Optimized count of issues.
Optimized count of labels.
Optimized count of madeOnAssemblyChildPartInventories.
Optimized count of mbomChanges.
Optimized count of originRuns.
Optimized count of partInventories.
Optimized count of partKitInventories.
Optimized count of partKitItems.
Optimized count of purchaseOrderLines.
Optimized count of receiptItems.
Optimized count of receipts.
Optimized count of runSteps.
Optimized count of runs.
The most recent active kit that the part inventory is in.
True while this inventory awaits human review; status derives to needs_review until a review resolution or lifecycle event clears it.
PO-specific property.
User associated with creating related attribute. Returns: relationship object
User id that created this object. Returns: int of user_id
PO-specific property.
True if the inventory has a serial number, lot number, or location. This is used to determine if an inventory can be deleted when used on a purchase order line and the line is canceled.
True if the inventory's full quantity is installed onto a parent part.
Define intent option id foreign key.
True if this inventory is linked to a PO line via an outside processing (OSP) run step: the linking record has a run step set and that run step is marked as outside processing. Used to allow kitting of WIP inventory for OSP.
True if the inventory's full quantity is actively kitted.
Every mBOM change this unit has gone through (applied, in progress, and canceled), oldest first.
PO-specific property.
Part kits that this inventory is kitted to.
Percent of build requirements that are fulfilled. Each build requirement is given an equal weight in the calculation.
The status this inventory would re-derive to if its review were resolved as release. Null unless awaiting review.
Quantity available that is ready to be consumed. This is the quantity that is not in wip, kitted, installed, or scrapped.
Quantity installed onto parent parts.
See quantity_kitted for more info.
Quantity kitted to open kits. Open means that the kit status is not complete or canceled.
True if the inventory's full quantity is received.
The tracking type defined by the inventory. For instance, if a serial number is populated on the inventory, this will be 'serial'.
User associated with updating related attribute. Returns: relationship object
User id that updated this object. Returns: int of user_id
query PartInventory($id: ID!) {
partInventory(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}{
"id": "id"
}{
"data": {
"partInventory": {
"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?
query PartInventory($id: ID!) {
partInventory(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}{
"id": "id"
}{
"data": {
"partInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}