MODULES / OPERATIONS
Product Purchase History
Review confirmed supplier order prices and quantities from each product record.
Overview
| Module id | ask_purchase_product_history |
|---|---|
| Version | 1.0.0 |
| Who uses it | Anyone who uses the screens listed below. |
| Installed | On demand, from Settings → Modules. Anything it needs is installed with it. |
How it links to other modules
- Needs: Vendor Bills
- Works better with: no other module in particular
- Needed by: no other module
A module that is needed cannot be turned off while the module that needs it is on.
Details
Product Purchase History
Shows a product's recent confirmed purchase order lines with vendor, order date, quantity, unit price, discount and line total. Draft and cancelled orders are excluded. Access follows the company-scoped Purchase module and its existing permissions. The report is read-only and never changes the product's cost or inventory valuation.
The upstream purchase_product_history computes rows by creating history-line records during a field read and exposes global status/limit settings. ASKERP queries the authoritative purchase order tables directly, uses a bounded history window and relies on existing row-level company isolation.