UFN_HOLDLIST_GETHOLDS_TOITEMLISTXML
Used to convert the results of UFN_HOLDLIST_GETHOLDS to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@HOLDLISTID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 7/16/2009 11:15:42 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=2.1.30.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_HOLDLIST_GETHOLDS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_HOLDLIST_GETHOLDS_TOITEMLISTXML](
@HOLDLISTID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [HOLDCODEID], [ID], [QUANTITY]
FROM dbo.[UFN_HOLDLIST_GETHOLDS](@HOLDLISTID)
order by ID
for xml raw('ITEM'),type,elements,root('HOLDS'),BINARY BASE64
)
END