USP_DATAFORMTEMPLATE_VIEW_DEPOSITSINGLEREPORTPAGEDATA

The load procedure used by the view dataform template "Deposit Single Report Expression 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.
@TRANSACTIONNUMBER int INOUT TRANSACTIONNUMBER

Definition

Copy


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

                    set @DATALOADED = 0;

                    select
                        @TRANSACTIONNUMBER = T.[TRANSACTIONNUMBER],
                        @DATALOADED = 1
                    from dbo.BANKACCOUNTTRANSACTION T
                    where T.ID = @ID;

                    return 0;