====== pears.NotificationStaffID ====== 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"."NotificationStaffID" IS {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 }