====== pears.InvoiceCustomColumn ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create function "pears"."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