QUERY PLAN
Update on tbl_erp_inventory_products (cost=0.00..15.46 rows=1 width=219)
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..15.46 rows=1 width=219)
Filter: ((erp_purchase_inbound_product_id <> ALL ('{407,406}'::integer[])) AND (erp_purchase_inbound_id = 197))