UFN_SCREENPLAN_GETSTEPS_TOITEMLISTXML

Used to convert the results of UFN_SCREENPLAN_GETSTEPS to xml.

Return

Return Type
xml

Parameters

Parameter Parameter Type Mode Description
@SCREENPLANID uniqueidentifier IN

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  12/17/2008 2:13:01 AM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on:  UFN_SCREENPLAN_GETSTEPS
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_SCREENPLAN_GETSTEPS_TOITEMLISTXML](
@SCREENPLANID uniqueidentifier
    )
returns xml
as
BEGIN

RETURN (
SELECT [DAYSTOCOMPLETE], [ID], [SEQUENCE], [STEPCODEID]
 FROM dbo.[UFN_SCREENPLAN_GETSTEPS](@SCREENPLANID)
 for xml raw('ITEM'),type,elements,root('STEPS'),BINARY BASE64

)

END