UFN_MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE_GETITEMLIST_TOITEMLISTXML

Used to convert the results of UFN_MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE_GETITEMLIST to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@ACKNOWLEDGEMENTMAILINGTEMPLATEID uniqueidentifier IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  1/27/2010 7:26:46 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.5.465.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE_GETITEMLIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE_GETITEMLIST_TOITEMLISTXML](
@ACKNOWLEDGEMENTMAILINGTEMPLATEID uniqueidentifier
    )
returns xml
as
BEGIN

RETURN (
SELECT [ASKLADDERID], [ID], [IDSETREGISTERID], [SEQUENCE]
 FROM dbo.[UFN_MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE_GETITEMLIST](@ACKNOWLEDGEMENTMAILINGTEMPLATEID)
 order by SEQUENCE
 for xml raw('ITEM'),type,elements,root('ITEMLIST'),BINARY BASE64

)

END