Name

global.CatalogItem

Description

Helper class to return the proper m2m query for a catalog item

Script

gs.include("PrototypeServer");

var CatalogItem = Class.create();

CatalogItem.prototype = {
  initialize : function() {
  	
  },

  getReferenceQual : function() {
      var table_name = current.table_name;
      if (table_name) {
          return 'table=' + table_name;
      }
      return '';
  }
};

Sys ID

3925992d0a0a0b2700f69e32b58ae3f2

Offical Documentation

Official Docs: