Inventory
ION tracks parts by serial number or lot number. You can also leave a part untracked and record only its quantity. Part inventory holds information about a part and sets it up so you can track it in runs and aBOM construction.Inventory tracking types
Query part inventories
List part inventory with a filter:Create part inventories
When you specify no quantity, the inventory object has a quantity of 0. You can also autogenerate the serial number or lot number. Create the inventory with this mutation:Update inventory items
You can change almost all the fields on an inventory object except its relation to the part it is an instance of. All the quantity and tracking-type validations enforced on creation are also enforced on update. Update the inventory with this mutation:Delete part inventories
Delete the inventory with this mutation:Issue parts to runs
Part kits
Part kits let you allocate specific parts and quantities for a run. To create a part kit, you must already have a run. See the Runs example for how to create one. To remove parts from inventory and attach them to the run that consumes them, use a part kit object.
Create a kit with this mutation:
Issue inventory to kits
To move parts from inventory into the part kit, use theissueItemToKit mutation. Whether a part is serial-tracked, lot-tracked, or untracked, you reference its partInventoryId and, when the item is not serial-tracked, the quantity you want to issue to that kit:
Issue an item to the kit with this mutation:
issueItemToKit mutation. When you issue parts to a kit, the kit shows the quantity of that required part fulfilled as issuedQuantity. The quantity is decremented from the original inventory object.