USP_DATAFORMTEMPLATE_EDIT_SOLICITCODE
The save procedure used by the edit dataform template "Solicit Code Edit Form".
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | The input ID parameter indicating the ID of the record being edited. |
@CURRENTAPPUSERID | uniqueidentifier | IN | Input parameter indicating the ID of the current user. |
@CHANGEAGENTID | uniqueidentifier | IN | Input parameter indicating the ID of the change agent invoking the procedure. |
@DESCRIPTION | nvarchar(100) | IN | Name |
@EXCLUSIONCODE | tinyint | IN | Type |
@SITEID | uniqueidentifier | IN | Site |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDIT_SOLICITCODE
(
@ID uniqueidentifier,
@CURRENTAPPUSERID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier = null,
@DESCRIPTION nvarchar(100),
@EXCLUSIONCODE tinyint,
@SITEID uniqueidentifier
)
as
set nocount on;
declare @CONSENTCODE tinyint;
declare @SOLICITCODECHANNELCODEID uniqueidentifier;
declare @COMMENTS nvarchar(255);
exec dbo.USP_DATAFORM_EDITLOAD_SOLICITCODE
@ID = @ID,
@CONSENTCODE = @CONSENTCODE output,
@SOLICITCODECHANNELCODEID = @SOLICITCODECHANNELCODEID output,
@COMMENTS = @COMMENTS output;
exec dbo.USP_DATAFORMTEMPLATE_EDIT_SOLICITCODE_2
@ID,
@CURRENTAPPUSERID,
@CHANGEAGENTID,
@DESCRIPTION,
@EXCLUSIONCODE,
@SITEID,
@CONSENTCODE,
@SOLICITCODECHANNELCODEID,
@COMMENTS;
return 0;