USP_DATAFORMTEMPLATE_VIEW_PROSPECTPLANSITES

The load procedure used by the view dataform template "Prospect Plan Sites 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.
@SITES xml INOUT Sites

Definition

Copy


                CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_PROSPECTPLANSITES
                (
                    @ID uniqueidentifier,
                    @DATALOADED bit = 0 output,
                    @SITES xml = null output
                ) 
                as
                    set nocount on;

                    set @DATALOADED = 0;

                    set @SITES = dbo.UFN_PROSPECTPLAN_GETSITES_TOITEMLISTXML(@ID);
                    set @DATALOADED = 1;

                return 0;