USP_DATAFORMTEMPLATE_VIEW_RE7INTEGRATIONCONSTITUENTMAP

The load procedure used by the view dataform template "RE7 Integration Constituent Map View Form"

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter used to load the fields defined on the form.
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.
@RE7RECORDID int INOUT The Raiser's Edge Constituent Record ID

Definition

Copy

                CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_RE7INTEGRATIONCONSTITUENTMAP
                (
                    @ID uniqueidentifier,
                    @DATALOADED bit = 0 output,
                    @RE7RECORDID int = null output
                ) as
                    set nocount on;

                    set @DATALOADED = 0;

                    select
                        @DATALOADED = 1,
                        @RE7RECORDID = RE7INTEGRATIONCONSTITUENTMAP.RE7RECORDID
                    from
                        dbo.RE7INTEGRATIONCONSTITUENTMAP
                    where
                        RE7INTEGRATIONCONSTITUENTMAP.ID = @ID

                    return 0;