gx.evt.autoSkip=false;function hzitens(){this.ServerClass="HZItens";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV17DvoNroVolume=gx.fn.getIntegerValue("vDVONROVOLUME",".")};this.e128s2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e148s1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,19,20];
this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",18,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hzitens",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(317,19,"DVONROVOLU","Item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit("Deslongaitem",20,"vDESLONGAITEM","Especificação","","DesLongaItem","char",0,"px",70,70,"left",null,[],"Deslongaitem","DesLongaItem",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[19]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:18,gxgrid:this.Grid1Container,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(18),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(18),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDESLONGAITEM",gxz:"ZV14DesLongaItem",gxold:"OV14DesLongaItem",gxvar:"AV14DesLongaItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DesLongaItem=a
},v2z:function(a){gx.O.ZV14DesLongaItem=a},v2c:function(){gx.fn.setGridControlValue("vDESLONGAITEM",gx.fn.currentGridRowImpl(18),gx.O.AV14DesLongaItem,0)},c2v:function(){gx.O.AV14DesLongaItem=this.val()},val:function(){return gx.fn.getGridControlValue("vDESLONGAITEM",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.ZV14DesLongaItem="";this.OV14DesLongaItem="";this.AV5DocNro=0;this.AV17DvoNroVolume=0;this.A258DocNro=0;this.A223DitNroEdic="";
this.A220DitAnoEdic="";this.A227DitValExte="";this.A224DitNroTomo="";this.A225DitNroVolu="";this.A222DitDatPubl=gx.date.nullDate();this.A226DitTipFasc="";this.A317DvoNroVolu=0;this.AV14DesLongaItem="";this.ServerEvents=["e128s2_client","e148s1_client"];this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV17DvoNroVolume={id:"vDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.A226DitTipFasc={id:"DITTIPFASC",grid:0,type:"char"};
this.VarControlMap.A222DitDatPubl={id:"DITDATPUBL",grid:0,type:"date"};this.VarControlMap.AV13IdItem={id:"vIDITEM",grid:0,type:"char"};this.VarControlMap.AV18TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.A223DitNroEdic={id:"DITNROEDIC",grid:0,type:"char"};this.VarControlMap.A220DitAnoEdic={id:"DITANOEDIC",grid:0,type:"char"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:0,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};
this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV5DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A226DitTipFasc"});this.Grid1Container.addRefreshingVar({rfrVar:"A222DitDatPubl"});this.Grid1Container.addRefreshingVar({rfrVar:"AV13IdItem"});this.Grid1Container.addRefreshingVar({rfrVar:"AV18TidIndModoPublicacao"});this.Grid1Container.addRefreshingVar({rfrVar:"A223DitNroEdic"});this.Grid1Container.addRefreshingVar({rfrVar:"A220DitAnoEdic"});
this.Grid1Container.addRefreshingVar({rfrVar:"A227DitValExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A224DitNroTomo"});this.Grid1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});this.SetStandaloneVars()}hzitens.prototype=new gx.GxObject;gx.setParentObj(new hzitens());