Add store accounts #2
Labels
backend
Issue includes backend elements
development funded
Development funded though client, bounty or donation
enhancement
New feature or request
merged to master
work on this issue has been merged to master
ui
Issue includes UI elements
#Preliminary scope
Backend
Add database for each 'store manager' user. Change stock xfer process to add units to store database, rather than simply delete from warehouse database (as currently the case). Add a 'stocktake' process to calculate a report, as detailed below.
Database schema
Duplication of warehouse database schema, with exception of:
Report generation
Recorded data
Processed data
Values for each line
a) Differential for all sales & loss (opening_stock - closing_stock)
b) Xfer price value for all units lost or sold ((opening_stock - closing_stock) * xfer_price)
c) Selling price value for all units lost or sold ((opening_stock - closing_stock) * selling_price)
d) Differential between total xfer price & total selling price, for a line ( (c) - (b) ) *See note (1)
Values for total store
e) Total xfer price value of all stock lines sold or lost since last stocktake process (Σ(b))
f) Total selling price value of all stock lines sold or lost since last stocktake process (Σ(c))
g) Total differential for all stock lines, between xfer price & selling price (Σ(d)) *See note (1)
Database maintenance processes
UI
Build a dedicated UI for store databases, to allow store managers to:
Notes
The text was updated successfully, but these errors were encountered: