UFN_LEDGERACCOUNT_GETACCOUNTSEGMENTS_TOITEMLISTXML
Used to convert the results of UFN_LEDGERACCOUNT_GETACCOUNTSEGMENTS to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@LEDGERACCOUNTID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/30/2010 11:20:51 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_LEDGERACCOUNT_GETACCOUNTSEGMENTS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_LEDGERACCOUNT_GETACCOUNTSEGMENTS_TOITEMLISTXML](
@LEDGERACCOUNTID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [ACCOUNTSTRUCTUREID], [DATAELEMENTID], [ID]
FROM dbo.[UFN_LEDGERACCOUNT_GETACCOUNTSEGMENTS](@LEDGERACCOUNTID)
for xml raw('ITEM'),type,elements,root('DATAELEMENTS'),BINARY BASE64
)
END