# Lots Management

Statut: `migration partielle`

## BR-PT-LOTMGT-001 - Separations matching, side et shipping status

Source: `BR-PT-023` et notes `2026-05-09`

### Regle consultant

Le rapport Lots Management doit permettre de lire separement le matching
commercial, le sens achat/vente et l'avancement logistique.

### Notes developpeur

- Filtres: `Matching status`, `Side`, `Shipping status`, `Dimension`,
  `Strategy`.
- Dates `As of` / `To`: `purchase.purchase_date` et `sale.sale_date`.
- `Unshipped`: aucun `shipment_in`.
- `Scheduled`: shipment `draft`.
- `Shipped`: shipment `started`.
- `Received`: shipment `received` ou `done`.
- `Shipment Type = Dropship` si `from_location.type = supplier` et
  `to_location.type = customer`, sinon `Inbound`.
- `Mark as finished` masque seulement les reliquats ouverts / virtuels, pas
  les lots physiques.

