USP_DATAFORMTEMPLATE_ADD_DISBURSEMENTPROCESSFORMATCHECK

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

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier INOUT The output parameter indicating the ID of the record added.
@PROCESSID 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_DISBURSEMENTPROCESSFORMATCHECK
                    (
                        @ID uniqueidentifier = null output,
                        @PROCESSID uniqueidentifier,
                        @CHANGEAGENTID uniqueidentifier = null,
                        @DISBURSEMENTFORMATID uniqueidentifier = null,
                        @PRINTERID uniqueidentifier = null
                    )
                    as

                    set nocount on;

                    begin try
                        exec dbo.USP_DATAFORMTEMPLATE_ADD_DISBURSEMENTPROCESSFORMAT @ID, @PROCESSID, @CHANGEAGENTID, @DISBURSEMENTFORMATID, @PRINTERID
                    end try

                    begin catch
                        exec dbo.USP_RAISE_ERROR
                        return 1
                    end catch

                    return 0