Add some more "handler" docs
app handler, batch handlers, native batch types, people handler
This commit is contained in:
parent
0726a70192
commit
84477e5e36
30 changed files with 397 additions and 29 deletions
27
docs/data/batch/native/purchase.rst
Normal file
27
docs/data/batch/native/purchase.rst
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
Purchase Batch
|
||||
==============
|
||||
|
||||
**Batch Type Key:** ``purchase``
|
||||
|
||||
**Purpose:** Provides workflows for ordering, receiving, and invoice costing.
|
||||
|
||||
**Default Handler:** :class:`~rattail:rattail.batch.purchase.PurchaseBatchHandler`
|
||||
|
||||
There are 3 "modes" for this type of batch, meant to correspond to the
|
||||
life-cycle of a purchase order:
|
||||
|
||||
- Ordering
|
||||
- Receiving
|
||||
- Costing
|
||||
|
||||
Depending on the mode, data for the batch may come from any of:
|
||||
|
||||
- PO file or invoice file from the vendor
|
||||
- purchase order data from the POS system
|
||||
- directly entered via the Rattail app
|
||||
|
||||
Execution of this type of batch will also depend on the mode. The
|
||||
default handler may just update Rattail data (e.g. ``purchase`` table)
|
||||
according to the batch. If applicable, you may want a custom handler
|
||||
so it updates your POS instead.
|
||||
Loading…
Add table
Add a link
Reference in a new issue