database:functions:pears_invoicefilenameinzip



pears.InvoiceFilenameInZip

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

CREATE FUNCTION "pears"."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
  • database/functions/pears_invoicefilenameinzip.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1