USP_LOCATIONCAPACITY_VIEW
The load procedure used by the view dataform template "Location Capacity View"
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. |
@LOCATIONCAPACITY | int | INOUT | Capacity |
Definition
Copy
CREATE procedure dbo.USP_LOCATIONCAPACITY_VIEW
(
@ID uniqueidentifier,
@DATALOADED bit=0 output,
@LOCATIONCAPACITY integer=null output
)
as
set nocount on;
select
@DATALOADED=1,
@LOCATIONCAPACITY=EVENTLOCATION.CAPACITY
from
dbo.EVENTLOCATION
where
ID=@ID;