UFN_EVENTSPONSOR_GETBENEFITS
Return the FAF event sponsor's benefit in a table.
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @EVENTSPONSORID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_EVENTSPONSOR_GETBENEFITS
(
@EVENTSPONSORID uniqueidentifier
)
returns table
as
return (
select
ID,
BENEFITID,
QUANTITY,
UNITVALUE,
TOTALVALUE,
DETAILS,
BASECURRENCYID
from
dbo.SPONSORBENEFITEXTENSION (nolock)
where
SPONSORID = @EVENTSPONSORID
)