A work order isn’t finished when its last station is. Its output lands somewhere: a buffer between two lines, a kanban another station pulls from, or a warehouse waiting to ship. Threaded follows units into stores, counts the stock there by lot, and takes it out when another station draws it, it ships, or it’s scrapped.
#What it is
A store is a place on your plant map where parts wait. Each store has a policy set in your plant’s map: a warehouse, a kanban, a supermarket or a buffer. A store can sit partway along a route, or at the end of one.
Finished units of a made part become stock, held in a lot per unit. Other stations draw that stock at Complete, oldest lot first. See Parts at a Station.
#Rules
- Run is turned on per organization. See Feature Access and Billing.
#Where a unit goes when it completes
| Where the unit lands | What happens |
|---|---|
| A store partway along its route | It waits there, still in process. Release moves it on to the next station |
| A warehouse at the end of its route | It lands as stock, ready to ship. Release ships what’s left |
| Any other store at the end of its route (kanban, supermarket, buffer) | It lands as stock and waits for another station to draw it. There’s nothing to do: Finished, waiting to be consumed. |
| The last station on its route, when another part uses it there | It waits at that station as stock, until it’s drawn |
| The last station on its route otherwise | It’s done |
#Stock
- Stock is kept for made parts only. Bought parts have no stock.
- Stock moves only when a station completes, a lot is released or shipped, or stock is scrapped.
- Scrapping stock is an inventory loss, not a production loss. The lot goes down, and the work order’s yield doesn’t change.
- A serial held for a unit at an open station can’t be scrapped from stock until it’s released there.
- Anyone who can work stations can release, ship and scrap stock.
#When a work order is finished
A work order stays on the floor while any of its units is at a station, in a store partway along its route, or on hold, or while it still owes a closeout. Once every unit has finished, landed as stock or been scrapped, and its closeouts are recorded, it’s no longer on the floor.
Its status reads, in this order:
- Archived, while it’s archived.
- Needs help, when any unit is on hold.
- In process, while any unit is still being worked.
- Scrapped, when every unit failed.
- Completed otherwise. Stock it made stays Completed even after it’s drawn, shipped or scrapped.
#Archiving
- Only Owners and Editors can archive and restore.
- Any work order can be archived: in process, on hold or completed. Archiving needs a note saying why.
- Archiving draws nothing and scraps nothing. The stock the order already made stays stock, and other orders can still draw it.
- An archived order can’t be worked: its units can’t be started, completed, held or scrapped, and its closeouts can’t be recorded.
#In the app
#A store’s panel
Click a store on Run › Floor. Its panel lists the stock by lot, with {qty} on hand for each part. Each lot shows what’s remaining, consumed and scrapped. An empty store says Nothing on the shelf.
A unit in a store partway along its route shows Release. Click it to move the unit to its next station.
#Ship from a warehouse
A unit that landed in a warehouse at the end of its route reads Finished, ready to ship. Click Release, then Release again in the Release shipment dialog. Release ships all the remaining stock for that unit, so other work orders can no longer draw it. The unit then reads Shipped.
#Scrap stock
Click Scrap on a lot in a store for stock that’s crushed, rusted or lost. For a serialized part, the part’s Scrap starts with nothing ticked, and a serial’s Scrap starts with that serial ticked. Fill in the dialog and click Scrap stock.
- Counted parts: enter the quantity and a reason. At most what the lot has left.
- Serialized parts: tick, type or scan the serials on this shelf, and give one reason. If any serial is refused, none are scrapped.
For example, a work order makes 10 brackets and 1 is scrapped at Weld, so 9 land in the warehouse and the yield is 90%. A forklift later crushes 2. Scrapping them leaves 7 on hand, and the yield stays 90%.
A lot scrapped to nothing before any of it was drawn reads Scrapped on its unit’s record. A partly drawn one reads Consumed.
#Feeder work orders
When you create a work order with Also create work orders for feeders that are short, Threaded also creates work orders for the made parts it’s short of. See The Floor.
A feeder work order fills shared stock, not one order’s private supply. Its output lands in a store like any other, and any order can draw it, oldest lot first. The link means “created with”, and shows on both orders’ pages under Linked orders, as Feeds and Fed by. Which stock an order actually drew shows under Supplied by.
#Archive a work order
- On the work order’s page, open More actions and click Archive work order.
- Enter Why is it archived?, such as “Customer cancelled PO 4471”.
- If the order has unfinished feeder work orders, they’re listed under Feeder work orders, all checked. Checked ones are archived with it. A row warns when its part would be short without it, for example “Flag A would be 12 short. Wanted by wo-130.” Uncheck any you still want made.
- Click Archive.
The order and its unfinished units come off the floor and stop counting toward what’s short. Serials picked for its units are released for other units. Anything it already finished stays in stock. The page shows Archived {date} by {name}.
To archive several at once, select them in Run › Records and click Archive. See Work Orders, Units and Records.
#Restore a work order
Open the archived work order and click More actions › Restore work order. It returns to the floor, and its units can be worked again from where they left off.
- Serials released when it was archived aren’t put back. Pick what goes on each unit again at its station.
- Feeder work orders archived with it stay archived. Restore those from their own pages.
#From the CLI or API
Use threaded api call with these operations. See What Run Exposes.
run_format_units_complete: release a unit from a store, or ship it from a warehouse.run_format_units_scrap_stockandrun_format_scrap_stock_serials: scrap stock, and list the serials on a shelf.run_format_feeder_plan_retrieve: the feeder orders a new work order would need.run_format_work_order_supplied_by_list: the stock an order drew.run_format_work_orders_archive_previewandrun_format_work_orders_archive: archive one order.run_format_work_orders_archive_batch_previewandrun_format_work_orders_archive_batch: archive up to 100.run_format_work_orders_restore: restore an archived order.