UFN_RECURRINGGIFTSETTING_OVERPAYMENTCODE_GETID

Return

Return Type
tinyint

Parameters

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

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  9/30/2015 12:58:02 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=4.0.153.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_RECURRINGGIFTSETTING_OVERPAYMENTCODE_GETID(@Description nvarchar(39))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin

    return case @Description
        when 'Apply the excess to future installments' then 0
        when 'Adjust the amount of the installment' then 1
        when 'Apply the excess as a donation' then 2
        else -1
        end 

end