UFN_DISCOUNTGROUPDETAIL_DISCOUNTGROUPDETAILAPPLICATIONCODE_GETDESCRIPTION
Return
Return Type |
---|
nvarchar(28) |
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_DISCOUNTGROUPDETAIL_DISCOUNTGROUPDETAILAPPLICATIONCODE_GETDESCRIPTION(@ID tinyint)
RETURNS nvarchar(28) WITH EXECUTE AS CALLER
AS
begin
return case @ID
when 0 then 'All discountable merchandise'
when 1 then 'Merchandise department'
when 2 then 'Merchandise'
when 3 then 'Program'
when 4 then 'Any merchandise'
when 5 then 'Any discountable item'
when 6 then 'Any discountable department'
end
end