UFN_SELECTION_CONSTITUENT_RECAPTURE

Returns all constituents that meet the 'Recapture' lifecycle donor state.

Return

Return Type
table

Definition

Copy


CREATE function dbo.UFN_SELECTION_CONSTITUENT_RECAPTURE()
returns table
as return
(      
    select 
        CONSTITUENTID as ID
    from 
        dbo.REVENUELIFECYCLE        
    where
        REVENUELIFECYCLE.DONORSTATECODE = 1
)