USP_DATAFORMTEMPLATE_VIEW_PDACCOUNTCODEMAPTICKETING

The load procedure used by the view dataform template "Map Ticketing View Form"

Parameters

Parameter Parameter Type Mode Description
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.
@VERBAGE nvarchar(200) INOUT VERBAGE
@VERBAGE2 nvarchar(200) INOUT VERBAGE2

Definition

Copy


CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_PDACCOUNTCODEMAPTICKETING
(
    @DATALOADED bit = 0 output,
    @VERBAGE nvarchar(200) = null output,
  @VERBAGE2 nvarchar(200) = null output
)
as
    set nocount on;

    -- be sure to set this, in case the select returns no rows

    set @DATALOADED = 0;

    -- populate the output parameters, which correspond to fields on the form.  Note that

    -- we set @DATALOADED = 1 to indicate that the load was successful.  Otherwise, the system

    -- will display a "no data loaded" message.

select 
@DATALOADED = 1,
@VERBAGE = 'Specify the values to use for this segment to generate both the debit and credit accounts for distributions.',
@VERBAGE2 = 'These values will be used when generating GL distributions for transactions entered for ticketing revenue.'
FROM PDACCOUNTCODEMAPSUBLEDGER


    return 0;