UFN_EVENTLODGING_GETROOMCOUNTS_TOITEMLISTXML
Used to convert the results of UFN_EVENTLODGING_GETROOMCOUNTS to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@EVENTLODGINGID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 11/11/2014 4:11:48 PM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=4.0.2.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_EVENTLODGING_GETROOMCOUNTS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_EVENTLODGING_GETROOMCOUNTS_TOITEMLISTXML](
@EVENTLODGINGID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT
[ALLOCATED],
[ASSIGNED],
[ID],
[OVERASSIGNED],
[REMAINING],
[ROOMTYPE]
FROM dbo.[UFN_EVENTLODGING_GETROOMCOUNTS](@EVENTLODGINGID)
for xml path('ITEM'),type,elements,root('ROOMCOUNTS'),BINARY BASE64
)
END