runwaystock

v0.2.0
io.github.GillMacedo/runwaystock Checked 2 hours ago Published 1 month ago

Find what to reorder, stockout dates and dead stock from sales and stock CSVs, on your machine.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

inventory_check Check stock and reorder points

Works out what to reorder and how much from a sales CSV and a stock CSV, with reorder points, safety stock, stockout dates and dead stock. Use for inventory planning, purchase orders, or finding slow-moving stock. Read-only, and never uses the network. Results include SKUs and quantities from the files, so they reach the model. It can't place orders.

ParameterTypeDescription
sales_path *stringPath to the sales or orders CSV
stock_path *stringPath to the stock count CSV
cover_daysnull | numberDays of sales each order should cover, default 30
date_formatstringdmy or mdy, needed only if the tool reports that dates are ambiguous
lead_daysnull | numberDays from ordering to receiving, default 14. A lead time in the stock file overrides it
limitnull | integerMost SKUs to return, most urgent first, default 100. 0 returns only the totals
sales_columnsobjectColumn names by field (date, sku, qty), when detection fails
service_levelnull | integerChance of not running out during lead time: 90, 95 or 99, default 95
stock_columnsobjectColumn names by field (sku, qty, lead, cost, moq), when detection fails
window_daysnull | integerDays of recent sales to use, default 90

inventory_inspect_csv Inspect a sales or stock CSV

Shows which columns runwaystock detects in a CSV and how many rows it can read, without returning row contents. Use if a file is unfamiliar or a check failed.

ParameterTypeDescription
kind *stringsales or stock
path *stringPath to the CSV