USP_DATAFORMTEMPLATE_VIEW_APPUSERWORKSPACEPAGEDATA

The load procedure used by the view dataform template "Application User Workspace Page Expression View"

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.
@ALERTSENABLED bit INOUT ALERTSENABLED

Definition

Copy


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

    -- if app user info needs to added then switch this to 0

    set @DATALOADED = 1;

    select @ALERTSENABLED = ENABLED from dbo.DATABASEMAILSETTINGS;

    return 0;