Skip to content

Packs / business-ops-public

purchase-orders-from-reorder-points

create purchase orders per supplier for every item at or below its reorder point

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-business-ops-public

Install

logicpacks pack use business-ops-public/purchase-orders-from-reorder-points
get_pack business-ops-public/purchase-orders-from-reorder-points

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 1 in outcome/checks.yaml
  • Code: reorder.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Create purchase orders per supplier for every item at or below its reorder point.

Steps

  1. Export stock levels with reorder point, order-up-to level, supplier and cost.
  2. Run the script.
  3. Send POs after checking open orders already in transit.

Edge cases

  • Items already on order: subtract open PO quantities from the order.
  • Minimum order quantities and pack sizes round the quantity up.

Don'ts

  • Don't auto-send POs without a human approval step.

Routes (free first)

  1. python-stdlib: code/reorder.py (no install).