QUERY PLAN
Aggregate (cost=1.22..1.23 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_outbounds t (cost=0.00..1.21 rows=1 width=32)
Filter: (status = 2)