Cizz22 3 months ago
parent 5554ed11b7
commit 27a0e7e864

@ -176,7 +176,7 @@ async def get_all(
fwo.asset_location AS location_tag, fwo.asset_location AS location_tag,
ft.itemnum, ft.itemnum,
spl.description AS sparepart_name, spl.description AS sparepart_name,
COALESCE(SUM(ft.itemqty), 0) AS parts_consumed_in_oh, COALESCE(AVG(ft.itemqty), 0) AS parts_consumed_in_oh,
COALESCE(AVG(ft.inv_avgcost), 0) AS avgcost, COALESCE(AVG(ft.inv_avgcost), 0) AS avgcost,
COALESCE(AVG(ft.inv_curbaltotal), 0) AS inv_curbaltotal COALESCE(AVG(ft.inv_curbaltotal), 0) AS inv_curbaltotal
FROM filtered_wo fwo FROM filtered_wo fwo

Loading…
Cancel
Save