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