gx.evt.autoSkip=false;function himh207(){this.ServerClass="HImh207";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.Validv_Undcod=function(){try{var a=gx.util.balloon.getNew("vUNDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e11go2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e14go2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e15go2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,10,13,16,18,22,23,24,25,26,27,28,29,30];this.GXLastCtrlId=30;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh207",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(119,22,"CEUQTDMAXI","Qt.máxima","","CeuQtdMaxI","int",0,"px",4,4,"right",null,[],119,"CeuQtdMaxI",true,0,false,false);
this.Grid1Container.addSingleLineEdit(884,23,"TIUDES","Tipo de leitor","","TiuDes","char",0,"px",30,30,"left",null,[],884,"TiuDes",true,0,false,false);this.Grid1Container.addSingleLineEdit(84,24,"CAENOM","Categoria","","CaeNom","char",0,"px",30,30,"left",null,[],84,"CaeNom",true,0,false,false);this.Grid1Container.addComboBox(1016,25,"CAEINDACUM","Acumular","CaeIndAcum","char",null,0,true,false,0,"px");this.Grid1Container.addComboBox(1092,26,"CECNRODIAS","Dia da semana","CecNroDiaS","int",null,0,true,false,0,"px");
this.Grid1Container.addSingleLineEdit(107,27,"CECQTDMAXI","Qt.itens","","CecQtdMaxI","int",0,"px",4,4,"right",null,[],107,"CecQtdMaxI",true,0,false,false);this.Grid1Container.addSingleLineEdit(108,28,"CECQTDPRAZ","Prazo","","CecQtdPraz","int",0,"px",3,3,"right",null,[],108,"CecQtdPraz",true,0,false,false);this.Grid1Container.addComboBox(110,29,"CECTIPPRAZ","Tipo","CecTipPraz","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(109,30,"CECQTDSUSP","Qt.dias suspensão","","CecQtdSusp","int",0,"px",4,4,"right",null,[],109,"CecQtdSusp",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[18]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Undcod,isvalid:null,rgrid:[this.Grid1Container],fld:"vUNDCOD",gxz:"ZV18UndCod",gxold:"OV18UndCod",gxvar:"AV18UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV18UndCod,0)},c2v:function(){gx.O.AV18UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEUQTDMAXI",gxz:"Z119CeuQtdMaxI",gxold:"O119CeuQtdMaxI",gxvar:"A119CeuQtdMaxI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A119CeuQtdMaxI=gx.num.intval(a)
},v2z:function(a){gx.O.Z119CeuQtdMaxI=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEUQTDMAXI",gx.fn.currentGridRowImpl(21),gx.O.A119CeuQtdMaxI,0)},c2v:function(){gx.O.A119CeuQtdMaxI=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEUQTDMAXI",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIUDES",gxz:"Z884TiuDes",gxold:"O884TiuDes",gxvar:"A884TiuDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A884TiuDes=a
},v2z:function(a){gx.O.Z884TiuDes=a},v2c:function(){gx.fn.setGridControlValue("TIUDES",gx.fn.currentGridRowImpl(21),gx.O.A884TiuDes,0)},c2v:function(){gx.O.A884TiuDes=this.val()},val:function(){return gx.fn.getGridControlValue("TIUDES",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAENOM",gxz:"Z84CaeNom",gxold:"O84CaeNom",gxvar:"A84CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A84CaeNom=a
},v2z:function(a){gx.O.Z84CaeNom=a},v2c:function(){gx.fn.setGridControlValue("CAENOM",gx.fn.currentGridRowImpl(21),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAEINDACUM",gxz:"Z1016CaeIndAcum",gxold:"O1016CaeIndAcum",gxvar:"A1016CaeIndAcum",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1016CaeIndAcum=a
},v2z:function(a){gx.O.Z1016CaeIndAcum=a},v2c:function(){gx.fn.setGridComboBoxValue("CAEINDACUM",gx.fn.currentGridRowImpl(21),gx.O.A1016CaeIndAcum)},c2v:function(){gx.O.A1016CaeIndAcum=this.val()},val:function(){return gx.fn.getGridControlValue("CAEINDACUM",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CECNRODIAS",gxz:"Z1092CecNroDiaS",gxold:"O1092CecNroDiaS",gxvar:"A1092CecNroDiaS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1092CecNroDiaS=gx.num.intval(a)
},v2z:function(a){gx.O.Z1092CecNroDiaS=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("CECNRODIAS",gx.fn.currentGridRowImpl(21),gx.O.A1092CecNroDiaS)},c2v:function(){gx.O.A1092CecNroDiaS=this.val()},val:function(){return gx.fn.getGridIntegerValue("CECNRODIAS",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CECQTDMAXI",gxz:"Z107CecQtdMaxI",gxold:"O107CecQtdMaxI",gxvar:"A107CecQtdMaxI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A107CecQtdMaxI=gx.num.intval(a)
},v2z:function(a){gx.O.Z107CecQtdMaxI=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CECQTDMAXI",gx.fn.currentGridRowImpl(21),gx.O.A107CecQtdMaxI,0)},c2v:function(){gx.O.A107CecQtdMaxI=this.val()},val:function(){return gx.fn.getGridIntegerValue("CECQTDMAXI",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CECQTDPRAZ",gxz:"Z108CecQtdPraz",gxold:"O108CecQtdPraz",gxvar:"A108CecQtdPraz",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A108CecQtdPraz=gx.num.intval(a)
},v2z:function(a){gx.O.Z108CecQtdPraz=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CECQTDPRAZ",gx.fn.currentGridRowImpl(21),gx.O.A108CecQtdPraz,0)},c2v:function(){gx.O.A108CecQtdPraz=this.val()},val:function(){return gx.fn.getGridIntegerValue("CECQTDPRAZ",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CECTIPPRAZ",gxz:"Z110CecTipPraz",gxold:"O110CecTipPraz",gxvar:"A110CecTipPraz",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A110CecTipPraz=a
},v2z:function(a){gx.O.Z110CecTipPraz=a},v2c:function(){gx.fn.setGridComboBoxValue("CECTIPPRAZ",gx.fn.currentGridRowImpl(21),gx.O.A110CecTipPraz)},c2v:function(){gx.O.A110CecTipPraz=this.val()},val:function(){return gx.fn.getGridControlValue("CECTIPPRAZ",gx.fn.currentGridRowImpl(21))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CECQTDSUSP",gxz:"Z109CecQtdSusp",gxold:"O109CecQtdSusp",gxvar:"A109CecQtdSusp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A109CecQtdSusp=gx.num.intval(a)
},v2z:function(a){gx.O.Z109CecQtdSusp=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CECQTDSUSP",gx.fn.currentGridRowImpl(21),gx.O.A109CecQtdSusp,0)},c2v:function(){gx.O.A109CecQtdSusp=this.val()},val:function(){return gx.fn.getGridIntegerValue("CECQTDSUSP",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.AV18UndCod=0;this.ZV18UndCod=0;this.OV18UndCod=0;this.Z119CeuQtdMaxI=0;this.O119CeuQtdMaxI=0;this.Z884TiuDes="";this.O884TiuDes="";this.Z84CaeNom="";this.O84CaeNom="";
this.Z1016CaeIndAcum="";this.O1016CaeIndAcum="";this.Z1092CecNroDiaS=0;this.O1092CecNroDiaS=0;this.Z107CecQtdMaxI=0;this.O107CecQtdMaxI=0;this.Z108CecQtdPraz=0;this.O108CecQtdPraz=0;this.Z110CecTipPraz="";this.O110CecTipPraz="";this.Z109CecQtdSusp=0;this.O109CecQtdSusp=0;this.A922UndCod=0;this.A883TiuCod="";this.A79CaeCod=0;this.A119CeuQtdMaxI=0;this.A884TiuDes="";this.A84CaeNom="";this.A1016CaeIndAcum="";this.A1092CecNroDiaS=0;this.A107CecQtdMaxI=0;this.A108CecQtdPraz=0;this.A110CecTipPraz="";this.A109CecQtdSusp=0;
this.ServerEvents=["e11go2_client","e14go2_client","e15go2_client"];this.Grid1Container.addRefreshingVar(this.GXValidFnc[18]);this.SetStandaloneVars()}himh207.prototype=new gx.GxObject;gx.setParentObj(new himh207());