USP_DATAFORMTEMPLATE_VIEW_EVENTALLOWSDESIGNATIONS

The load procedure used by the view dataform template "Event allows designations on fees 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.
@DESIGNATIONSONFEES bit INOUT Event allows designations on fees

Definition

Copy


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

    set @DATALOADED = 0;

    select @DATALOADED = 1,
           @DESIGNATIONSONFEES = DESIGNATIONSONFEES
    from dbo.EVENT
    where ID = @ID

    return 0;