USP_DATAFORMTEMPLATE_ADDLOAD_WPPOLITICALDONATION

The load procedure used by the edit dataform template "WealthPoint Political Donation Add Form 2"

Parameters

Parameter Parameter Type Mode Description
@WEALTHID uniqueidentifier IN Input parameter indicating the context ID for the record being added.
@ISORG bit INOUT Is organization

Definition

Copy


                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_ADDLOAD_WPPOLITICALDONATION
                    (
                        @WEALTHID uniqueidentifier,
                        @ISORG bit = null output
                    ) as begin

                        set nocount on;

                        select
                            @ISORG = ISORGANIZATION
                        from
                            dbo.CONSTITUENT
                        where
                            CONSTITUENT.ID = @WEALTHID;

                        return 0;
                    end;