USP_DATAFORMTEMPLATE_EDIT_DONORCHALLENGEENCUMBERBUSINESS

USP_DATAFORMTEMPLATE_EDIT_DONORCHALLENGEENCUMBERBUSINESS

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter indicating the ID of the record being edited.
@CHANGEAGENTID uniqueidentifier IN Input parameter indicating the ID of the change agent invoking the procedure.
@CURRENTAPPUSERID uniqueidentifier IN Input parameter indicating the ID of the current user.
@NAME nvarchar(100) IN Name
@SELECTIONID uniqueidentifier IN Selection

Definition

Copy


CREATE procedure USP_DATAFORMTEMPLATE_EDIT_DONORCHALLENGEENCUMBERBUSINESS
(
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier = null,
    @CURRENTAPPUSERID uniqueidentifier,
    @NAME nvarchar(100),
    @SELECTIONID uniqueidentifier
)

as
  set nocount on;

    declare @SITEID uniqueidentifier;

  exec dbo.USP_DATAFORMTEMPLATE_EDITLOAD_DONORCHALLENGEENCUMBERBUSINESS
        @ID = @ID,
        @SITEID = @SITEID output

  exec dbo.USP_DATAFORMTEMPLATE_EDIT_DONORCHALLENGEENCUMBERBUSINESS_2
        @ID,
        @CHANGEAGENTID,
        @CURRENTAPPUSERID,
        @NAME,
        @SELECTIONID,
        @SITEID

  return 0;