UFN_SELECTION_CONSTITUENT_DOWNGRADE

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

Return

Return Type
table

Definition

Copy


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