USP_DATAFORMTEMPLATE_EDITLOAD_ORIGINATIONSETTINGS
The load procedure used by the edit dataform template "Origination Settings Edit Form"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
@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. |
@REVENUESOURCECODEID | uniqueidentifier | INOUT | Default constituent source code for revenue |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_ORIGINATIONSETTINGS
(
@DATALOADED bit = 0 output,
@TSLONG bigint = 0 output,
@REVENUESOURCECODEID uniqueidentifier = null output
)
as
set nocount on;
--Set DATALOADED to 1 since the table may or may not exist
set @DATALOADED = 1
set @TSLONG = 0
select top(1)
@TSLONG = TSLONG,
@REVENUESOURCECODEID = REVENUESOURCECODEID
from
dbo.ORIGINATIONSETTING
return 0;