# supply

> Reference for the supply tool of Geenius MVP: every action and what it does.

Source: https://mvp.geenius.io/docs/reference/supply/

Supply chain — items, locations from a kiosk to site > warehouse > zone > bin, stock as an immutable ledger, suppliers and purchase orders with receiving, sales orders with reservation, pick, pack.

Call it as the `supply` tool of the Geenius MVP MCP server with `action` and `args`.

## Actions

| Action | What it does |
|---|---|
| `settings` | The workspace's switches: mode (kiosk, shop, warehouse), valuation, negative stock, over-reserving, over-receipt tolerance. |
| `set_settings` | Change the switches. |
| `fields` | The custom fields declared for item, location, supplier or order. |
| `set_fields` | Declare the custom fields of item, location, supplier or order (the whole list). |
| `items` | Items with on hand, reserved and available (low: true keeps what is at or below its reorder point; by_location: true adds the stock per location). |
| `item` | One item: stock per location and its variants. |
| `find` | An item by barcode or SKU (the scanner). |
| `item_add` | Add an item (no sku: numbered ITM-00001...). |
| `item_update` | Change an item (null clears a reorder rule or price; a unit cannot change after stock history). |
| `item_archive` | Hide an item with no stock and no live variants (restore:true brings it back). |
| `locations` | Locations as paths: site > warehouse > zone > bin, or a kiosk. |
| `location_add` | Add a location, a site, warehouse, zone, bin or kiosk (a zone sits in a warehouse, a bin in a zone or warehouse). |
| `location_update` | Rename a location (the paths of what sits in it follow) or change its code. |
| `location_archive` | Archive an empty location without places inside. |
| `stock` | On hand, reserved and available: of one item per location, or everything at a location. |
| `moves` | Read the stock ledger, newest first, optionally by kind of move (receipt, issue, transfer, adjustment, count, return or scrap). |
| `low` | What is at or below its reorder point, with what is on order and a suggested quantity. |
| `value` | The stock value at moving-average cost (when valuation is on). |
| `verify` | Prove the ledger and the stored balances agree (re-sums every move). |
| `receive` | Stock in without an order. |
| `issue` | Stock out (not stock that is promised to an order). |
| `scrap` | Write off damaged, expired or lost stock; reason is needed. |
| `adjust` | A correction: delta signed (+3 found, -2 broken); reason is needed. |
| `transfer` | Move units between two locations (two ledger rows, one group). |
| `reserve` | Promise units of an item to something; refused beyond what is available unless over-reserving is allowed. |
| `release` | Give back what is promised to ref_id. |
| `suppliers` | Suppliers. |
| `supplier` | One supplier with its catalog and open orders. |
| `supplier_add` | Add a supplier, optionally with its catalog. |
| `supplier_update` | Change a supplier. |
| `supplier_archive` | Archive a supplier without open orders. |
| `pos` | Purchase orders (open: true = on their way). |
| `po` | One purchase order with its lines and receipts. |
| `po_add` | Start a draft purchase order for a supplier (cost from the supplier's catalog). |
| `po_update` | Change a draft. |
| `po_send` | Mark the draft sent. |
| `po_receive` | Book a delivery against a purchase order. |
| `po_receipt_undo` | Take a delivery back: its stock is taken out again by further moves (the ledger is never edited) and the order returns to what it was. |
| `po_close` | Close an order that will not arrive in full (reason needed; what never came is recorded). |
| `po_cancel` | Cancel a draft or sent order with nothing received. |
| `po_draft_from_low` | Draft one order per supplier from everything running low (cheapest supplier, rounded up to the minimum; nothing doubled). |
| `orders` | Sales orders. |
| `order` | One order with lines, pick list, shipments and returns. |
| `shipping_file` | The shipping file of a packed order: one CSV row and one label per parcel (recipient, address, parcel i of n, weight, contents). |
| `order_add` | Start a draft order. |
| `order_update` | Change a draft (after confirming, only note, address and custom). |
| `order_confirm` | Reserve the stock for every line, or none (all shortages are named). |
| `pick_list` | Make the pick list from the reservations, in location order. |
| `pick` | Record picking: line_no (or a scanned code) and qty, all to take everything, finish to end the pick (short picks are released). |
| `pack` | Pack what was picked. |
| `ship` | Ship what is packed, or part of it; the stock leaves the ledger here. |
| `order_cancel` | Cancel an order that has not shipped; its reservations are released. |
| `order_return` | Take shipped units back into stock or scrap. |
| `sell` | The counter: sell and hand over in one call (kiosk). |
| `counts` | Stock counts. |
| `count` | One count (a blind count that is open hides the expected figures). |
| `count_start` | Start counting one location (blind: the counter does not see the expected figures). |
| `count_set` | What is really there of one item (0 when none). |
| `count_submit` | Hand the count in: variances are frozen; none = approved at once. |
| `count_approve` | Approve the variances: only now do count moves reach the ledger. |
| `count_reject` | Reject a submitted count; nothing is written. |
| `count_cancel` | Cancel an open count. |
| `sample_add` | Fill an empty workspace with a fictional coffee shop (20 items, a shop floor and a back room, a purchase order and a customer order). |
| `sample_remove` | Remove the sample data and its stock history for good; your own rows stay. |
| `events` | What happened (stock.moved, stock.low, order.received, order.shipped), oldest first after since; pass the last at as since for the next page. |

> [!TIP]
> Ask for the exact arguments of any action with `action: "help", of: "settings"`. The server answers from its own definitions, so that answer is always current.

