function BusComp_PreQuery () { //CRM-3273 2022.06.18 zhevak end if( TheApplication().GetProfileAttr("AccountTermIdValue") !=""){ var TermId = TheApplication().GetProfileAttr("AccountTermIdValue") this.SetSearchSpec("AL Termid","="+TermId); //this.SetSearchExpr("[AL Termid] = '" + TermId + "'"); TheApplication().SetProfileAttr("AccountTermIdValue","") } //CRM-3273 2022.06.18 zhevak end return (ContinueOperation); }