gx.evt.autoSkip=false;function hzvolume(){this.ServerClass="HZVolume";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".");this.AV18UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV17DoeNroExem=gx.fn.getIntegerValue("vDOENROEXEM",".");this.AV15DevNroSeq=gx.fn.getIntegerValue("vDEVNROSEQ",".");this.AV16DvoNroTomo=gx.fn.getIntegerValue("vDVONROTOMO",".")};this.e118v2_client=function(){this.executeServerEvent("ENTER",true)
};this.e128v2_client=function(){this.executeServerEvent("'LAST'",false)};this.e138v2_client=function(){this.executeServerEvent("'FIRST'",false)};this.e148v2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e158v2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e178v2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,8,22,23,24,25,26];this.GXLastCtrlId=26;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzvolume",[],false,1,false,true,10,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit(315,22,"DVONROTOMB","Tombo","","DvoNroTomb","int",0,"px",6,6,"right",null,[],315,"DvoNroTomb",true,0,false,false);this.Subfile1Container.addSingleLineEdit(317,23,"DVONROVOLU","Volume","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Subfile1Container.addSingleLineEdit(922,24,"UNDCOD","Un.","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(281,25,"DOENROSEQU","Exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(316,26,"DVONROTOMO","Tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROTOMB",gxz:"Z315DvoNroTomb",gxold:"O315DvoNroTomb",gxvar:"A315DvoNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A315DvoNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z315DvoNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROTOMB",gx.fn.currentGridRowImpl(21),gx.O.A315DvoNroTomb,1)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMB",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A317DvoNroVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z317DvoNroVolu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROVOLU",gx.fn.currentGridRowImpl(21),gx.O.A317DvoNroVolu,1)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:21,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(21),gx.O.A922UndCod,1)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:21,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(21),gx.O.A281DoeNroSequ,1)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:21,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROTOMO",gxz:"Z316DvoNroTomo",gxold:"O316DvoNroTomo",gxvar:"A316DvoNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A316DvoNroTomo=gx.num.intval(a)
},v2z:function(a){gx.O.Z316DvoNroTomo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROTOMO",gx.fn.currentGridRowImpl(21),gx.O.A316DvoNroTomo,1)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.Z315DvoNroTomb=0;this.O315DvoNroTomb=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;
this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.AV18UndCod=0;this.AV17DoeNroExem=0;this.AV15DevNroSeq=0;this.AV16DvoNroTomo=0;this.A258DocNro=0;this.A315DvoNroTomb=0;this.A317DvoNroVolu=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A316DvoNroTomo=0;this.ServerEvents=["e118v2_client","e128v2_client","e138v2_client","e148v2_client","e158v2_client","e178v2_client"];this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.AV18UndCod={id:"vUNDCOD",grid:0,type:"int"};
this.VarControlMap.AV17DoeNroExem={id:"vDOENROEXEM",grid:0,type:"int"};this.VarControlMap.AV15DevNroSeq={id:"vDEVNROSEQ",grid:0,type:"int"};this.VarControlMap.AV16DvoNroTomo={id:"vDVONROTOMO",grid:0,type:"int"};this.VarControlMap.AV18UndCod={id:"vUNDCOD",grid:0,type:"int"};this.VarControlMap.AV17DoeNroExem={id:"vDOENROEXEM",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"AV18UndCod"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV17DoeNroExem"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.SetStandaloneVars()}hzvolume.prototype=new gx.GxObject;gx.setParentObj(new hzvolume());