USP_DATAFORMTEMPLATE_ADD_STUDENT_CLASS

The save procedure used by the add dataform template "Student Class Add Form".

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier INOUT The output parameter indicating the ID of the record added.
@CHANGEAGENTID uniqueidentifier IN Input parameter indicating the ID of the change agent invoking the procedure.
@STUDENTID uniqueidentifier IN Student
@CLASSID uniqueidentifier IN Input parameter indicating the context ID for the record being added.

Definition

Copy


CREATE procedure dbo.USP_DATAFORMTEMPLATE_ADD_STUDENT_CLASS
(
    @ID uniqueidentifier = null output,
    @CHANGEAGENTID uniqueidentifier = null,
    @STUDENTID uniqueidentifier,
    @CLASSID uniqueidentifier
)
as
    set nocount on;
    exec dbo.USP_STUDENTCLASS_ADD @STUDENTID, @CLASSID, 0, @CHANGEAGENTID;

return 0