Blende technische INIT-Chargen aus Historie aus
This commit is contained in:
1 parent
43cb4b9885
commit
60e94c7560
1 file changed
+1
@@ -161,6 +161,7 @@ function get_lager_product_overview(PDO $pdo): array
|
||||
LEFT JOIN v_stock_lot_balance v ON v.stock_lot_id = sl.id
|
||||
LEFT JOIN stock_move sm ON sm.lot_id = sl.id
|
||||
WHERE sl.status = 'closed'
|
||||
AND sl.lot_number NOT LIKE 'INIT-%'
|
||||
GROUP BY sl.product_id, sl.id, sl.lot_number, sl.mfg_date, sl.expiry_date,
|
||||
sl.purchase_date, sl.manufacturer_lot_number, mp.name,
|
||||
v.qty_in, v.qty_out, v.qty_net
|
||||
|
||||
Reference in new issue
Block a user