USP_DATAFORMTEMPLATE_VIEW_BALANCINGENTRY_CLOSING_REQUIREMENT
The load procedure used by the view dataform template "Closing Element Defined 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_BALANCINGENTRY_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 ISBASICGL = 0
and PDACCOUNTSYSTEMID = @ID
return 0;