USP_DATAFORMTEMPLATE_VIEW_PAPERLESSMANDATESCONFIGURATION_FORUSERONPROCESS
The load procedure used by the view dataform template "Paperless Mandates Configuration For User On Process View Data Form"
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
| @CURRENTAPPUSERID | uniqueidentifier | IN | Input parameter indicating the ID of the current user. |
| @DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
| @ENABLED | int | INOUT | Use paperless mandates |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_PAPERLESSMANDATESCONFIGURATION_FORUSERONPROCESS
(
@ID uniqueidentifier,
@CURRENTAPPUSERID uniqueidentifier,
@DATALOADED bit = 0 output,
@ENABLED integer = null output
)
as
set nocount on;
set @DATALOADED = 1;
begin try
set @ENABLED = dbo.UFN_PAPERLESSMANDATES_ENABLED_FORUSERONFEATURE(@CURRENTAPPUSERID,@ID,4);
end try
begin catch
exec dbo.USP_RAISE_ERROR;
return 1;
end catch
return 0;