USP_DATAFORMTEMPLATE_VIEW_CLOSING_REQUIREMENT
The load procedure used by the view dataform template "Closing Requirement Page 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. |
@ISDEFINED | bit | INOUT | ISDEFINED |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_CLOSING_REQUIREMENT
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@ISDEFINED bit = null output
)
as
set nocount on;
set @DATALOADED = 1;
select @ISDEFINED = 1
from dbo.PDACCOUNTSTRUCTURE where
CLOSINGELEMENT = 1
and
PDACCOUNTSYSTEMID = @ID
and
ISBASICGL = 0
return 0;