UFN_BATCHREVENUESPLIT_APPLICATIONCODE_GETDESCRIPTION

Return

Return Type
nvarchar(18)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  8/2/2010 7:06:25 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_BATCHREVENUESPLIT_APPLICATIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(18) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Donation'
        when 1 then 'Event registration'
        when 2 then 'Pledge'
        when 3 then 'Recurring gift'
        when 4 then 'Other'
        when 5 then 'Membership'
        when 6 then 'Planned gift'
        when 7 then 'Matching gift'
        when 8 then 'Grant'
        when 13 then 'Donor challenge'    
    end

end