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