UFN_BANKACCOUNTTRANSACTION_STATUSCODE_GETID

Return

Return Type
tinyint

Parameters

Parameter Parameter Type Mode Description
@Description nvarchar(11) IN

Definition

Copy


        /*
Generated by Blackbaud AppFx Platform
Date:  7/16/2009 11:17:32 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.1.30.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_BANKACCOUNTTRANSACTION_STATUSCODE_GETID(@Description nvarchar(11))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when 'Outstanding' then 1
        when 'Cleared' then 2
        when 'Reconciled' then 3
        when 'Voided' then 4
        else -1
        end 

end