Document legacy BOM tables
This commit is contained in:
@@ -113,6 +113,17 @@ Database: `RFQ_LOG`
|
|||||||
| `qt_partnumber_book_items` | PN→LOT mapping rows (written by PriceForge) | SELECT |
|
| `qt_partnumber_book_items` | PN→LOT mapping rows (written by PriceForge) | SELECT |
|
||||||
| `qt_vendor_partnumber_seen` | Vendor PN tracking for unresolved/ignored BOM rows (`is_ignored`) | INSERT only for new `partnumber`; existing rows must not be modified |
|
| `qt_vendor_partnumber_seen` | Vendor PN tracking for unresolved/ignored BOM rows (`is_ignored`) | INSERT only for new `partnumber`; existing rows must not be modified |
|
||||||
|
|
||||||
|
Legacy server tables not used by QuoteForge runtime anymore:
|
||||||
|
|
||||||
|
- `qt_bom`
|
||||||
|
- `qt_lot_bundles`
|
||||||
|
- `qt_lot_bundle_items`
|
||||||
|
|
||||||
|
QuoteForge canonical BOM storage is:
|
||||||
|
|
||||||
|
- `qt_configurations.vendor_spec`
|
||||||
|
- row-level PN -> multiple LOT decomposition in `vendor_spec[].lot_mappings[]`
|
||||||
|
|
||||||
`qt_client_schema_state` current contract:
|
`qt_client_schema_state` current contract:
|
||||||
|
|
||||||
- identity key: `username + hostname`
|
- identity key: `username + hostname`
|
||||||
|
|||||||
@@ -18,6 +18,14 @@ The vendor spec feature allows importing a vendor BOM (Bill of Materials) into a
|
|||||||
`vendor_spec` is a JSON array of `VendorSpecItem` objects stored inside the configuration row.
|
`vendor_spec` is a JSON array of `VendorSpecItem` objects stored inside the configuration row.
|
||||||
It syncs to MariaDB `qt_configurations.vendor_spec` via the existing pending_changes mechanism.
|
It syncs to MariaDB `qt_configurations.vendor_spec` via the existing pending_changes mechanism.
|
||||||
|
|
||||||
|
Legacy storage note:
|
||||||
|
|
||||||
|
- QuoteForge does not use `qt_bom`
|
||||||
|
- QuoteForge does not use `qt_lot_bundles`
|
||||||
|
- QuoteForge does not use `qt_lot_bundle_items`
|
||||||
|
|
||||||
|
The only canonical persisted BOM contract for QuoteForge is `qt_configurations.vendor_spec`.
|
||||||
|
|
||||||
### `vendor_spec` JSON Schema
|
### `vendor_spec` JSON Schema
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|||||||
Reference in New Issue
Block a user