UFN_CREDITPAYMENT_PAYMENTMETHODCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(14) |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | tinyint | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 1/27/2010 6:48:26 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_CREDITPAYMENT_PAYMENTMETHODCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(14) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'Cash'
when 1 then 'Check'
when 2 then 'Credit card'
when 3 then 'Direct debit'
when 4 then 'Stock'
when 5 then 'Property'
when 6 then 'Gift-in-kind'
when 9 then 'None'
when 10 then 'Other'
when 11 then 'Standing order'
end
end