_e3b.js 21 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _e3b(){this._irl=_erh._vtc();this._ghd="HTML";this._zea=_4c6._k22();};_e3b.prototype._yjk=function(_kzi,_spj){this._76i=_kzi;this._qej=_spj;};_e3b.prototype._o65=function(_4jd, _py7, _fi9, _fya, _68e, _q3m, _fsj, _2yl){if(_4jd&&_4jd.length>0&&_q3m&&_fya){this._snl();this._89d=_4jd;this._yp7=_py7;this._p29=_fi9;this._lrl=_q3m;this._hgj=_fsj;this._iql=_2yl;this._snb=_wle._fh2(this._irl);if(_fya.trim()){this._zea=_fya.trim();}if(_68e){this._ghd=_68e;}this._7n2();}};_e3b.prototype._snl=function(){if(this._ete){delete this._ete;}if(this._mfg){delete this._mfg;}if(this._89d){delete this._89d;}if(this._snb){delete this._snb;}};_e3b.prototype._491=function(_6jh){if(this._89d&&this._89d.length){for(var i=0; i<this._89d.length; i++){if(this._89d[i].reportPath===_6jh){return this._89d[i].name;}}}return null;};_e3b.prototype._hi1=function(_6jh){if(this._89d&&this._89d.length){for(var i=0; i<this._89d.length; i++){if(this._89d[i].reportPath===_6jh){return this._89d[i].modelPath;}}}return null; };_e3b.prototype._6n8=function(_yal){this._snl();};_e3b.prototype._7n2=function(){var _nnj=[]; for(var i=0; i<this._89d.length; i++){var _4g9=new _zl9( this, "storeID(\"" + this._89d[i].objRef + "\")" );_nnj.push(_4g9);}var _h2e=new _4ce(new _qf2(this, "_ef"), _nnj);_5ml._y5g(_h2e, _frh._c6j("IDS_MSG_LOADING_PARAMETERS"));};_e3b.prototype._ef=function(_yal){var _5um=_yal._8ik();if(_5um){this._snl(); _08j(_5um);return;}var _nnj=_yal._33g();for(var i=0; i<_nnj.length; i++){var _yal=_nnj[i];var _1l9=_yal._xfe();var _6jh=_yal._wtc();if(_6jh){for(var j=0; j<this._89d.length; j++){if(this._89d[j].objRef===_yal._76j()){this._89d[j].reportPath=_6jh;this._89d[j].modelPath=_1l9;break;}}}}var _nnj=[];for(var i=0; i<this._89d.length; i++){var _4g9=new _r02(this, this._89d[i].reportPath);_nnj.push(_4g9);}var _h2e=new _4ce(new _qf2(this, "_32"), _nnj);_5ml._y5g(_h2e, _frh._c6j("IDS_MSG_LOADING_PARAMETERS"));};_e3b.prototype._32=function(_yal){var _5um=_yal._8ik();if(_5um){this._snl(); _08j(_5um);return;}var _nnj=_yal._33g();this._ete=[];this._mfg=[];for(var i=0; i<_nnj.length; i++){var _jm1=_nnj[i]._otc();var _6jh=_nnj[i]._wtc(); if(!_jm1){_gem(_frh._c6j("IDS_MSG_FAILED_ACQUIRING_DRILL_PARAMETER", _6jh));return;}this._mfg[_6jh]=[];if(_jm1.length!=0){for(var j=0; j<_jm1.length; j++){if(_jm1[j].ModelFilterItem){this._mfg[_6jh].push(_jm1[j]);var _9bh={};_9bh.modelFilterItem=_jm1[j].ModelFilterItem;_9bh.reportPath=_6jh;var _kzi=_jm1[j].modelPath;if(typeof _kzi =="undefined"||_kzi===null){_kzi=this._hi1(_6jh);}_9bh.modelPath=_kzi;this._ete.push(_9bh);}}}else{_gem(_frh._c6j("IDS_MSG_NO_PARAMETER_DEFINED_IN_TARGETREPORT", _6jh));return; } }var _p2e=new _ck3( new _qf2( this, "_df", "_6n8" ) );_5ml._y5g(_p2e, _frh._c6j("IDS_MSG_LOADING_PARAMETERS")); };_e3b.prototype._df=function(_yal){var _5um=_yal._8ik();if(_5um){this._snl();_08j(_5um);return;}var _nnj=[];var _rt5=[]; var _6jh=null;var _kzi=null;for(var i=0; i<this._ete.length; i++){if(_6jh!==null&&_kzi!==null&&(_6jh!==this._ete[i].reportPath||_kzi!==this._ete[i].modelPath)&&_rt5.length){var _bw2=new _fo1(this, _kzi, _6jh, _rt5);_nnj.push(_bw2);_rt5=[];}_6jh=this._ete[i].reportPath;_kzi=this._ete[i].modelPath;_rt5.push(this._ete[i].modelFilterItem);}if(_rt5.length){var _bw2=new _fo1(this, _kzi, _6jh, _rt5);_nnj.push(_bw2);}var _h2e=new _4ce(new _qf2(this, "_q1"), _nnj);_5ml._y5g(_h2e, _frh._c6j("IDS_MSG_LOADING_PARAMETERS")); };_e3b.prototype._q1=function(_yal){var _5um=_yal._8ik();if(_5um){this._snl();_08j(_5um);return;}var _nnj=_yal._33g();_5ml._fll(Q.when(this._76i?_1ke._avc({_j0n:this._76i, _l0n:this._qej?"module":"FM"}):null)).done(function(){_erh._ybb();if(this._76i){_agm._4b5(this._irl, this._76i, this._qej);}if(this._vz(_nnj)){_erh._iee(true); }else{_erh._5c7();}}.bind(this));};_e3b.prototype._vz=function(_nnj){var _yyk=false;if(this._89d.length==1){var _gif=_erh._z5b("table/tableRows/tableRow/tableCells/tableCell");this._qj1(_gif, "<style><CSS value=\"width:100%\"/></style>");var _kfl=this._89d[0].pathRef;_yyk=this._yg5(_nnj, _gif, _kfl);if(_yyk===true){_yyk=_ath._vge(new _4mh(_gif), this._lrl, this._hgj, this._iql);}}else{var _s7c=_erh._e5j(_y7g._znh("appTabControl"), true);_s7c.selectSingleNode(".//appTabDefinition/appTabLabel").setAttribute("refDataItem", _frh._c6j("IDS_LBL_APP_LABEL_DATAITEM"));_s7c.setAttribute("name", _wle._vh(_s7c, this._irl));if(_s7c.selectSingleNode(".//appTabDeck")){_s7c.removeChild(_s7c.selectSingleNode(".//appTabDeck"));}var _5rm=this._qj1(_s7c, "<appTabDeck><appTabCards/></appTabDeck>").selectSingleNode(".//appTabCards");var _0fh="<appDataSource><appStaticDataTable><appStaticDataItems>"+"<appStaticDataItem name=\"" + _cgm._e8j( _frh._c6j("IDS_LBL_APP_LABEL_DATAITEM") ) + "\"></appStaticDataItem></appStaticDataItems>" +"<appStaticDataRows>";_agm._9ab(this._irl, _s7c);for(var i=0; i<this._89d.length; i++){var _6jh=this._89d[i].reportPath;var _849=[];for(var j=0; j<_nnj.length; j++){if(_nnj[j]._wtc()===_6jh){_849.push(_nnj[j]);}}if(_849.length){var _5jh=this._491(_849[0]._wtc());if(_5jh){var _r7l=_erh._z5b("appTabCard");var _z38=_erh._z5b("table/tableRows/tableRow/tableCells/tableCell");this._qj1(_z38, "<style><CSS value=\"width:100%\"/></style>");_erh._h56(_r7l, "contents").appendChild(_z38);var _kfl=this._89d[i].pathRef;_yyk=this._yg5(_849, _z38, _kfl);if(_yyk===false){break;}_0fh += "<appTabStaticDataRow><appStaticDataItemValue><defaultText>" + _cgm._e8j( _5jh ) + "</defaultText>" +"</appStaticDataItemValue></appTabStaticDataRow>";_5rm.appendChild(_r7l);}}}if(_yyk===true){_0fh+= "</appStaticDataRows></appStaticDataTable></appDataSource>";if(_s7c.selectSingleNode(".//appDataSource")){_s7c.removeChild(_s7c.selectSingleNode(".//appDataSource"));}this._qj1(_s7c, _0fh);_yyk=_ath._vge(new _4mh(_s7c), this._lrl, this._hgj, this._iql); }}return _yyk;};_e3b.prototype._yg5=function(_nnj,_gif,_kfl){var _yyk=false;var _y3f=[]; if(_nnj.length>=1){var _vtd=_erh._z5b("table/tableRows/tableRow/tableCells");this._qj1(_vtd, "<style><CSS value=\"width:100%\"/></style>");_erh._h56( _gif.selectSingleNode(".//tableCell"), "contents").appendChild(_vtd);var _6jh=_nnj[0]._wtc();var _wqg=this._mfg[_6jh];var _rih=this._381(_kfl);var _9x7=[];for(var i=0; i<_nnj.length; i++){var _mv=this._8t(_nnj[i]._s75(), _nnj[i]._xfe(), _wqg);if(_mv!==null){for(var j=0; j<_mv.length; j++){_9x7.push(_mv[j]);}}}if(_9x7.length<1){for(var i=0; i<_wqg.length; i++){if(_wqg[i].SimpleType!=='xsdDecimal'){_gem(_frh._c6j("IDS_MSG_NO_PARAMETER_QUERY_GENERATED_TARGETREPORT", _6jh));return _yyk;}}}var _l1h=this._7o8(_rih);_y3f.push(_l1h);for(var i=0; i<_wqg.length; i++){var _7wa=_wqg[i];var _6pg=this._fr8(_7wa, _l1h);switch(_7wa.SimpleType){case "xsdString":{this._2j5(_9x7, _6pg, _7wa, _l1h, _vtd, false);break;}case "xsdDecimal":{this._va(_6pg, _7wa, _l1h, _vtd, false);break;}case "memberUniqueName":{if(!_7wa.IsNumeric){this._2j5(_9x7, _6pg, _7wa, _l1h, _vtd, true);}break;}}}this._93a(_gif, _l1h);_yyk=true; }return _yyk;};_e3b.prototype._2j5=function(_9x7,_6pg,_7wa,_l1h,_vtd,_iz7){for(var i=0; i<_9x7.length; i++){var _qum=_9x7[i].query;var _79h=_qum.selectNodes(".//dataItem");if(_79h.length==2){var _p3h=_79h.item(1).selectSingleNode("expression");if(_p3h.text==_7wa.ModelFilterItem){var _ndh=_6pg[0].getAttribute("name");var _fqi=_erh._z5b("tableCell/contents");var _79f=_7wa.Multiselect;this._281(_fqi.selectSingleNode("contents"), _7wa.Name);var _7r6=this._cf5(_fqi, _ndh, _9x7[i], _7wa.Name, _l1h.getAttribute("name"), _79f, _iz7);if(_7r6[1]){var _mfh="roleValue('_memberUniqueName', " + _p3h.text + ")";var _68e="<dataItem name=\"" + _cgm._e8j( _7r6[0] ) + "\"><expression>" + _cgm._e8j( _mfh ) + "</expression></dataItem>";this._qj1(_qum.selectSingleNode("selection"), _68e); }else{var _ffk=_79h.item(0).getAttribute("name");var _68e="<dataItem name=\"" + _cgm._e8j( _7r6[0] ) + "\"><expression>[" + _cgm._e8j( _ffk ) + "]</expression></dataItem>";this._qj1(_qum.selectSingleNode("selection"), _68e);}_vtd.selectSingleNode(".//tableCells").appendChild(_fqi);break;} }}};_e3b.prototype._cf5=function(_zud, _ndh, _qum, _826, _vdh, _79f, _iz7){if(_zud&&_ndh&&_qum&&_826&&_vdh){var _3pa=_erh._e5j(_y7g._znh("appDataListBox"), true);_agm._9ab(this._irl, _3pa);_3pa.setAttribute("refQuery", _qum.name);if(_79f){_3pa.setAttribute("multiSelect", "true");}_3pa.selectSingleNode(".//appListItemDefinition/appListItemLabel").setAttribute("refDataItem", _826);var _z88;if(_iz7){_z88=_frh._c6j("IDS_LBL_MUN");var _rw6=_3pa.selectSingleNode(".//appListItemDefinition/appListItemValues");this._qj1( _rw6, "<appListItemValue refDataItem=\"" + _cgm._e8j( _z88 ) + "\"></appListItemValue>");}else{var _o28=_3pa.selectSingleNode(".//appListItemDefinition/appListItemValues/appListItemValue");var _rua=_qum.query.selectNodes(".//selection/dataItem/@name");var _5wf=_frh._c6j("IDS_EL_useValue"); _8qn._ir9(_o28, "refDataItem", _5wf, _rua);_z88=_o28.getAttribute("refDataItem");}_erh._h56(_zud, "contents").appendChild(_3pa);_3pa.setAttribute("name", _wle._vh(_3pa, this._irl));_3pa.setAttribute("autoSelect", "first"); _3pa.setAttribute("refAppDrillTo", _vdh); var appSetVariableValueToDataItemValue=_erh._987(_3pa, "appOnSelectSetVariableValues/appSetVariableValueToDataItemValue");appSetVariableValueToDataItemValue.setAttribute("refAppVariable", _ndh);appSetVariableValueToDataItemValue.setAttribute("refDataItem", _z88);return [_z88, _iz7];}return [null, null];};_e3b.prototype._va=function(_6pg,_7wa,_l1h,_vtd){var _gln=0;var _fln=1000;if(_6pg){if((_7wa.Range||_7wa.unboundedRange)&&_6pg.length==2){var _3ic=_6pg[0].getAttribute("name");var _2ic=_6pg[1].getAttribute("name");var _fqi=_erh._z5b("tableCell/contents");this._281(_fqi.selectSingleNode("contents"), _7wa.Name);this._ba(_fqi, true, _3ic, _2ic, _gln, _fln, _l1h.getAttribute("name"));_vtd.selectSingleNode(".//tableCells").appendChild(_fqi);}else if(_6pg.length==1){var _ndh=_6pg[0].getAttribute("name");var _fqi=_erh._z5b("tableCell/contents");this._ba(_fqi, false, _ndh, null, _gln, _fln, _l1h.getAttribute("name"));_vtd.selectSingleNode(".//tableCells").appendChild(_fqi);}}};_e3b.prototype._ba=function(_zud, _mnm, _3ic, _2ic, _gln, _fln, _vdh){if(_zud&&_3ic&&_vdh){var _jz4=_erh._e5j(_y7g._znh("appContinuousSlider"), true);_agm._9ab(this._irl, _jz4);if(_mnm){_jz4.setAttribute("rangeType", "range");}_jz4.setAttribute("min", _gln.toString());_jz4.setAttribute("max", _fln.toString());_jz4.setAttribute("step", Math.ceil((_fln-_gln)/ 100.0));_erh._h56(_zud, "contents").appendChild(_jz4);_jz4.setAttribute("name", _wle._vh(_jz4, this._irl));if(_mnm){var _zy6=_erh._987(_jz4, "appOnSelectSetVariableValues");var _gln=_erh._e5j(_y7g._znh("appSetVariableValueToContinuousValue"), true);_gln.setAttribute("refAppVariable", _3ic);_gln.setAttribute("sourceType", "min");_zy6.appendChild(_gln); var _fln=_erh._e5j(_y7g._znh("appSetVariableValueToContinuousValue"), true);_fln.setAttribute("refAppVariable", _2ic);_fln.setAttribute("sourceType", "max");_zy6.appendChild(_fln);}else{var _zy6=_erh._987(_jz4, "appOnSelectSetVariableValues");var _ysm=this._qj1( _zy6, "<appSetVariableValueToContinuousValue refAppVariable=\"" + _cgm._e8j( _3ic ) + "\"/>");_zy6.appendChild(_ysm);}_jz4.setAttribute("refAppDrillTo", _vdh); }};_e3b.prototype._93a=function(_gif,_l1h){if(this._yp7){var _gqi=_gif.selectSingleNode(".//tableRows");if(_gqi){var _5ni=_erh._z5b("tableRow/tableCells/tableCell/contents");var _9if=_erh._z5b("table/tableRows/tableRow/tableCells/tableCell");this._qj1(_9if, "<style><CSS value=\"width:100%\"/></style>");_5ni.selectSingleNode(".//contents").appendChild(_9if);_gqi.appendChild(_5ni); this._nz9(_9if.selectSingleNode(".//tableCell"), _l1h);} }else{if(typeof this._p29!="undefined"){_l1h.selectSingleNode(".//appDrillToMethod/appDrillToReportViewer").setAttribute("target", this._p29);}}};_e3b.prototype._nz9=function(_zud,_l1h){var _eki=_erh._e5j(_y7g._znh("appIFrame"), true);var _a8k=_frh._c6j("IDS_EL_appIFrame"); var _1ic=_8qn._wh2(this._snb, _a8k, true);_eki.setAttribute("name", _1ic);this._snb.push(_1ic);_l1h.selectSingleNode(".//appDrillToMethod/appDrillToReportViewer").setAttribute("target", _1ic);_agm._9ab(this._irl, _eki);_erh._h56(_zud, "contents").appendChild(_eki); return _eki;};_e3b.prototype._281=function(_zud,_vdn){var _68e="<textItem><dataSource><staticValue>" + _cgm._e8j( _vdn ) + " :</staticValue></dataSource><style><CSS value=\"font-size:12pt\"/></style></textItem>";this._qj1(_zud, _68e);};_e3b.prototype._381=function(_jjh){var _xsd=_erh._987(this._irl, "appProperties/appVariables"); var _rff=_erh._u0g(_xsd, "appVariable");_8qn._j8b( _rff, _frh._c6j("IDS_COLLBL_REPORTPATH"), this._irl.selectNodes(".//appProperties/appVariables/appVariable/@name"), true);var _68e="<appVariableValues><appVariableValue>" + _cgm._e8j( _jjh ) + "</appVariableValue></appVariableValues>";this._qj1(_rff, _68e);return _rff.getAttribute("name");};_e3b.prototype._8t=function(_cx7,_kzi,_wqg){var _9t5=[];if(_cx7){for(var i=0; i<_cx7.length; i++){var _53m=_8qn._kph(null, _cx7[i], false, true).documentElement;var _fsm=_53m.selectSingleNode("query");if(_fsm){var _ohf=_fsm.selectNodes(".//expression");if(_ohf.length==2){var _p3h=_ohf.item(1);for(var j=0; j<_wqg.length; j++){if(_p3h.text==_wqg[j].ModelFilterItem&&_p3h.parentNode.getAttribute("name")=="displayValue"){_p3h.parentNode.setAttribute("name", _wqg[j].Name);break;}}}var _xf9=_agm._t41(this._irl);if(_kzi!==_xf9._j0n){_8qn._cqh(_fsm, ".//source/model");this._qj1(_fsm.selectSingleNode(".//source"), "<metadataPath path=\"" + _cgm._e8j( _kzi ) + "\"/>");}var _vdn=_fsm.getAttribute("name");if(_vdn){var _e0k=_erh._h56(this._irl, "queries").appendChild(_erh._woh(_fsm, true));_8qn._j8b(_e0k, _vdn, this._irl.selectNodes("queries/*/@name"), true);var _z0j=_e0k.getAttribute("name");_9t5.push({name: _z0j, query: _e0k});}}} }return _9t5;};_e3b.prototype._fr8=function(_7wa,_l1h){var _z3f=[];var _xsd=_erh._987(this._irl, "appProperties/appVariables");var _qqj=true;if(typeof(_7wa.Optional)!="undefined"&&_7wa.Optional){_qqj=false;}switch(_7wa.SimpleType){case "xsdString":this._853(_xsd, _7wa, _z3f, _l1h, _qqj);break;case "xsdDecimal":this._8m2(_xsd, _7wa, _z3f, _l1h, _qqj);break;case "memberUniqueName":if(!_7wa.IsNumeric){this._853(_xsd, _7wa, _z3f, _l1h, _qqj);}break;}return _z3f;};_e3b.prototype._8m2=function(_xsd,_7wa,_z3f,_l1h,_qqj){if(_7wa.Range||_7wa.unboundedRange){var _bpa=_erh._u0g(_xsd, "appVariable");_8qn._j8b( _bpa, "var" + _7wa.Name + "_" + _frh._c6j("IDS_PROPVAL_RANGETYPE_MIN"), _xsd.selectNodes("appVariable/@name"));_8qn._qie(_bpa, "dataType", "decimal");_z3f.push(_bpa);var _tel=_bpa.getAttribute("name");var _apa=_erh._u0g(_xsd, "appVariable");_8qn._j8b( _apa, "var" + _7wa.Name + "_" + _frh._c6j("IDS_PROPVAL_RANGETYPE_MAX"),_xsd.selectNodes("appVariable/@name")); _8qn._qie(_apa, "dataType", "decimal");_z3f.push(_apa);var _mel=_apa.getAttribute("name");this._o52(_l1h, _7wa.Name, _tel, _mel, _qqj);}else{var _rff=_erh._u0g(_xsd, "appVariable");_8qn._j8b( _rff, "var" + _7wa.Name, _xsd.selectNodes("appVariable/@name"));_8qn._qie(_rff, "dataType", "decimal");_z3f.push(_rff);this._9e5(_l1h, _7wa.Name, _rff.getAttribute("name"), _qqj);}};_e3b.prototype._853=function(_xsd,_7wa,_z3f,_l1h,_qqj){var _rff=_erh._u0g(_xsd, "appVariable");_8qn._j8b( _rff, "var" + _7wa.Name, _xsd.selectNodes("appVariable/@name"));_z3f.push(_rff);this._9e5(_l1h, _7wa.Name, _rff.getAttribute("name"), _qqj);};_e3b.prototype._7o8=function(_rih){var _l1h=_erh._e5j(_y7g._znh("appDrillTo"), true);_erh._987(this._irl, "appDrillTos").appendChild(_l1h);var _fya=this._v1f;_8qn._j8b(_l1h, this._zea, this._irl.selectNodes("appDrillTos/appDrillTo/@name"));this._1v3(_l1h);var _76h=_erh._h56(_l1h, "appDrillToParameters");this._8n2(_76h, _rih);return _l1h;};_e3b.prototype._1v3=function(_l1h){var _m28=_erh._h56(_l1h, "appDrillToMethod");var appDrillToReportViewer=_erh._z5b("appDrillToReportViewer");_m28.appendChild(appDrillToReportViewer);};_e3b.prototype._8n2=function(_76h,_rih){var _nul =[{name: "pathRef", value:_rih},{name: "format", value: this._ghd}];_4c6._722(_76h, _nul);};_e3b.prototype._9e5=function(_l1h,_i0j,_n1b,_qqj){var _76h=_erh._h56(_l1h, "appDrillToParameters");var _68e="<appDrillToParameter name=\"" + _cgm._e8j( _i0j ) + "\"><appDrillToValues><appDrillToAppVariableValues refAppVariable=\"" +_cgm._e8j(_n1b)+"\"/></appDrillToValues></appDrillToParameter>";var _2pi=this._qj1(_76h, _68e);_2pi.setAttribute("required", _qqj?"true":"false");};_e3b.prototype._o52=function(_l1h,_i0j,_i37,_h37,_qqj){var _76h=_erh._h56(_l1h, "appDrillToParameters");var _68e="<appDrillToParameter name=\"" + _cgm._e8j( _i0j ) + "\"><appDrillToValues><appDrillToAppVariableRange>";_68e += "<appDrillRangeMin refAppVariable=\"" + _cgm._e8j( _i37 ) + "\"/>";_68e += "<appDrillRangeMax refAppVariable=\"" + _cgm._e8j( _h37 ) + "\"/>";_68e+= "</appDrillToAppVariableRange></appDrillToValues></appDrillToParameter>";var _2pi=this._qj1(_76h, _68e);_2pi.setAttribute("required", _qqj?"true":"false");};_e3b.prototype._qj1=function(_q9n,_68e){var _v5l=_erh._woh(_8qn._kph(null, _68e, false, true).documentElement, true);_q9n.appendChild(_v5l);return _v5l;};function _fo1(_b6k, _lwm, _6jh, _x7i){this._cp7=null;this._bog=_6jh;this._ckm=_lwm;var _4eh ='<rns1:generatePrompts>'+'<bus:objectPath xsi:type="bus:searchPathSingleObject">' + _cgm._e8j( _lwm ) + '</bus:objectPath>' +_f8j._d66()+'<bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">' +'<item xsi:type="bus:runOptionMetadataModelItemNameArray">' +'<bus:name xsi:type="bus:runOptionEnum">promptDataItems</bus:name>' +'<bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:metadataModelItemName[]">';for(var i=0;i<_x7i.length;i++){_4eh += '<item xsi:type="bus:metadataModelItemName">' + _cgm._e8j( _x7i[ i ] ) + '</item>';}_4eh+='</bus:value>'+'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._1r3 + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._ok2 + '</bus:value>' +'</item>'+this._1w8+'</bus:options>'+'</rns1:generatePrompts>';_fo1.baseConstructor.call(this, _b6k, _ylh._4s1, _4eh);};_olk._vjl(_fo1, _ylh);_fo1.prototype._wtc=function(){return this._bog;};_fo1.prototype._xfe=function(){return this._ckm;};_fo1.prototype._s75=function(){return this._cp7;};_fo1.prototype._kt9=function(){_fo1.superClass._kt9.call(this);var _4xg=this._63g();if(_4xg){var nl=_4xg.selectNodes("/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/bus:details/item/bus:data");if(nl.length>0){this._cp7=[];for(var i=0;i<nl.length;i++){this._cp7.push(nl.item(i).text);}}}};function _zl9(_b6k, _3en, _hx4){var _4eh ='<rns1:query>'+'<objectPath xsi:type="bus:searchPathSingleObject">' +_cgm._e8j(_3en)+'</objectPath>'+_f8j._d66()+'<options xsi:type="bus:optionArray" SOAP-ENC:arrayType="bus:option[]">' +'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._1r3 + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._ok2 + '</bus:value>' +'</item>'+'<item xsi:type="bus:reportServiceQueryOptionSpecificationFormat">' +'<name xsi:type="bus:reportServiceQueryOptionEnum">specificationFormat</name>' +'<value xsi:type="bus:specificationFormatEnum">' +(_hx4?'interactiveReport':'report')+'</value>'+'</item>'+'<item xsi:type="bus:reportServiceQueryOptionBoolean">' +'<name xsi:type="bus:reportServiceQueryOptionEnum">reportQuerySets</name>' +'<value xsi:type="xs:boolean">true</value>' +'</item>'+this._1w8+'</options>'+'</rns1:query>';_zl9._72f=_4eh;_zl9._ahd="";this._s3n=_3en;this._0t7=null;_zl9.baseConstructor.call(this, _b6k, _ylh._4s1, _4eh);};_olk._vjl(_zl9, _ylh);_zl9._i7b=function(){return this._72f?this._72f:"";};_zl9._cq9=function(){return !!this._ahd?this._ahd:"";};_zl9.prototype._vdm=function(){return !!this._din?this._din:"";};_zl9.prototype._xfe=function(){return !!this._76i?this._76i:"";};_zl9.prototype._wtc=function(){return !!this._bog?this._bog:"";};_zl9.prototype._76j=function(){return !!this._4tl?this._4tl:"";};_zl9.prototype._kt9=function(){_zl9.superClass._kt9.call(this);var _7ma=this._63g();if(!_7ma){return;}_zl9._ahd=this._0r9();var _sln=_7ma.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*//item[@xsi:type='bus:asynchDetailUnstructuredData']/bus:data");var _sd9=_8qn._kph(_5hk, _sln.text);var _wni=_sd9.selectSingleNode(".//modelPath");var _y6h=_7ma.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*//item[@xsi:type='bus:asynchDetailReportObject']/bus:report/bus:searchPath/bus:value");var _j7l=_7ma.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*//item[@xsi:type='bus:asynchDetailReportObject']/bus:report/bus:storeID/bus:value");if(!_sln){return;}this._din=_sln.text; this._76i=_wni?_wni.text:"";if(!_y6h){return;}this._bog=_y6h.text;if(!_j7l){return;}this._4tl=_j7l.text;};