UFN_POSTTOGLPROCESS_DEPOSITPOSTINGOPTIONCODE_GETID

Return

Return Type
tinyint

Parameters

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

Definition

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

    return case @Description
        when 'All ''Not posted'' deposits' then 0
        when 'Selected deposit records' then 1
        when 'None' then 2
        when 'Specific bank accounts' then 3
        when 'Specific deposit templates' then 4
        else -1
        end 

end