USP_DATAFORMTEMPLATE_ADD_DISBURSEMENTPROCESSTEMPLATEFORMATCHECK

The save procedure used by the add dataform template "Disbursement Process Template Format Check Add Data Form".

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier INOUT The output parameter indicating the ID of the record added.
@TEMPLATEID uniqueidentifier IN Input parameter indicating the context ID for the record being added.
@CHANGEAGENTID uniqueidentifier IN Input parameter indicating the ID of the change agent invoking the procedure.
@DISBURSEMENTFORMATID uniqueidentifier IN Format name
@PRINTERID uniqueidentifier IN Printer

Definition

Copy


CREATE procedure dbo.USP_DATAFORMTEMPLATE_ADD_DISBURSEMENTPROCESSTEMPLATEFORMATCHECK
(
    @ID uniqueidentifier = null output,
    @TEMPLATEID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier = null,
    @DISBURSEMENTFORMATID uniqueidentifier = null,
    @PRINTERID uniqueidentifier = null
)
as

set nocount on;

begin try
  exec dbo.USP_DATAFORMTEMPLATE_ADD_DISBURSEMENTPROCESSTEMPLATEFORMAT @ID, @TEMPLATEID, @CHANGEAGENTID, @DISBURSEMENTFORMATID, @PRINTERID
end try

begin catch
    exec dbo.USP_RAISE_ERROR
    return 1
end catch

return 0