USP_DATAFORMTEMPLATE_VIEW_NAMINGOPPORTUNITYSPECIALHANDLING
The load procedure used by the view dataform template "Naming Opportunity Special Handling 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. |
@DATA | nvarchar(max) | INOUT | Special handling |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_NAMINGOPPORTUNITYSPECIALHANDLING
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@DATA nvarchar(max) = null output
)
as
set nocount on;
select
@DATALOADED = 1,
@DATA = SPECIALHANDLING
from dbo.NAMINGOPPORTUNITY
where ID = @ID;