UFN_TRIBUTE_GETACKNOWLEDGEES_TOITEMLISTXML
Used to convert the results of UFN_TRIBUTE_GETACKNOWLEDGEES to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@TRIBUTEID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:18:44 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_TRIBUTE_GETACKNOWLEDGEES
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_TRIBUTE_GETACKNOWLEDGEES_TOITEMLISTXML](
@TRIBUTEID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [CONSTITUENTID], [ID], [SEQUENCE], [TRIBUTELETTERCODEID]
FROM dbo.[UFN_TRIBUTE_GETACKNOWLEDGEES](@TRIBUTEID)
order by SEQUENCE,ID
for xml raw('ITEM'),type,elements,root('ACKNOWLEDGEES'),BINARY BASE64
)
END