The stock ledger
What the holding keeps in its stores, how every bag, dose and eggitem comes in and goes out, and how a count proves the record. For storekeepers and workers on the phone, the manager who explains the differences, and the Board that reads the Stock tab.
- Where
- Phone: Store. Console: Stock tab
- Records
- Quantities only. Prices come from Money.
- Write off or find
- Manager onlyThe Board only, from the console
- Month end
- Every store counted, every count matching
How the ledger works
Every movement in or out of a store is one signed line on the record: a delivery in, a feed out, a tray of eggs in, a sale outmaterials issued to a stage outa drug dispensed at a visit outa sale on credit out. What a store holds of an item is the sum of its lines. Nothing is ever edited: a mistake or a loss is put right by a new line.
- The phones record quantities. What a delivery cost comes from its invoice, in the console's Money tab.
- Nothing can be taken from a store that the record says it does not hold. A delivery is recorded before what it brought is used.
- A count of the shelves, made without looking at the record, is set beside the record. A difference stays on the manager's list until it is explained.
- Stock is a module the Board turns on in Settings (
farmbuilding.features). Without it, the phone has no Store section and the console no Stock tab.
Setting up, in order
- In the console's HerdBuildingClinicShop tab, under Places, add each store as a Store (press Add a place), with the code painted on its door.
- On the Stock tab, press Add an item for each item the holding stocks (see below).
- On the first day, the storekeeper records the Opening stock on a phone, item by item.
Items and stores
Stores
A store is a place of kind Store, added by the manager or the Board in the console's HerdBuildingClinicShop tab, under Places, with the code painted on its door. A phone never creates a store: a mistyped store code is refused. A retired store takes nothing more. Until a holding has a store, the Stock tab says so.
Adding an item
Under What the farmbuilding projectclinicshop stocks on the Stock tab, the list of items is shown as it stands, with no form on show. The manager or the Board presses Add an item and the form opens in place. Cancel closes it without adding anything.
- Type the Name. Two items cannot share a name.
- Choose the Kind and the Unit.
- Fill in the extra details the kind asks for (table below): kg per bag, litre or piece; the withdrawal days; or the days before harvest.
- Press Add the item. The form closes and the item joins the list.
| Kind | Extra details | How it leaves the store |
|---|---|---|
| Feed | Feeding, or the daily sheet's feed | |
| Vaccine | Meat withdrawal (days), Egg withdrawal (days) | A treatment, from the store |
| Medicine | Meat withdrawal (days), Egg withdrawal (days) | A treatment, from the store |
| Fertiliser | Field work on a block | |
| Agrochemical (spray) | Days after spraying before harvest, from the label | Field work on a block |
| Seed or planting material | Field work on a block | |
| Other (supplies: bedding, disinfectant, fuel) | Use from the store on the phone, to any place of the farm. A cost of the animals there, never feed | |
| Building material | Issue material on the phone, to a stage (see Building) | |
| Medicine, Vaccine, Other | Dispensed at a visit, on the clinic's phone (see Clinic) | |
| Goods for sale, and any other kind the shop sells | Sold on credit on the phone, or worked out as sold for cash at the Counter's count (see Shop) |
| Unit | Notes |
|---|---|
| kg | Weighed |
| bags | Says how many kg a bag holds (kg per bag), so feed can be weighed |
| litres | Feed says what a litre weighs (kg per litre), so it is weighed with the rest of the feed; anything else mayMay say what a litre weighs (kg per litre) |
| doses | Counted, not weighed |
| pieces | Feed says what a piece weighs (kg per piece), as a mineral lick; anything else mayMay say what a piece weighs (kg per piece) |
| tonnes, metres, square metres, cubic metres | A building project's only: steel by weight or length, sand and aggregate by the cubic metre |
- Only a vaccine or medicine has withdrawal periods. Only a spray has a pre-harvest interval.
- Once an item has been in stock, its kind and unit stay as they are. Its name can be corrected with Rename beside it in What the farmbuilding projectclinicshop stocks. Produce is named by its species and has no Rename.
- The farm's own produce (eggs by grade, a harvest by grade, seedlings, palm oil) is never added by hand. It becomes an item the first time it goes into a store.
- The form offers only the kinds that fit what the farm keeps: animal items for animals, crop items for crops.
- The form offers only the kinds that fit the sector: Building material and OtherMedicine, Vaccine and OtherGoods for sale first, then every other kind, for an agro-dealer or a hardware shop.
What puts stock in
| Record | Where | What goes in |
|---|---|---|
| Delivery | Phone, Store | A delivery as counted at the gate: Store, Item, How many, Supplier (as on the delivery note, required), Batch number and Expiry date (optional). Count before signing the note. |
| Opening stock | Phone, Store | What is already on the shelves on the day the holding starts on the platform. No supplier. Offered only until the first month closes. |
| Daily sheet | Phone | A laying flock's eggs, grade by grade, into the store. With several stores, choose Store for today's eggs. |
| Harvest | Phone, Crops | A block's harvest by grade, weighed or counted, into a store. |
| Processing | Phone, Store | What a run made: palm oil from bunches, dry cocoa from wet beans. Needs the processing module. |
| Loss or find, reason Found | Phone, Store, manager only | Stock that turned up, more than the record. |
| The Board's write-off, reason Found | Console, the Board only | Stock that turned up, more than the record. |
Eggs from a flock inside an egg withdrawal are counted on the daily sheet but never go into the store, so they can never be sold by mistake. A harvest inside a spray's pre-harvest interval is the same: "it is recorded, not stocked".
What takes stock out
| Record | Where | What comes out |
|---|---|---|
| Feeding | Phone, Store | Bought feed, or the farm's own fodder, to a Pen or house on a day. |
| Daily sheet, Feed | Phone | The feed a poultry house was given today, from the store. |
| Treatment, From the store | Phone | A vaccine or medicine dose given to an animal or flock. It starts the withdrawal periods. |
| Field work, From the store | Phone, Crops | Fertiliser, spray or seed given to a block. A spray starts its pre-harvest interval. |
| Sell (eggs, grain...) | Phone, Store, manager only | Produce to a customer, grade by grade, under the Board's approval of that sale. |
| Processing | Phone, Store | What went into the run, grade by grade, in kg. |
| Planting, from the nursery | Phone, Crops | Seedlings from the farm's own nursery bed (Seedlings from our nursery). |
| Issue material | Phone | Building material taken from the store for a stage's work (see Building). |
| A visit | Phone | Each drug dispensed, named to the visit (see Clinic). |
| A credit sale | Phone | Goods sold on credit to a known customer (see Shop). |
| The Counter's count | The Counter's phone | What the count finds missing, settled as sold for cash since the last count. |
| Loss or find | Phone, Store, manager only | Spoiled, expired, stolen, eaten by pests, spilled or torn, broken, or missing with no known cause. |
| The Board's write-off | Console, the Board only | Stock written off, with its reason. |
- A vaccine or medicine is never recorded as feeding. It goes on the treatment, so its withdrawal period follows the animal. Fertiliser, spray and seed go on field work, so the block carries its cost.
- Of the farm's own produce, only fodder is fed.
- Feed goes to a place in use: a pen or house, never a store.
Never more than the store holds
Every screen that takes from a store checks twice.
- On the phone, before saving. The phone works out what each store holds from its last sync plus the records it has not sent yet. If you ask for more, it stops you: "STORE-1 holds 12 of Layer mashCementParacetamolSugar by the record. Record the delivery first, or ask the manager to count the store."
- On the server, when the record arrives. Another phone may have used the same stock first. If the store does not hold that much by then, the record is refused and appears under Not accepted on the phone: "The store does not hold that much. Record the delivery first, or ask the manager to record a loss or find."
A refused record is not lost work: record the missing fact (usually the delivery), then record the refused one again, and press Understood.
A record dated back (feeding or a usematerial issueda drug dispenseda credit sale recorded for last Tuesday) must fit what the store held on that day and on every day since: a delivery that came on Thursday does not cover a draw dated Tuesday.
What the stock is worth
The Stock tab shows Stock at cost: every store's items at the average cost of their priced deliveries, the farm's own fodder and seedlings at what growing them cost. Each item shows its value under its quantity. An item whose delivery is not yet priced is counted but not valued, and the tab says how many ("... items not yet priced"). The investor pack carries the stock at cost and the equipment's value now.
Moving stock between stores
Feed carried from the main store to a house's store, eggs taken to the shop: on the phone, Store > Move between stores (shown when the farm has two stores or more).
- Choose From the store and To the store, the item, and how much, in its unit.
- Press Save. One record takes it out of the first store and puts it into the second: "8 bags of Layer mash moved from S1 to S2."
- No more can be moved than the first store holds by the record. The two stores must be different.
- Anyone who records stock may move it. Never record a move as a loss in one store and a find in the other: that would bury a real loss among them.
- The console's Stock tab shows each store's month with what was carried in and carried out.
- A move after a store's month-end count does not undo the count.
Loss or find
Nobody writes stock off or in from a phone: the Board does it from the console, with its reason (see ClinicShop).
When stock leaves a store other than by use, or turns up, the manager records it on the phone: Store > Loss or find. Only a manager sees the button, and the server refuses it from anyone else. It is a decision about the record, not a worker's account of what happened.
- Choose the Store and the Item. The screen shows "The store holds 18 bags by the record."
- Choose Why.
- Enter the quantity and What happened (optional). Press Save.
| Why | Effect |
|---|---|
| Spoiled, Expired, Stolen, Eaten by pests, Spilled or torn, Broken, Missing, cause unknown | Takes the quantity out. Never more than the store holds. |
| Found (more than the record) | Adds the quantity. |
With the governance pack on, a loss to theft or for no known reason waits for the Board's approval, and so does any other loss worth governance.stock_writeoff_threshold or more at the item's average cost (losses of one item in the last 24 hours add up, by when the server received them). The phone offers Ask the Board; a break-glass never covers a stock loss.
Counting a store
In the last days of the month, count each store on the phone: Store > Count a store. Count what is on the shelves, item by item, without looking at the record first.
Only the Counter counts, on their own phone; nobody who dispensessells counts (see Counter).
- Leave an item empty if you did not count it. Enter 0 for an item that is not there.
- Eggs are counted as they are packed: Full (tray of 30) and Loose.
- While last month is still open, the screen offers Month: last month first during the first ten days, this month after that. A count made on the 1st can still close the month that just ended.
When a count does not match
A count matches when it equals what the record held at the moment of the count, plus any loss or find recorded since. It is judged by when things happened, not when they reached the office: stock taken after the count does not spoil it, so the morning's work never forces a recount, and stock taken before the count but synced after it is counted with it (the count is checked again when it arrives).
If it does not match, Store count does not match appears for the manager: "STORE-1, Layer mashCementParacetamolSugar: counted 16 bags, the record says 18". It clears itself when:
- the manager records the Loss or find that explains it (here, 2 bags spilled or torn), or
- the Board writes the difference off or in, with its reason, or
- a new count matches.
Nobody closes it by hand. Left open for 24 hours, it goes to the Board.
On a shop, what a count finds missing is settled as sold for cash (see Shop): only more on a shelf than the record says stands as a difference.
The month closes only when every store that held stock at the month's end has been counted, item by item, and every count matches. An item left uncounted that the record says was there stops the close.
Withdrawal periods and pre-harvest intervals
The days come from the item, as the manager entered them from the label or the vet. They start on the day of the treatment or the field work. If a second dose ends later, the later date wins.
| Period | Started by | What it stops |
|---|---|---|
| Meat withdrawal | A vaccine or medicine given from the store | Selling that animal or flock before the day it ends. The sale is refused: "it may be sold from that day". |
| Egg withdrawal | A vaccine or medicine given from the store | The flock's eggs going into the store. The daily sheet warns: "Eggs may be sold again from ...". |
| Pre-harvest interval | A spray given to a block on field work | The block's harvest going into the store. Field work shows "Sprayed: harvest from ...". |
A treatment recorded as Not from the farm's store takes nothing from the store and starts no withdrawal on the record.
Reading the console's Stock tab
The Stock tab shows each store with a table, one row per item.
| Column | What it shows |
|---|---|
| Item | The item, or the produce and its grade |
| By the record | What the store holds now by the ledger. Eggs are shown in trays and loose eggs. |
| This month | "+40 in · 30 used · 0 sold · -2 lost or found": the month so far |
| Counted in (month) | This month's latest count. In red when it does not match, with "record: ..." beside it. |
- Processing lists each run: what went in, what came out, and the extraction beside what is typical for the product.
- Deliveries lists the latest 100 lots: date, item, store, quantity, supplier (or "opening stock"), batch and expiry.
- What the farmbuilding projectclinicshop stocks lists the items with their kind, unit, and withdrawal days ("meat 7 d · eggs 3 d") or, for a spray, its pre-harvest interval ("harvest 14 days after spraying") and unit. Rename corrects a name. Add an item, below the list, opens the form to add one.
- To give a delivery its cost, record its invoice in Money and link the line to the delivery.