UFN_SALESORDERITEMREVENUESCHEDULE_FREQUENCYCODE_GETDESCRIPTION
Return
| Return Type | 
|---|
| nvarchar(18) | 
Parameters
| Parameter | Parameter Type | Mode | Description | 
|---|---|---|---|
| @ID | tinyint | IN | 
Definition
 Copy 
                                    /*
Generated by Blackbaud AppFx Platform
Date:  4/29/2010 7:19:26 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.6.1444.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE FUNCTION dbo.UFN_SALESORDERITEMREVENUESCHEDULE_FREQUENCYCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(18) WITH EXECUTE AS CALLER
AS
begin
    return case @ID
        when 0 then 'Annually'
        when 1 then 'Semi-annually'
        when 2 then 'Quarterly'
        when 3 then 'Monthly'
        when 4 then 'Irregular'
        when 5 then 'Single Installment'
        when 6 then 'Bimonthly'
        when 7 then 'Semi-Monthly'
        when 8 then 'Biweekly'
        when 9 then 'Weekly'    
    end
end