USP_DATAFORMTEMPLATE_EDITLOAD_GRADEBOOKSPECIALCHARACTER

The load procedure used by the edit dataform template "Grade Book Special Character Edit Data Form"

Parameters

Parameter Parameter Type Mode Description
@CURRENTAPPUSERID uniqueidentifier IN Input parameter indicating the ID of the current user.
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.
@TSLONG bigint INOUT Output parameter indicating the TSLONG value of the record being edited. This is used to manage multi-user concurrency issues when multiple users access the same record.
@SPECIALCHARACTERS xml INOUT

Definition

Copy


CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_GRADEBOOKSPECIALCHARACTER(
  @CURRENTAPPUSERID uniqueidentifier,
  @DATALOADED bit = 0 output,
  @TSLONG bigint = 0 output,
  @SPECIALCHARACTERS xml = null output
)
as

  set nocount on;

  set @DATALOADED = 1
  set @TSLONG = 1

  declare @FACULTYID uniqueidentifier;

  select @FACULTYID = CONSTITUENTID
  from dbo.APPUSER
  where ID = @CURRENTAPPUSERID;

  set @SPECIALCHARACTERS = dbo.UFN_GRADEBOOKSPECIALCHARACTER_GETSPECIALCHARACTERS_TOITEMLISTXML(@FACULTYID)

  return 0;