USP_DATAFORMTEMPLATE_VIEW_REVENUEBATCHACCOUNTVIEWFORM
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | |
@DATALOADED | bit | INOUT | |
@CONSTITUENTACCOUNTID | uniqueidentifier | INOUT |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_REVENUEBATCHACCOUNTVIEWFORM
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@CONSTITUENTACCOUNTID uniqueidentifier = null output
)
as
set nocount on;
-- be sure to set this, in case the select returns no rows
set @DATALOADED = 0;
select
@DATALOADED = 1,
@CONSTITUENTACCOUNTID = CONSTITUENTACCOUNTID
from dbo.BATCHREVENUE
where ID = @ID
return 0;