USP_DATAFORMTEMPLATE_EDIT_GENERATETRANSACTIONSPROCESS_4
The save procedure used by the edit dataform template "Generate Transactions Payments Edit Form 1.1".
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. |
| @NAME | nvarchar(100) | IN | Name |
| @DESCRIPTION | nvarchar(255) | IN | Description |
| @IDSETREGISTERID | uniqueidentifier | IN | Selection |
| @CUTOFFDATE | datetime | IN | Include transactions on or before |
| @BATCHTEMPLATEID | uniqueidentifier | IN | Batch template |
| @BATCHNUMBER | nvarchar(100) | IN | Batch number |
| @TRANSACTIONTYPECODE | tinyint | IN | Transaction types |
| @OWNERID | uniqueidentifier | IN | Batch owner |
| @PDACCOUNTSYSTEMID | uniqueidentifier | IN | Associated account system |
| @OVERRIDEBATCHNUMBER | bit | IN | Override |
| @CURRENTAPPUSERID | uniqueidentifier | IN | Input parameter indicating the ID of the current user. |
| @DUEDATETYPECODE | tinyint | IN | Generate payments due on or before |
| @DAYSAFTER | int | IN | Days after this process runs |
| @CONSOLIDATEPAYMENTS | bit | IN | Consolidate multiple commitments to a single payment by constituent |
Definition
Copy
CREATE procedure USP_DATAFORMTEMPLATE_EDIT_GENERATETRANSACTIONSPROCESS_4
(
@ID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier = null,
@NAME nvarchar(100),
@DESCRIPTION nvarchar(255),
@IDSETREGISTERID uniqueidentifier,
@CUTOFFDATE datetime,
@BATCHTEMPLATEID uniqueidentifier,
@BATCHNUMBER nvarchar(100),
@TRANSACTIONTYPECODE tinyint,
@OWNERID uniqueidentifier,
@PDACCOUNTSYSTEMID uniqueidentifier,
@OVERRIDEBATCHNUMBER bit,
@CURRENTAPPUSERID uniqueidentifier,
@DUEDATETYPECODE tinyint,
@DAYSAFTER integer,
@CONSOLIDATEPAYMENTS bit
)
as
set nocount on;
declare @SITEID uniqueidentifier;
exec dbo.USP_DATAFORMTEMPLATE_EDITLOAD_GENERATETRANSACTIONSPROCESS_1_1
@ID = @ID,
@CURRENTAPPUSERID = @CURRENTAPPUSERID,
@SITEID = @SITEID output;
exec dbo.USP_DATAFORMTEMPLATE_EDIT_GENERATETRANSACTIONSPROCESS_5
@ID,
@CHANGEAGENTID,
@NAME,
@DESCRIPTION,
@IDSETREGISTERID,
@CUTOFFDATE,
@BATCHTEMPLATEID,
@BATCHNUMBER,
@TRANSACTIONTYPECODE,
@OWNERID,
@PDACCOUNTSYSTEMID,
@OVERRIDEBATCHNUMBER,
@CURRENTAPPUSERID,
@DUEDATETYPECODE,
@DAYSAFTER,
@CONSOLIDATEPAYMENTS,
@SITEID;
return 0;