UFN_RECURRINGGIFTSETTING_PASTBALANCEUNDERPAYMENTCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(37) | 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_PASTBALANCEUNDERPAYMENTCODE_GETID(@Description nvarchar(37))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Leave the balances' then 0
when 'Write-off the remaining balances' then 1
when 'Adjust the amount of the installments' then 2
else -1
end
end