UFN_FAFEVENT_GETPARTICIPANTDONATIONSTOTAL
Return total of donations amount given to this participant
Return
| Return Type |
|---|
| money |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @EVENTID | uniqueidentifier | IN | |
| @CONSTITUENTID | uniqueidentifier | IN |
Definition
Copy
CREATE function [dbo].[UFN_FAFEVENT_GETPARTICIPANTDONATIONSTOTAL]
(
@EVENTID uniqueidentifier
,@CONSTITUENTID uniqueidentifier
)
returns money
with execute as caller
as begin
return (select AMOUNTRAISED from dbo.UFN_REVENUE_GETPARTICIPANTRAISEDTOTAL_2(@EVENTID) where CONSTITUENTID = @CONSTITUENTID)
end