Purchasing normally rounds a need up to whole packs and then up to the supplier's minimum order. For some suppliers that is the wrong default: a need for 150 bolts should not quietly become an order for 500. The starter rule Hold a supplier's orders below its minimum adds one rule that holds such a line for a person to decide.
Use the starter rule
You need the Author role and a draft release. The rule is added to the draft: orders keep following the live release until a Reviewer makes a new one live.
- Open Releases and open your draft. If you have none, open the live release and choose Copy to a new draft.
- Choose Edit rules and examples. On a draft the page opens on Starter rules.
- Find Hold a supplier's orders below its minimum. It is in Recommended and in Packs and minimums; you can also type a word from its title in Search starter rules and Help.
- Fill in the blanks in the card's sentence, "Do not top up … orders to the minimum; hold them for us to decide.":
- Supplier: one of this draft's suppliers that is not retired, shown by name with its code. The rule tests the supplier's code, so renaming the supplier later does not break it.
- Choose Use this rule. The button waits until every blank has a value.
Purchasing adds one rule and its examples to the draft and says so above the cards. The page moves to the rule's family, where the rule now reads Began from the starter rule with the starter rule's name and version. No AI is asked, and nothing is frozen, approved, sent or made live.
What the rule does
The rule belongs to the decision how a quantity is rounded. It applies to every line for the supplier you chose. Where the need, rounded up to whole packs, already meets the supplier's minimum, the line is ordered as usual. Where it falls below the minimum, the line is held in the queue as below the minimum and is not topped up.
A person then decides: wait for more need, or order below the minimum with a recorded reason where the supplier allows it. The rule never changes a quantity by itself.
The rule is placed after the conditional rules the family already has and before its default. The first rule that applies to an order wins, so a rule you already have still wins where both apply. Change the Precedence of either rule by hand if you want the other order.
Check the examples
The starter rule saves 3 examples with the rule, written for the values you chose. Find them under Saved examples, in the rule's family:
- A need that rounds to fewer packs than the supplier's minimum is held for a person to decide.
- A need that already meets the minimum is rounded to whole packs as usual.
- Another supplier's line below its minimum keeps the treatment your release already gives it.
An example the rule does not apply to expects whatever your draft already decided for that case, so it names one of your own rules or the default. Read each example and edit any whose facts do not suit your site. The first two examples are worked for a supplier with packs of 100 and a five-pack minimum. The figures are examples of the facts a line has; what the rule tests is the supplier.
Each example names your draft's own suppliers and items, as the card's blanks do. Where the draft lacks one an example needs, such as a second supplier, the card says so in its description and that example is not saved.
Release it
Return to the release with Catalogue release and choose Run examples and freeze. Every saved example of the release is run, the starter rule's among them. A failure names what disagreed: decide whether the rule or the example is wrong before changing either. Then hand the frozen release to a Reviewer. Rules and releases describes the review; a rule from a starter rule is reviewed like any other, and its author cannot make the release live unless the Owner has allowed self-review.
If the card is refused
- This starter rule has changed since the page was opened. Purchasing has a newer version of the starter rule. Reload the page and fill the card in again.
- This release changed while you were working. Someone saved the draft after you opened the page. Reload it.
- If no answer comes back, choose Check original action before using the card again. See unconfirmed actions.
To remove the rule later, remove its examples under Saved examples first, then choose Remove rule. Nothing about a starter rule makes its rule permanent.