<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:500
max_cache:100
cache_time:60
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params></params>
SELECT
	*
FROM
	catalog
WHERE
portal_type = "Piece Tissu"
<dtml-in PieceTissu_searchConsumedList>AND uid <> <dtml-sqlvar uid type="int"> 
</dtml-in>