====== pears.NotificationStaffID ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== create function "pears"."NotificationStaffID"( in "pTemplateID" char(50),in "pRecipientType" char(20),in "pPersonID" char(20),in "pVacancyID" char(20),in "pCompanyID" char(20),in "pDivisionID" char(20) ) returns char(20) begin -- Return a StaffID for the sender. If no value returned will use userstaffid end