====== pears.InvoiceFilenameInZip ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."InvoiceFilenameInZip" IS {create function InvoiceFilenameInZip (in docid char(20)) returns long varchar begin declare rv long varchar; select string('Invoice_',ourref) into rv from iqacdocument where documentid = docid; return(rv) end }