USP_DATAFORMTEMPLATE_EDUCATION_VIEW_ORGANIZATIONDATA
The load procedure used by the view dataform template "Education Organization Data 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. |
@INDUSTRY | nvarchar(100) | INOUT | Industry |
@WEBADDRESS | UDT_WEBADDRESS | INOUT | Website |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDUCATION_VIEW_ORGANIZATIONDATA(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@INDUSTRY nvarchar(100) = null output,
@WEBADDRESS dbo.UDT_WEBADDRESS = null output
) as
set nocount on;
set @DATALOADED = 0;
declare @NUMEMPLOYEES int = null
declare @NUMSUBSIDIARIES int = null
declare @PARENTCORP nvarchar(100) = null
declare @ISPRIMARY bit = null
exec USP_DATAFORMTEMPLATE_VIEW_ORGANIZATIONDATA
@ID,
@DATALOADED output,
@INDUSTRY output,
@NUMEMPLOYEES output,
@NUMSUBSIDIARIES output,
@PARENTCORP output,
@WEBADDRESS output,
@ISPRIMARY output
return 0;