USP_DATAFORMTEMPLATE_VIEW_CONTROLACCOUNTTREASURY_PAGEEXPRESSION
The load procedure used by the view dataform template "Subsidiary Ledger Account Treasury Page Expression 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. |
@SYSTEMNAME | nvarchar(60) | INOUT | System Name |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_CONTROLACCOUNTTREASURY_PAGEEXPRESSION
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@SYSTEMNAME nvarchar(60) = null output
)
as
set nocount on;
-- be sure to set this, in case the select returns no rows
set @DATALOADED = 0;
select @DATALOADED = 1,
@SYSTEMNAME = NAME
from dbo.FINANCIALSYSTEM
where ID = @ID
return 0;