UFN_REVENUE_GETAUCTIONPURCHASEGLDISTRIBUTION_TOITEMLISTXML
Used to convert the results of UFN_REVENUE_GETAUCTIONPURCHASEGLDISTRIBUTION to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@REVENUEID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 2/1/2011 9:06:17 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.9.1001.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_REVENUE_GETAUCTIONPURCHASEGLDISTRIBUTION
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_REVENUE_GETAUCTIONPURCHASEGLDISTRIBUTION_TOITEMLISTXML](
@REVENUEID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [ACCOUNT], [AMOUNT], [BASECURRENCYID], [BASEEXCHANGERATEID], [DEBITCREDIT], [GLPAYMENTMETHODREVENUETYPEMAPPINGID], [ID], [ORGANIZATIONAMOUNT], [ORGANIZATIONEXCHANGERATEID], [PROJECT], [REFERENCE], [TRANSACTIONAMOUNT], [TRANSACTIONCURRENCYID], [TRANSACTIONTYPECODE]
FROM dbo.[UFN_REVENUE_GETAUCTIONPURCHASEGLDISTRIBUTION](@REVENUEID)
for xml raw('ITEM'),type,elements,root('GLDISTRIBUTION'),BINARY BASE64
)
END