dojo.provide("parus.balanceReportsExchangeJournalDialog");dojo.require("dijit.Dialog");dojo.require("dijit.form.Button");dojo.require("parus.parus8");dojo.require("parus.dialog");dojo.declare("parus.balanceReportsExchangeJournalDialog",[parus.Dialog],{kind:null,catalog_name:null,postCreate:function(){this.inherited(arguments);this.grid.attr("store",new parus.gridData({queryid:"BalanceReportExchangeJournal",identityFieldName:"RN",onComplete:dojo.hitch(this,function(d,c,b){this.grid.selection.selectRange(0,c.length-1)}),onGetConditions:dojo.hitch(this,function(b){return{KIND:this.kind,CATALOG_NAME:this.catalog_name}})}));this.grid.setQuery({});this.popupMenu.bindDomNode(this.grid.viewsNode);parus.balance._createActionsButton(this.popupMenu,this.headerPane);var a=parus.userdata.get(this.declaredClass);if(a){parus.gridSettingsDialog.mergeGridSettings(this.grid,a.gridSettings);parus.gridSettingsDialog.mergeColorConditions(this.grid,a.colorConditions);parus.gridSettingsDialog.mergeMenuSettings(this.popupMenu,a.actionSettings,a.userProcsActions,a.userReportsActions,a.userAppsActions);parus.gridSettingsDialog.mergeFilterBar(this.grid,a.showFilterBar,a.filterValues,a.sortInfo)}}});