UFN_POSTTOGLPROCESS_POSTINGOPTIONCODE_GETID

Return

Return Type
tinyint

Parameters

Parameter Parameter Type Mode Description
@Description nvarchar(50) 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_POSTINGOPTIONCODE_GETID(@Description nvarchar(50))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when 'All ''Not posted'' revenue and adjustments/reversals' then 0
        when 'Selected revenue records' then 1
        when '''Not posted'' adjustments and reversals only' then 2
        when 'None' then 3
        when 'Specific transaction types' then 4
        else -1
        end 

end