UFN_JOURNALENTRY_EXT_TABLENAMECODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(42) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 10/27/2011 12:07:06 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.92.537.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_JOURNALENTRY_EXT_TABLENAMECODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(42) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'GLTRANSACTION'
when 1 then 'REVENUEGLDISTRIBUTION'
when 2 then 'AUCTIONPURCHASEGLDISTRIBUTION'
when 3 then 'BANKACCOUNTDEPOSITCORRECTIONGLDISTRIBUTION'
when 4 then 'BANKACCOUNTTRANSACTIONGLDISTRIBUTION'
when 5 then 'BENEFITGLDISTRIBUTION'
when 6 then 'CREDITGLDISTRIBUTION'
when 7 then 'GIFTAIDGLDISTRIBUTION'
when 8 then 'GIFTFEEGLDISTRIBUTION'
when 9 then 'PLANNEDGIFTPAYOUTGLDISTRIBUTION'
when 10 then 'PROPERTYDETAILGLDISTRIBUTION'
when 11 then 'STOCKSALEGLDISTRIBUTION'
when 12 then 'WRITEOFFGLDISTRIBUTION'
when 13 then 'GIFTINKINDSALEGLDISTRIBUTION'
when 14 then 'UNREALIZEDGAINLOSSGLDISTRIBUTION'
end
end