USP_DATAFORMTEMPLATE_EDIT_EVENTRESOURCE

USP_DATAFORMTEMPLATE_EDIT_EVENTRESOURCE

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.
@RESOURCEID uniqueidentifier IN Resource
@QUANTITYNEEDED int IN Quantity needed

Definition

Copy


CREATE procedure USP_DATAFORMTEMPLATE_EDIT_EVENTRESOURCE
(
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier = null,
    @RESOURCEID uniqueidentifier,
    @QUANTITYNEEDED int
)

as
  set nocount on;

    declare @IGNORECONFLICTS bit;

  exec dbo.USP_DATAFORMTEMPLATE_EDITLOAD_EVENTRESOURCE
        @ID = @ID,
        @IGNORECONFLICTS = @IGNORECONFLICTS output

  exec dbo.USP_DATAFORMTEMPLATE_EDIT_EVENTRESOURCE_2
        @ID,
        @CHANGEAGENTID,
        @RESOURCEID,
        @QUANTITYNEEDED,
        @IGNORECONFLICTS

  return 0;