UFN_ACCOUNTCODE_SUBCATEGORYCODE_GETDESCRIPTION

Return

Return Type
nvarchar(8)

Parameters

Parameter Parameter Type Mode Description
@ID tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/30/2010 11:16:30 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_ACCOUNTCODE_SUBCATEGORYCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(8) WITH EXECUTE AS CALLER
AS
begin

    return case @ID
        when 0 then ''
        when 1 then 'Gain'
        when 2 then 'Gift'
        when 3 then 'Loss'
        when 4 then 'Transfer'    
    end

end