USP_DATAFORMTEMPLATE_EDIT_CONSTITUENTTRIBUTE

The save procedure used by the edit dataform template "Constituent Tribute Edit Form".

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.
@TRIBUTETYPECODEID uniqueidentifier IN Tribute type
@TRIBUTETEXT nvarchar(255) IN Tribute text
@DESIGNATIONID uniqueidentifier IN Default designation
@NAMEFORMATFUNCTIONID uniqueidentifier IN Name format
@SITES xml IN Sites
@TRIBUTEEID uniqueidentifier IN Tributee

Definition

Copy


CREATE procedure USP_DATAFORMTEMPLATE_EDIT_CONSTITUENTTRIBUTE
(
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier = null,
    @TRIBUTETYPECODEID uniqueidentifier,
    @TRIBUTETEXT nvarchar(255),
    @DESIGNATIONID uniqueidentifier,
    @NAMEFORMATFUNCTIONID uniqueidentifier,
    @SITES xml,
    @TRIBUTEEID uniqueidentifier
)

as
  set nocount on;

    declare @TRIBUTELETTERCODEID uniqueidentifier;
    declare @CURRENTAPPUSERID uniqueidentifier;

  exec dbo.USP_DATAFORMTEMPLATE_EDITLOAD_CONSTITUENTTRIBUTE
        @ID = @ID,
        @CURRENTAPPUSERID = @CURRENTAPPUSERID,
        @TRIBUTELETTERCODEID = @TRIBUTELETTERCODEID output

  exec dbo.USP_DATAFORMTEMPLATE_EDIT_CONSTITUENTTRIBUTE_2
        @ID,
        @CHANGEAGENTID,
        @TRIBUTETYPECODEID,
        @TRIBUTETEXT,
        @DESIGNATIONID,
        @NAMEFORMATFUNCTIONID,
        @SITES,
        @TRIBUTEEID,
        @TRIBUTELETTERCODEID

  return 0;