Working with sales | simpleERP
One pair of tables holds every unposted sales document, told apart by its type. Posted documents move to their own tables and can never be edited again — whic
One pair of tables holds every unposted sales document, told apart by its type. Posted documents move to their own tables and can never be edited again — which is the whole point of posting.


The customer card
Everything a customer does financially is decided on this card before a single document is typed. When an invoice posts to the wrong account, the card is where you look — not the invoice.
Selling
A line can be an item, a G/L account, a fixed asset or an item charge. That single choice decides everything downstream: an item line moves stock and cost, a G/L line moves only the account you name. It is how a service is invoiced without inventing a stock item for it.
Corrections
A credit memo and a return are not the same thing. A credit memo adjusts money; a return also brings the goods back into stock at their original cost. Choosing the wrong one leaves either the ledger or the warehouse wrong.
After posting
What the customer owes
The ledger shows the balance; the detailed ledger shows how it got there. When a client disputes an ageing, the answer is always in the detailed entries.