Request access

supply

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

View as Markdown

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#

ActionWhat it does
settingsThe workspace's switches: mode (kiosk, shop, warehouse), valuation, negative stock, over-reserving, over-receipt tolerance.
set_settingsChange the switches.
fieldsThe custom fields declared for item, location, supplier or order.
set_fieldsDeclare the custom fields of item, location, supplier or order (the whole list).
itemsItems 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).
itemOne item: stock per location and its variants.
findAn item by barcode or SKU (the scanner).
item_addAdd an item (no sku: numbered ITM-00001...).
item_updateChange an item (null clears a reorder rule or price; a unit cannot change after stock history).
item_archiveHide an item with no stock and no live variants (restore:true brings it back).
locationsLocations as paths: site > warehouse > zone > bin, or a kiosk.
location_addAdd a location, a site, warehouse, zone, bin or kiosk (a zone sits in a warehouse, a bin in a zone or warehouse).
location_updateRename a location (the paths of what sits in it follow) or change its code.
location_archiveArchive an empty location without places inside.
stockOn hand, reserved and available: of one item per location, or everything at a location.
movesRead the stock ledger, newest first, optionally by kind of move (receipt, issue, transfer, adjustment, count, return or scrap).
lowWhat is at or below its reorder point, with what is on order and a suggested quantity.
valueThe stock value at moving-average cost (when valuation is on).
verifyProve the ledger and the stored balances agree (re-sums every move).
receiveStock in without an order.
issueStock out (not stock that is promised to an order).
scrapWrite off damaged, expired or lost stock; reason is needed.
adjustA correction: delta signed (+3 found, -2 broken); reason is needed.
transferMove units between two locations (two ledger rows, one group).
reservePromise units of an item to something; refused beyond what is available unless over-reserving is allowed.
releaseGive back what is promised to ref_id.
suppliersSuppliers.
supplierOne supplier with its catalog and open orders.
supplier_addAdd a supplier, optionally with its catalog.
supplier_updateChange a supplier.
supplier_archiveArchive a supplier without open orders.
posPurchase orders (open: true = on their way).
poOne purchase order with its lines and receipts.
po_addStart a draft purchase order for a supplier (cost from the supplier's catalog).
po_updateChange a draft.
po_sendMark the draft sent.
po_receiveBook a delivery against a purchase order.
po_receipt_undoTake 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_closeClose an order that will not arrive in full (reason needed; what never came is recorded).
po_cancelCancel a draft or sent order with nothing received.
po_draft_from_lowDraft one order per supplier from everything running low (cheapest supplier, rounded up to the minimum; nothing doubled).
ordersSales orders.
orderOne order with lines, pick list, shipments and returns.
shipping_fileThe shipping file of a packed order: one CSV row and one label per parcel (recipient, address, parcel i of n, weight, contents).
order_addStart a draft order.
order_updateChange a draft (after confirming, only note, address and custom).
order_confirmReserve the stock for every line, or none (all shortages are named).
pick_listMake the pick list from the reservations, in location order.
pickRecord picking: line_no (or a scanned code) and qty, all to take everything, finish to end the pick (short picks are released).
packPack what was picked.
shipShip what is packed, or part of it; the stock leaves the ledger here.
order_cancelCancel an order that has not shipped; its reservations are released.
order_returnTake shipped units back into stock or scrap.
sellThe counter: sell and hand over in one call (kiosk).
countsStock counts.
countOne count (a blind count that is open hides the expected figures).
count_startStart counting one location (blind: the counter does not see the expected figures).
count_setWhat is really there of one item (0 when none).
count_submitHand the count in: variances are frozen; none = approved at once.
count_approveApprove the variances: only now do count moves reach the ledger.
count_rejectReject a submitted count; nothing is written.
count_cancelCancel an open count.
sample_addFill 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_removeRemove the sample data and its stock history for good; your own rows stay.
eventsWhat happened (stock.moved, stock.low, order.received, order.shipped), oldest first after since; pass the last at as since for the next page.