UFN_PDACCOUNTSTRUCTURE_ELEMENTDEFINITIONCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(12) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:16:30 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_PDACCOUNTSTRUCTURE_ELEMENTDEFINITIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(12) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 1 then 'Account code'
when 2 then 'Fund'
when 3 then 'User-defined'
when 4 then 'Endowment'
when 5 then 'Program'
when 6 then 'Event'
when 7 then 'Project'
when 8 then 'Grant'
when 9 then 'Membership'
end
end