pears.ShiftMatchCustomColumn
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"."ShiftMatchCustomColumn" IS {CREATE FUNCTION 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 }