USP_DATAFORMTEMPLATE_ADD_ACADEMICCATALOGDIVISION_PRELOAD
The load procedure used by the edit dataform template "Academic Catalog Division Add Form"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ACADEMICCATALOGCOLLEGEID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. |
@PARENT | nvarchar(150) | INOUT | Parent |
@TYPE_CODE | tinyint | INOUT | Type code |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_ADD_ACADEMICCATALOGDIVISION_PRELOAD
(
@ACADEMICCATALOGCOLLEGEID uniqueidentifier,
@PARENT nvarchar(150) = null output,
@TYPE_CODE tinyint = null output
)
as
set nocount on;
select
@PARENT = NAME,
@TYPE_CODE = 4 --Division
from
dbo.ACADEMICCATALOGCOLLEGE
where
ID = @ACADEMICCATALOGCOLLEGEID;