gx.evt.autoSkip=false;function himh283(){this.ServerClass="HImh283";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".");this.AV5NroItem=gx.fn.getIntegerValue("vNROITEM",".")};this.e14jn2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e15jn1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,9,11,14,16,20,21];
this.GXLastCtrlId=21;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",19,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh283",[],false,1,false,true,18,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Grdnroitem",20,"vGRDNROITEM","Item","","GrdNroItem","int",0,"px",6,6,"right",null,[],"Grdnroitem","GrdNroItem",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdvalespecificacao",21,"vGRDVALESPECIFICACAO","Especificação","","GrdValEspecificacao","char",0,"px",20,20,"left",null,[],"Grdvalespecificacao","GrdValEspecificacao",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[11]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[16]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALESPECIFICACAO",gxz:"ZV10ScrValEspecificacao",gxold:"OV10ScrValEspecificacao",gxvar:"AV10ScrValEspecificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10ScrValEspecificacao=a
},v2z:function(a){gx.O.ZV10ScrValEspecificacao=a},v2c:function(){gx.fn.setControlValue("vSCRVALESPECIFICACAO",gx.O.AV10ScrValEspecificacao,0)},c2v:function(){gx.O.AV10ScrValEspecificacao=this.val()},val:function(){return gx.fn.getControlValue("vSCRVALESPECIFICACAO")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:19,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROITEM",gxz:"ZV7GrdNroItem",gxold:"OV7GrdNroItem",gxvar:"AV7GrdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7GrdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROITEM",gx.fn.currentGridRowImpl(19),gx.O.AV7GrdNroItem,0)},c2v:function(){gx.O.AV7GrdNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROITEM",gx.fn.currentGridRowImpl(19),".")},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:19,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDVALESPECIFICACAO",gxz:"ZV8GrdValEspecificacao",gxold:"OV8GrdValEspecificacao",gxvar:"AV8GrdValEspecificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8GrdValEspecificacao=a
},v2z:function(a){gx.O.ZV8GrdValEspecificacao=a},v2c:function(){gx.fn.setGridControlValue("vGRDVALESPECIFICACAO",gx.fn.currentGridRowImpl(19),gx.O.AV8GrdValEspecificacao,0)},c2v:function(){gx.O.AV8GrdValEspecificacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDVALESPECIFICACAO",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.AV10ScrValEspecificacao="";this.ZV10ScrValEspecificacao="";this.OV10ScrValEspecificacao="";this.ZV7GrdNroItem=0;this.OV7GrdNroItem=0;this.ZV8GrdValEspecificacao="";
this.OV8GrdValEspecificacao="";this.A258DocNro=0;this.AV5NroItem=0;this.AV7GrdNroItem=0;this.AV8GrdValEspecificacao="";this.A225DitNroVolu="";this.A317DvoNroVolu=0;this.ServerEvents=["e14jn2_client","e15jn1_client"];this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.AV5NroItem={id:"vNROITEM",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A317DvoNroVolu={id:"DVONROVOLU",grid:0,type:"int"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A317DvoNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});this.Grid1Container.addRefreshingVar(this.GXValidFnc[16]);this.SetStandaloneVars()}himh283.prototype=new gx.GxObject;gx.setParentObj(new himh283());