USP_DATAFORMTEMPLATE_VIEW_ClosingRequirementExist

The load procedure used by the view dataform template "Closing Requirement Exists View Form"

Parameters

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

Definition

Copy


CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_ClosingRequirementExist
(

    @DATALOADED bit = 0 output,
    @HASCLOSINGREQUIREMENT bit = null output,
  @HASBALANCINGENTRY bit = null output
)
as
    set nocount on;
    set @DATALOADED = 1;

    select @HASCLOSINGREQUIREMENT = 1           
    from CLOSINGREQUIREMENT

  select @HASBALANCINGENTRY = 1
  from BALANCINGENTRY

    return 0;