USP_DATAFORMTEMPLATE_VIEW_PROSPECTRESEARCHTEMPLATESECTION

The load procedure used by the view dataform template "Prospect Research Template Sections View Form"

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter used to load the fields defined on the form.
@SECTIONS xml INOUT Selected sections
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.

Definition

Copy


                create procedure dbo.USP_DATAFORMTEMPLATE_VIEW_PROSPECTRESEARCHTEMPLATESECTION
                (
                    @ID uniqueidentifier,
                    @SECTIONS xml = null output,
                    @DATALOADED    bit = 0 output
                )
                as
                    set nocount on;

                    set @DATALOADED = 1;

                    select @SECTIONS = dbo.UFN_PROSPECTRESEARCHTEMPLATE_GETSECTIONS_TOITEMLISTXML(@ID);

                    return 0;