UFN_ACCOUNTCODE_GETMETADATA_TOITEMLISTXML
Used to convert the results of UFN_ACCOUNTCODE_GETMETADATA to xml.
Return
Return Type |
---|
xml |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 8/2/2010 7:11:08 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.7.1654.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_ACCOUNTCODE_GETMETADATA
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_ACCOUNTCODE_GETMETADATA_TOITEMLISTXML](
)
returns xml
as
BEGIN
RETURN (
SELECT [BALANCETYPE], [CATEGORY], [ID], [ISCONTRA], [SUBCATEGORY]
FROM dbo.[UFN_ACCOUNTCODE_GETMETADATA]()
for xml raw('ITEM'),type,elements,root('ACCOUNTCODEINFO'),BINARY BASE64
)
END