UFN_RECURRINGGIFTINSTALLMENT_STATUSCODE_GETID
Return
Return Type |
---|
tinyint |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@Description | nvarchar(9) | 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_RECURRINGGIFTINSTALLMENT_STATUSCODE_GETID(@Description nvarchar(9))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Expected' then 0
when 'Past due' then 1
when 'Paid' then 2
when 'Skipped' then 3
when 'Write-off' then 4
else -1
end
end