Farm Module Concepts

This page explains how the Farm module sees a livestock operation: what gets recorded, where the numbers meet accounting, and the working order that keeps the reports correct. Read this before opening any form.

Who This Module Is For

Four Layers of Data

Each layer answers one question. Filling them bottom-up will fight you; the right order is always top-down.

Layer Answers Nature
Animal Type Which metrics apply - eggs, weight, or milk? Master data, rarely changes
House / Coop Where are the animals, and which division carries their cost? Master data, holds every setting
Batch When did the cycle start, and with how many head? One house is used by many batches over time
Daily Record What happened that day? One row per day per batch
Batches have no menu of their own. They are entered from inside the House form, because that is where every setting they inherit lives.

One House Is One Division

This is the decision that shapes the whole module, and once it clicks the rest follows.

Feed: the Schedule Suggests, the Daily Detail Is Booked

A cycle almost never uses a single feed - age phases change, and now and then a stock-out forces another brand.

What you fill in Its role
Feed Schedule by Age, inside the House form Suggests the product when a detail row is added, and limits which feeds that house may use
House default feed product Fallback suggestion when the schedule does not cover that day age
Feed Usage Detail, inside the Daily Record The source of truth. This is what leaves stock and is expensed on posting

Inventory Posting: Where Accounting Meets the Farm

Daily records never touch stock. Inventory Posting does, and the separation is deliberate: daily records are corrected often, and corrections that silently move stock cannot be traced.

From the daily records Becomes Journal
Feed usage detail Stock issue in the house division, one line per product Debit feed expense, credit feed inventory
Eggs or milk Stock receipt in the house division Debit harvest inventory, credit harvest account
Morning + evening deaths Livestock stock issue in the house division Debit mortality expense, credit livestock inventory

What Posting Does NOT Create

This boundary matters, otherwise the same movement is counted twice.

Event Recorded where Why not in posting
Animals in (chicks, pullets, heifers) Ordinary purchase or goods receipt Stock is bought like any other item, with its price and supplier
Animals sold Ordinary sales transaction, its number typed on the daily record The sales invoice already issues the stock and recognises the revenue
Animals moved to another house Inventory transfer between divisions The transfer moves the cost along with the animals
Animals lost Inventory adjustment A different event from mortality, so it does not belong in the same account
A consequence to keep in mind: livestock stock is only correct if the inbound side is booked too. A house that records deaths but never enters its stock purchase will drive livestock stock negative.

Working Through One Cycle

  1. Prepare the masters once: Animal Types, then a Division and Department per house, then the House itself with its feed product, harvest product, livestock product, and accounts.
  2. Buy feed into the warehouse through an ordinary purchase or goods receipt.
  3. Transfer feed from the warehouse to the house division. Its cost moves along, so the feed expense is later valued at what was actually paid.
  4. Bring the animals into the house division through a purchase, then open a new Batch from inside the House form and enter its initial count.
  5. The operator fills the Daily Record every day: deaths, feed with its detail, eggs or milk, weighed weight, and animals added, sold, moved out, or lost.
  6. At the end of the week or the cycle, create an Inventory Posting row for the date range. Check the transaction numbers that appear in its result columns.
  7. Transfer the harvest from the house to the warehouse when it is ready to sell, then sell it through sales or POS like any other item.
  8. Close the cycle by setting its status to Closed, then read Batch Performance and Cost & Margin per Coop.

The Metrics

Metric Meaning Derived from
Population Animals alive on that date Initial count, plus additions and transfers in, minus deaths, sales, transfers out, and losses
Mortality % Share of animals lost since the cycle began Cumulative deaths divided by the initial count
HD % (Hen-Day) Daily laying productivity Eggs that day divided by the population that day
FCR Feed efficiency - lower is better Total feed divided by harvest or weight gain
ADG Average daily weight gain Weight difference divided by the number of days
Every metric is computed when the report runs; none are stored. Fixing one daily row immediately fixes every number derived from it.

Before You Start: Setup Checklist