UFN_BANKACCOUNTTRANSACTION_REVERSALPOSTSTATUSCODE_GETID

Return

Return Type
tinyint

Parameters

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

Definition

Copy


        /*
Generated by Blackbaud AppFx Platform
Date:  4/13/2010 1:31:18 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.7.237.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_BANKACCOUNTTRANSACTION_REVERSALPOSTSTATUSCODE_GETID(@Description nvarchar(10))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when 'Not posted' then 1
        when 'Posted' then 2
        else -1
        end 

end