gx.evt.autoSkip=false;function himh054(){this.ServerClass="HImh054";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Usbcodde=function(){try{var a=gx.util.balloon.getNew("vUSBCODDE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Usbcodpara=function(){try{var a=gx.util.balloon.getNew("vUSBCODPARA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.e112h2_client=function(){this.executeServerEvent("ENTER",true)};this.e132h2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e152h2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,7,16,19,22,24,27,29,35,38,40,41,42];this.GXLastCtrlId=42;this.GXValidFnc[4]={fld:"TABLE3",grid:0};this.GXValidFnc[7]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcodde,isvalid:null,fld:"vUSBCODDE",gxz:"ZV9UsbCodDe",gxold:"OV9UsbCodDe",gxvar:"AV9UsbCodDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9UsbCodDe=a},v2z:function(a){gx.O.ZV9UsbCodDe=a},v2c:function(){gx.fn.setControlValue("vUSBCODDE",gx.O.AV9UsbCodDe,0)},c2v:function(){gx.O.AV9UsbCodDe=this.val()},val:function(){return gx.fn.getControlValue("vUSBCODDE")},nac:function(){return false
}};this.GXValidFnc[27]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcodpara,isvalid:null,fld:"vUSBCODPARA",gxz:"ZV10UsbCodPara",gxold:"OV10UsbCodPara",gxvar:"AV10UsbCodPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10UsbCodPara=a},v2z:function(a){gx.O.ZV10UsbCodPara=a},v2c:function(){gx.fn.setControlValue("vUSBCODPARA",gx.O.AV10UsbCodPara,0)},c2v:function(){gx.O.AV10UsbCodPara=this.val()
},val:function(){return gx.fn.getControlValue("vUSBCODPARA")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TABLE4",grid:0};this.GXValidFnc[38]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDDELUSB",gxz:"ZV8IndDelUsb",gxold:"OV8IndDelUsb",gxvar:"AV8IndDelUsb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8IndDelUsb=a},v2z:function(a){gx.O.ZV8IndDelUsb=a},v2c:function(){gx.fn.setComboBoxValue("vINDDELUSB",gx.O.AV8IndDelUsb)
},c2v:function(){gx.O.AV8IndDelUsb=this.val()},val:function(){return gx.fn.getControlValue("vINDDELUSB")},nac:function(){return false}};this.GXValidFnc[41]={fld:"PROMPT_USBCODDE",grid:0};this.GXValidFnc[42]={fld:"PROMPT_USBCODPARA",grid:0};this.AV9UsbCodDe="";this.ZV9UsbCodDe="";this.OV9UsbCodDe="";this.AV10UsbCodPara="";this.ZV10UsbCodPara="";this.OV10UsbCodPara="";this.AV8IndDelUsb="";this.ZV8IndDelUsb="";this.OV8IndDelUsb="";this.A787UsbCod="";this.A786UsbNom="";this.ServerEvents=["e112h2_client","e132h2_client","e152h2_client"];
this.setPrompt("PROMPT_USBCODDE",[24]);this.setPrompt("PROMPT_USBCODPARA",[29]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh054.prototype=new gx.GxObject;gx.setParentObj(new himh054());