UFN_STEWARDSHIPPLANSTEP_STATUSCODE_GETDESCRIPTION

Return

Return Type
nvarchar(9)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  2/1/2011 8:58:26 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.9.1001.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_STEWARDSHIPPLANSTEP_STATUSCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(9) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Pending'
        when 1 then 'Completed'
        when 2 then 'Cancelled'
        when 3 then 'Declined'    
    end

end