UFN_RESERVATION_SECURITYDEPOSITSTATUSCODE_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_RESERVATION_SECURITYDEPOSITSTATUSCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(18) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Not paid'
        when 1 then 'Paid'
        when 2 then 'Refunded'
        when 3 then 'Withheld'
        when 4 then 'Partially refunded'    
    end

end