UFN_INTERACTION_STATUSCODE_GETDESCRIPTION

Return

Return Type
nvarchar(12)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  3/28/2016 5:44:35 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=4.0.158.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_INTERACTION_STATUSCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(12) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Planned'
        when 1 then 'Pending'
        when 2 then 'Completed'
        when 3 then 'Unsuccessful'
        when 4 then 'Canceled'
        when 5 then 'Declined'    
    end

end