====== pears.ShiftMatchCustomColumn ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== create function "pears"."ShiftMatchCustomColumn"( in "RecordType" char(2),in "RecordID" char(20),in "ColNo" tinyint ) returns char(100) begin -- RecordType PR=Person Results, WP=Wizard Person, WR=Wizard Results -- RecordID=null means return column heading for RecordType PR, WP, WR or null if custom column not wanted -- RecordID=TempMatchPlanCandidateID for PR, TempMatchCandidateID for WP, tempmatchplanid for WS according to RecordType return null end