| Aggregate (cost=8.31..8.32 rows=1 width=8) |
| -> Index Scan using tbl_purchase_contracts_pkey on tbl_purchase_contracts (cost=0.28..8.31 rows=1 width=0) |
| Index Cond: (id = 4203) |
| Filter: ((cost_type = 2) AND (supplier_id = 734) AND ((amount - erp_all_settle_amount) > '0'::numeric)) |