Name

global.RelatedListItemCandidateFilterForAgileDevelopment

Description

Implements extension point global.RelatedListItemCandidateFilter

Script

var RelatedListItemCandidateFilterForAgileDevelopment = Class.create();
RelatedListItemCandidateFilterForAgileDevelopment.prototype = {
  initialize: function(tableName, parentFieldName, parentRecordSysId, referencedFieldName) {
      this.parentRecordSysId = parentRecordSysId;
      this.parentFieldName = parentFieldName;
  },
  getFilterQuery: function() {
      return this.parentFieldName + "ISEMPTY^OR" + this.parentFieldName + "!=" + this.parentRecordSysId;
  },

  handles: function(thing) {
      return thing == "AGILE_RELATED_LIST_QUERY_FILTER";
  },

  type: 'RelatedListItemCandidateFilterForAgileDevelopment'
};

Sys ID

be7d0158c3c31010e8a0a6bec840dd42

Offical Documentation

Official Docs: