USP_DATAFORMTEMPLATE_EDITLOAD_CODETABLEPERMISSIONS
The load procedure used by the edit dataform template "System Role Code Table Permissions Edit Form"
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. |
@PERMISSIONS | xml | INOUT |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_CODETABLEPERMISSIONS
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@PERMISSIONS xml = null output
)
as
set nocount on;
set @DATALOADED = 0;
set @PERMISSIONS = dbo.UFN_SYSTEMROLE_GETCODETABLEPERMISSIONS_TOITEMLISTXML(@ID);
if not @PERMISSIONS is null
set @DATALOADED = 1;
return 0;