UFN_EVENTPRICE_GETPRICES

Returns all prices for a given event.

Return

Return Type
table

Parameters

Parameter Parameter Type Mode Description
@EVENTID uniqueidentifier IN

Definition

Copy


            CREATE function dbo.UFN_EVENTPRICE_GETPRICES(@EVENTID uniqueidentifier)
            returns table
            as
            return
            (
                select 
                    EVENTPRICE.ID,
                    EVENTPRICE.EVENTREGISTRATIONTYPEID,
                    EVENTPRICE.AMOUNT,
                    EVENTPRICE.RECEIPTAMOUNT,
                    EVENTPRICE.REGISTRATIONCOUNT
                from 
                    dbo.EVENTPRICE
                where                         
                    EVENTID = @EVENTID
            )