USP_DATAFORMTEMPLATE_EDITLOAD_GENERATETRANSACTIONSPREPROCESS_1_1
The load procedure used by the edit dataform template "Generate Payments Preprocess Edit Form 1.1"
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
| @DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
| @NAME | nvarchar(100) | INOUT | Name |
| @CUTOFFDATE | datetime | INOUT | Generate payments due on or before |
| @BATCHTEMPLATEID | uniqueidentifier | INOUT | Payment batch template |
| @BATCHNUMBER | nvarchar(100) | INOUT | Payment batch number |
| @OWNERID | uniqueidentifier | INOUT | Payment batch owner |
| @TSLONG | bigint | INOUT | Output parameter indicating the TSLONG value of the record being edited. This is used to manage multi-user concurrency issues when multiple users access the same record. |
| @OVERRIDEBATCHNUMBER | bit | INOUT | Override |
| @DUEDATETYPECODE | tinyint | INOUT | Payments due on or before |
| @DAYSAFTER | int | INOUT | Days after this process runs |
| @CONSOLIDATEPAYMENTS | bit | INOUT | Consolidate multiple commitments to a single payment by constituent |
| @TRANSACTIONTYPECODE | tinyint | INOUT | |
| @DESCRIPTION | nvarchar(255) | INOUT |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_GENERATETRANSACTIONSPREPROCESS_1_1
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NAME nvarchar(100) = null output,
@CUTOFFDATE datetime = null output,
@BATCHTEMPLATEID uniqueidentifier = null output,
@BATCHNUMBER nvarchar(100) = null output,
@OWNERID uniqueidentifier = null output,
@TSLONG bigint = 0 output,
@OVERRIDEBATCHNUMBER bit = null output,
@DUEDATETYPECODE tinyint = null output,
@DAYSAFTER integer = null output,
@CONSOLIDATEPAYMENTS bit = null output,
@TRANSACTIONTYPECODE tinyint = null output,
@DESCRIPTION nvarchar(255) = null output
)
as
set nocount on;
set @DATALOADED = 0;
set @TSLONG = 0;
select
@DATALOADED = 1,
@NAME = NAME,
@CUTOFFDATE = CUTOFFDATE,
@BATCHTEMPLATEID = BATCHTEMPLATEID,
@BATCHNUMBER = BATCHNUMBER,
@OVERRIDEBATCHNUMBER = OVERRIDEBATCHNUMBER,
@OWNERID = OWNERID,
@TSLONG = TSLONG,
@DUEDATETYPECODE = DUEDATETYPECODE,
@DAYSAFTER = DAYSAFTER,
@CONSOLIDATEPAYMENTS = CONSOLIDATEPAYMENTS,
@TRANSACTIONTYPECODE = TRANSACTIONTYPECODE,
@DESCRIPTION = DESCRIPTION
from dbo.GENERATETRANSACTIONSPROCESS
where ID = @ID;
return 0;