UFN_RECURRINGGIFTSTATUSUPDATEPROCESS_LAPSEDCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(101) | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/11/2014 4:27:25 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=4.0.2.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_RECURRINGGIFTSTATUSUPDATEPROCESS_LAPSEDCODE_GETID(@Description nvarchar(101))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Do not make recurring gifts lapsed' then 0
when 'Recurring gifts are lapsed when they have x past due installment(s)' then 1
when 'Recurring gifts are lapsed when an installment has an unpaid balance x days past the installment date' then 2
else -1
end
end