====== pears.NotificationRecipients ======
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"."NotificationRecipients" IS
{create function pears."NotificationRecipients"(in pTransportType char(20), 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(255)
begin
-- pTransportType is EMAIL or SMS
-- pRecipientType is CANDIDATE, CLIENT or AGENCY
-- Return comma separated list of email addresses or phone number
-- If no value returned will use normal contact details for the recipient
-- If returned value starts with + it will be appended to default recipients, otherwise it will replace them
end
}