|
|
|
@ -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
|
|
|
|
|