Name

global.CanReportOnTables

Description

No description available

Script

var CanReportOnTables = Class.create();
CanReportOnTables.prototype = {
  initialize: function() {
  },
  
  process: function() {
  	var result = [];
  	var reportChoiceList = new GlideReportChoiceList();
  	reportChoiceList.setCanRead(true);
  	reportChoiceList.setNoViews(false);
  	reportChoiceList.setNoSystemTables(false);
  	reportChoiceList.setSkipScopeRestrictions(true);
  	reportChoiceList.generateChoices();
  	for (var i = 0; i < reportChoiceList.getSize(); i++)
  		result.push('' + reportChoiceList.get(i).getValue());
  	
  	return result;
  },
  type: 'CanReportOnTables'
};

Sys ID

8adf3fe353010300ae8dc12b44dc34b7

Offical Documentation

Official Docs: