USP_DATAFORMTEMPLATE_VIEW_RE7INTEGRATION_CONFIG_EXPRESSIONS

The load procedure used by the view dataform template "RE7 Integration Configuration Page Expression View Form"

Parameters

Parameter Parameter Type Mode Description
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.
@DBSELECTIONLOCKED bit INOUT DBSELECTIONLOCKED
@WEBSERVICESCONFIGURED bit INOUT

Definition

Copy

                CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_RE7INTEGRATION_CONFIG_EXPRESSIONS
                (
                    @DATALOADED            bit = 0 output,
                    @DBSELECTIONLOCKED    bit = null output,
          @WEBSERVICESCONFIGURED bit = null output
                )
                as
                    set nocount on;

                    set @DATALOADED = 1;

                    select top 1 @DBSELECTIONLOCKED=DBSELECTIONLOCKED from dbo.RE7INTEGRATIONCONFIGURATION 

          if exists (select top 1 1 from dbo.RE7INTEGRATIONCONFIGURATION where RERPWEBSERVICEURL <> '' and RERPPROVISIONINGKEY <> '')
            set @WEBSERVICESCONFIGURED = 1;
          else
            set @WEBSERVICESCONFIGURED = 0;

                    return 0;