USP_DATAFORMTEMPLATE_VIEW_APPEALSITE

The load procedure used by the view dataform template "Appeal Site 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.
@SITEID uniqueidentifier INOUT Site ID

Definition

Copy


                CREATE procedure USP_DATAFORMTEMPLATE_VIEW_APPEALSITE
                (
                    @ID uniqueidentifier,
                    @DATALOADED bit = 0 output,
                    @SITEID uniqueidentifier = null output
                )
                as
                begin
                    select 
                        @SITEID = APPEAL.SITEID,
                        @DATALOADED = 1
                    from
                        dbo.APPEAL
                    where
                        APPEAL.ID = @ID;

                    return 0;                
                end