UFN_BALANCINGENTRY_GETELEMENTSCREDITFROM_TOITEMLISTXML

Used to convert the results of UFN_BALANCINGENTRY_GETELEMENTSCREDITFROM to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@BALANCINGENTRYID uniqueidentifier IN
@BALANCINGENTRYTYPECODE tinyint IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  11/30/2010 11:21:07 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.8.2022.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_BALANCINGENTRY_GETELEMENTSCREDITFROM
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_BALANCINGENTRY_GETELEMENTSCREDITFROM_TOITEMLISTXML](
@BALANCINGENTRYID uniqueidentifier
, @BALANCINGENTRYTYPECODE tinyint
    )
returns xml
as
BEGIN

RETURN (
SELECT [ACCOUNTSTRUCTUREID], [BALANCINGENTRYTYPECODE], [DATAELEMENTID], [ID]
 FROM dbo.[UFN_BALANCINGENTRY_GETELEMENTSCREDITFROM](@BALANCINGENTRYID, @BALANCINGENTRYTYPECODE)
 for xml raw('ITEM'),type,elements,root('BALANCINGENTRYCREDITFROM'),BINARY BASE64

)

END