261: BEGIN
262: SELECT 'Y'
263: INTO l_clm_document
264: FROM po_headers_all h,
265: po_doc_style_headers pdsh,
266: po_distributions_all pd
267: WHERE h.style_id = pdsh.style_id
268: AND h.po_header_id = pd.po_header_id
269: AND pd.po_distribution_id = l_delete_list(1)