Drafts
Bills and sales part-way through. Everything typed on the purchase and sale forms is kept here automatically — you do not have to press anything, and closing the tab or losing the laptop does not lose it. A draft is not in the books: it can name a supplier who does not exist yet or a code that resolves to nothing, and nothing here has touched stock or money. Making it a record sends it through the ordinary form, which checks it the same way it checks anything typed fresh. Untouched drafts are dropped after 30 days.
Money in
From a customer. Left without a bill number it settles the oldest open ones first, which is what a payment on account does.
Money out
To a supplier, or an expense.
Recent payments
Pick one to correct its amount, date or cash/bank. The original and its reversal both stay in the ledger and the audit trail — that is what actually happened — but they cancel, so neither shows here or on a statement. You see the payment as it now stands. Tick below for the full trail.
Buys and sells
A party on both sides of the book — Afzal sells us fabric and buys fabric from us. Link his supplier name to his customer name and the two balances become one position: netted on the money lists, and one statement instead of two. Setting off clears what he owes us against what we owe him — no cash moves, so it is a book entry, not a payment.
Correct a line on a bill
Changing the item or its label moves the stock with it and recosts both products — a relabelled line is a different product, not an edited field.
Adjust stock
A typed movement, never an edit of the balance: the balance is worked out from movements, and writing it directly makes the two disagree.
Rebuild costs
Replays every average from movement history. Safe to run: it computes rather than destroys, and rolls back if anything stops balancing.
The catalogue
Sorted by code, so two spellings of one product land next to each other. “Bought” and “sold” are how you tell a duplicate from a real item — and a product with neither can simply be deleted.
Merge two products
Folds one into the other and replays the surviving product's average cost over both histories — which is the only value it could honestly have afterwards. Reversible.
Activity
Newest first. Merges, purges and re-links have their own undo on the System page.
Capital
Posted the moment you submit it — no approval, no waiting. Same ledger and journal as an approved request; the audit log records that it came from here.
Balances
What each partner's capital stands at now.
Did the messages arrive?
Who the system can reach
A WhatsApp number is the login. A message from a number that is not on this list gets no reply at all — deliberately — so a partner who changed SIM sees nothing happen.
Recent messages
Can be undone
Merges and removals, newest first.
Backups
Restoring one is a terminal job — erp restore <name>
with the stack stopped. It replaces the whole server, not just
these books, and it cannot run while the site is up.
How things stand
Rewrites each ledger row's running total from the amounts themselves. It computes rather than destroys — the amounts are never touched — and rolls back if the result stops balancing.
What has happened
Recent purchases
Removing a bill takes it out of every report and total, reverses its stock, and can be undone.
Recent sales
Moving a sale to another customer touches no stock — the goods left either way — so only who owes for them changes.