gx.evt.autoSkip=false;function himh070(){this.ServerClass="HImh070";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV31TipOrigem=gx.fn.getControlValue("vTIPORIGEM")};this.e122k2_client=function(){this.executeServerEvent("ENTER",true)};this.e132k2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e152k2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,11,13,19,22,24,26,29,31,33,36,38,41,44,46,49,51,54,56,59,61];
this.GXLastCtrlId=61;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE5",grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV10UsbCod",gxold:"OV10UsbCod",gxvar:"AV10UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10UsbCod=a
},v2z:function(a){gx.O.ZV10UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV10UsbCod,0)},c2v:function(){gx.O.AV10UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[26]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBNOM",gxz:"ZV11UsbNom",gxold:"OV11UsbNom",gxvar:"AV11UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11UsbNom=a},v2z:function(a){gx.O.ZV11UsbNom=a
},v2c:function(){gx.fn.setControlValue("vUSBNOM",gx.O.AV11UsbNom,0)},c2v:function(){gx.O.AV11UsbNom=this.val()},val:function(){return gx.fn.getControlValue("vUSBNOM")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATMOVTO",gxz:"ZV13DatMovto",gxold:"OV13DatMovto",gxvar:"AV13DatMovto",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13DatMovto=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV13DatMovto=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATMOVTO",gx.O.AV13DatMovto,0)},c2v:function(){gx.O.AV13DatMovto=this.val()},val:function(){return gx.fn.getControlValue("vDATMOVTO")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.GXValidFnc[36]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODRESP",gxz:"ZV17UsuCodResp",gxold:"OV17UsuCodResp",gxvar:"AV17UsuCodResp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17UsuCodResp=a
},v2z:function(a){gx.O.ZV17UsuCodResp=a},v2c:function(){gx.fn.setControlValue("vUSUCODRESP",gx.O.AV17UsuCodResp,0)},c2v:function(){gx.O.AV17UsuCodResp=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODRESP")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TABLE3",grid:0};this.GXValidFnc[44]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCRCCODUNIDADEDEPOSITARIA",gxz:"ZV29CrcCodUnidadeDepositaria",gxold:"OV29CrcCodUnidadeDepositaria",gxvar:"AV29CrcCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29CrcCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29CrcCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRCCODUNIDADEDEPOSITARIA",gx.O.AV29CrcCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV29CrcCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vCRCCODUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRCVALRECEBER",gxz:"ZV20CrcValReceber",gxold:"OV20CrcValReceber",gxvar:"AV20CrcValReceber",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20CrcValReceber=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV20CrcValReceber=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vCRCVALRECEBER",gx.O.AV20CrcValReceber,2,",")},c2v:function(){gx.O.AV20CrcValReceber=this.val()},val:function(){return gx.fn.getDecimalValue("vCRCVALRECEBER",".",",")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRCDESHISTORICO",gxz:"ZV21CrcDesHistorico",gxold:"OV21CrcDesHistorico",gxvar:"AV21CrcDesHistorico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21CrcDesHistorico=a
},v2z:function(a){gx.O.ZV21CrcDesHistorico=a},v2c:function(){gx.fn.setControlValue("vCRCDESHISTORICO",gx.O.AV21CrcDesHistorico,0)},c2v:function(){gx.O.AV21CrcDesHistorico=this.val()},val:function(){return gx.fn.getControlValue("vCRCDESHISTORICO")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCRCTIPRECEITA",gxz:"ZV19CrcTipReceita",gxold:"OV19CrcTipReceita",gxvar:"AV19CrcTipReceita",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV19CrcTipReceita=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19CrcTipReceita=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vCRCTIPRECEITA",gx.O.AV19CrcTipReceita)},c2v:function(){gx.O.AV19CrcTipReceita=this.val()},val:function(){return gx.fn.getIntegerValue("vCRCTIPRECEITA",".")},nac:function(){return false}};this.AV10UsbCod="";this.ZV10UsbCod="";this.OV10UsbCod="";this.AV11UsbNom="";this.ZV11UsbNom="";this.OV11UsbNom="";this.AV13DatMovto=gx.date.nullDate();this.ZV13DatMovto=gx.date.nullDate();this.OV13DatMovto=gx.date.nullDate();
this.AV17UsuCodResp="";this.ZV17UsuCodResp="";this.OV17UsuCodResp="";this.AV29CrcCodUnidadeDepositaria=0;this.ZV29CrcCodUnidadeDepositaria=0;this.OV29CrcCodUnidadeDepositaria=0;this.AV20CrcValReceber=0;this.ZV20CrcValReceber=0;this.OV20CrcValReceber=0;this.AV21CrcDesHistorico="";this.ZV21CrcDesHistorico="";this.OV21CrcDesHistorico="";this.AV19CrcTipReceita=0;this.ZV19CrcTipReceita=0;this.OV19CrcTipReceita=0;this.AV31TipOrigem="";this.ServerEvents=["e122k2_client","e132k2_client","e152k2_client"];
this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV31TipOrigem={id:"vTIPORIGEM",grid:0,type:"char"};this.SetStandaloneVars()}himh070.prototype=new gx.GxObject;gx.setParentObj(new himh070());