USP_DATAFORMTEMPLATE_VIEW_FINANCIALBATCH
The load procedure used by the view dataform template "Financial Batch 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. |
@NUMBER | int | INOUT | Number |
@COMMENT | nvarchar(100) | INOUT | Comment |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_FINANCIALBATCH
(
@ID uniqueidentifier
,@DATALOADED bit = 0 output
,@NUMBER integer = null output
,@COMMENT nvarchar(100) = null output
)
as
set nocount on;
set @DATALOADED = 0;
select
@DATALOADED = 1
,@NUMBER = NUMBER
,@COMMENT = COMMENT
from dbo.FINANCIALBATCH
where ID = @ID
return 0;