====== pears.InvoiceCustomColumn ====== 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"."InvoiceCustomColumn" IS {create function InvoiceCustomColumn (in RecordType char(2),in RecordID char(20), in ColNo TinyInt) returns char(100) begin -- RecordType T=Timesheets, I=Invoice -- RecordID=null means return column heading for RecordType T or I or null if custom column not wanted -- RecordID=Temptimesheetid for T, DocumentID for I according to RecordType return null end }