UFN_REVENUE_GETDEFAULTGIFTFEES_TOITEMLISTXML
Used to convert the results of UFN_REVENUE_GETDEFAULTGIFTFEES to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@REVENUEID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 8/2/2010 7:19:41 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_REVENUE_GETDEFAULTGIFTFEES
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_REVENUE_GETDEFAULTGIFTFEES_TOITEMLISTXML](
@REVENUEID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [AMOUNT], [APPLICATION], [DETAILS], [FEE], [ID], [WAIVED]
FROM dbo.[UFN_REVENUE_GETDEFAULTGIFTFEES](@REVENUEID)
for xml raw('ITEM'),type,elements,root('GIFTFEES'),BINARY BASE64
)
END