UFN_RECURRINGGIFTINSTALLMENT_STATUSCODE_GETDESCRIPTION

Return

Return Type
nvarchar(9)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/11/2014 4:27:25 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=4.0.2.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_RECURRINGGIFTINSTALLMENT_STATUSCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(9) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then 'Expected'
        when 1 then 'Past due'
        when 2 then 'Paid'
        when 3 then 'Skipped'
        when 4 then 'Write-off'    
    end

end