UFN_MKTMARKETINGPLANTEMPLATE_GETITEMLIST
Returns a table of all of the template items (caption and colors) that have been assigned to the given marketing plan template
Return
Return Type |
---|
table |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@MARKETINGPLANTEMPLATEID | uniqueidentifier | IN |
Definition
Copy
CREATE function dbo.[UFN_MKTMARKETINGPLANTEMPLATE_GETITEMLIST](@MARKETINGPLANTEMPLATEID uniqueidentifier)
/*
Returns a table of the template items that have been assigned to the given MARKETINGPLANTEMPLATEID
*/
returns table
as
return (select
M.ID,
M.CAPTION,
M.BACKCOLOR,
M.FORECOLOR,
M.CAPTIONCOLOR,
M.LEVEL
from dbo.[MKTMARKETINGPLANTEMPLATEITEM] M
where M.MARKETINGPLANTEMPLATEID = @MARKETINGPLANTEMPLATEID);