UFN_PEOPLEFINDER_UPDATELASTNAMECODE_GETID

Return

Return Type
tinyint

Parameters

Parameter Parameter Type Mode Description
@Description nvarchar(85) IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  4/29/2010 7:19:26 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.6.1444.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_PEOPLEFINDER_UPDATELASTNAMECODE_GETID(@Description nvarchar(85))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when 'Add the last name as an alias' then 0
        when 'Replace the last name currently on the constituent record with the returned last name' then 1
        when 'Do nothing. I do not want to process last names returned by PeopleFinder' then 2
        else -1
        end 

end