USP_DATAFORMTEMPLATE_VIEW_DAILYSALEITEMCONFIGURATIONPAGEEXPRESSION
The load procedure used by the view dataform template "Daily Sale Item Configuration Page Expression View"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
@SALESMETHODID | uniqueidentifier | INOUT | Sales method ID |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_VIEW_DAILYSALEITEMCONFIGURATIONPAGEEXPRESSION
(
@DATALOADED bit = 0 output,
@SALESMETHODID uniqueidentifier = null output
)
as
set nocount on;
set @DATALOADED = 0;
select @DATALOADED = 1,
@SALESMETHODID = [ID]
from dbo.[SALESMETHOD]
where [TYPECODE] = 0
return 0;