UFN_REVENUE_GETLETTERS_TOITEMLISTXML

Used to convert the results of UFN_REVENUE_GETLETTERS to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  12/17/2008 2:13:22 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_REVENUE_GETLETTERS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_REVENUE_GETLETTERS_TOITEMLISTXML](
@ID uniqueidentifier
    )
returns xml
as
BEGIN

RETURN (
SELECT [ACKNOWLEDGEDATE], [ID], [LETTERCODEID], [PROCESSDATE]
 FROM dbo.[UFN_REVENUE_GETLETTERS](@ID)
 for xml raw('ITEM'),type,elements,root('LETTERS'),BINARY BASE64

)

END