USP_DATAFORMTEMPLATE_ADD_BUSINESSPROCESSOUTPUTMAILMERGEMULTIPLELETTER

The save procedure used by the add dataform template "Business Process Output Mail Merge Multiple Letter Files Add Form".

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier INOUT The output parameter indicating the ID of the record added.
@BUSINESSPROCESSOUTPUTTEMPLATES xml IN
@TABLEKEY uniqueidentifier IN Table key

Definition

Copy


CREATE procedure dbo.[USP_DATAFORMTEMPLATE_ADD_BUSINESSPROCESSOUTPUTMAILMERGEMULTIPLELETTER]
(
  @ID uniqueidentifier = null output,
    @BUSINESSPROCESSOUTPUTTEMPLATES xml = null,
    @TABLEKEY uniqueidentifier = null
)
as
  set nocount on;

  -- this is just a dummy form for UI purposes only

  -- just set the return ID so the platform thinks everything worked

  set @ID = newid();

  return 0;