USP_DATAFORMTEMPLATE_ADD_REGISTRANTTEAMFUNDRAISER_PRELOAD

The load procedure used by the edit dataform template "Registrant Team Fundraising Add Form"

Parameters

Parameter Parameter Type Mode Description
@EVENTID uniqueidentifier IN Input parameter indicating the context ID for the record being added.
@APPEALID uniqueidentifier INOUT
@PRICES xml INOUT

Definition

Copy


                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_ADD_REGISTRANTTEAMFUNDRAISER_PRELOAD
                    (
                        @EVENTID uniqueidentifier,
                        @APPEALID uniqueidentifier = null output,
                        @PRICES xml = null output
                    )
                    as
                        set nocount on;

                        select
                            @APPEALID = EVENT.APPEALID
                        from
                            dbo.EVENT
                        where
                            EVENT.ID = @EVENTID;

                        set @PRICES = dbo.UFN_EVENTPRICE_GETPRICES_TOITEMLISTXML(@EVENTID);

                        return 0;