UFN_STEWARDSHIPPLANSTEP_STATUSCODE_GETID
Return
| Return Type |
|---|
| tinyint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @Description | nvarchar(9) | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 2/1/2011 8:58:26 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.9.1001.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_STEWARDSHIPPLANSTEP_STATUSCODE_GETID(@Description nvarchar(9))
RETURNS tinyint WITH EXECUTE AS CALLER
AS
begin
return case @Description
when 'Pending' then 0
when 'Completed' then 1
when 'Cancelled' then 2
when 'Declined' then 3
else -1
end
end