Refactor vendor mappings to canonical PN catalog
This commit is contained in:
@@ -38,7 +38,7 @@ PriceForge supports three pricelist types (`source` field):
|
||||
|
||||
**Rules (CRITICAL)**:
|
||||
|
||||
1. **Only mapped partnumbers** — only positions with a record in `lot_partnumbers` are included. Unmapped partnumbers must not appear in any form.
|
||||
1. **Only mapped partnumbers** — only positions with a record in `qt_partnumber_book_items` are included. Unmapped partnumbers must not appear in any form.
|
||||
2. **No pricing settings** — do not load from `lot_metadata`: no `price_period_days`, `price_coefficient`, `manual_price`, `meta_prices`.
|
||||
3. **Price method**: always `weighted_avg` (quantity-weighted average).
|
||||
4. Field `price_method` always contains `"weighted_avg"`.
|
||||
|
||||
Reference in New Issue
Block a user