UFN_EVENT_GETREGISTRATIONOPTIONS

Returns all registration options for a given batch registrant.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@EVENTID uniqueidentifier IN

Definition

Copy


            create function dbo.UFN_EVENT_GETREGISTRATIONOPTIONS
            (
                @EVENTID uniqueidentifier
            )
            returns table
            as
            return
            (
                    select 
                        EVENTPRICE.ID, 
                        dbo.UFN_EVENTREGISTRATIONTYPE_GETDESCRIPTION(EVENTPRICE.EVENTREGISTRATIONTYPEID) [REGISTRATIONTYPEDESCRIPTION],
                        EVENTPRICE.AMOUNT,
                        EVENTPRICE.RECEIPTAMOUNT
                    from 
                        dbo.EVENTPRICE                         
                    where 
                        EVENTPRICE.EVENTID = @EVENTID
            );