mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-07 21:04:00 +02:00
USAGE: A few new scenarios for Administrative Usage
This commit is contained in:
parent
e3a4fe880d
commit
0c349f6c6a
1 changed files with 20 additions and 6 deletions
|
@ -68,12 +68,26 @@ Administrative Usage
|
||||||
account (and so will typing "joehacker" on a physical keyboard).
|
account (and so will typing "joehacker" on a physical keyboard).
|
||||||
|
|
||||||
* If your inventory stock count or cash box amount does not match
|
* If your inventory stock count or cash box amount does not match
|
||||||
the in-system data, you will need to make a corrective transaction.
|
the in-system data, you will need to make a corrective transaction.
|
||||||
In the future, brmbar-cli.py will support this, but there is no
|
To fix cash amount to reality in which you counted 1234Kč, use
|
||||||
implementation yet; it's not entirely clear yet what is the proper
|
|
||||||
way to do this from the accounting standpoint. In the meantime, you
|
./brmbar-cli.py fixcash 1234
|
||||||
can use SQL INSERTs to manually create a transaction with appropriate
|
|
||||||
transaction splits (see doc/architecture for details on splits).
|
whereas to fix amount of a particular stock, use
|
||||||
|
|
||||||
|
./brmbar-cli.py inventory-interactive
|
||||||
|
|
||||||
|
then scan the item barcode and then enter the right amount.
|
||||||
|
|
||||||
|
* If you want to view recent transactions, run
|
||||||
|
|
||||||
|
psql brmbar
|
||||||
|
select * from transaction_cashsums;
|
||||||
|
|
||||||
|
* If you want to undo a transaction, get its id (using the select above)
|
||||||
|
and run
|
||||||
|
|
||||||
|
./brmbar-cli.py undo ID
|
||||||
|
|
||||||
|
|
||||||
Useful SQL queries
|
Useful SQL queries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue