USP_DATAFORMTEMPLATE_VIEW_BATCH2NUMBERINGSCHEME
The load procedure used by the view dataform template "Batch 2 Numbering Scheme 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. |
@NUMBERINGSCHEMECODE | tinyint | INOUT | Numbering scheme code |
@ISGLOBAL | bit | INOUT |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_BATCH2NUMBERINGSCHEME
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NUMBERINGSCHEMECODE tinyint = null output,
@ISGLOBAL bit = null output
)
as
set nocount on;
set @DATALOADED = 1;
select @NUMBERINGSCHEMECODE =
NUMBERINGSCHEMECODE,
@ISGLOBAL = ISGLOBAL
from BATCHNUMBERINGSCHEME
where ID = @ID
return 0;