gx.evt.autoSkip=false;function himh148(){this.ServerClass="HImh148";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e12212_client=function(){this.executeServerEvent("ENTER",true)};this.e13212_client=function(){this.executeServerEvent("'APAGAR'",false)};this.e14212_client=function(){this.executeServerEvent("'GET'",false)};this.e16211_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,25,30,32,35,37,40,42,45,47,50,52,55,57,60,62,65,67,69,70];
this.GXLastCtrlId=70;this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE3",grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV18DocNro",gxold:"OV18DocNro",gxvar:"AV18DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV18DocNro,0)},c2v:function(){gx.O.AV18DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPCOD",gxz:"ZV20TipCod",gxold:"OV20TipCod",gxvar:"AV20TipCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20TipCod=a
},v2z:function(a){gx.O.ZV20TipCod=a},v2c:function(){gx.fn.setControlValue("vTIPCOD",gx.O.AV20TipCod,0)},c2v:function(){gx.O.AV20TipCod=this.val()},val:function(){return gx.fn.getControlValue("vTIPCOD")},nac:function(){return false}};this.GXValidFnc[37]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPDES",gxz:"ZV21TipDes",gxold:"OV21TipDes",gxvar:"AV21TipDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21TipDes=a},v2z:function(a){gx.O.ZV21TipDes=a
},v2c:function(){gx.fn.setControlValue("vTIPDES",gx.O.AV21TipDes,0)},c2v:function(){gx.O.AV21TipDes=this.val()},val:function(){return gx.fn.getControlValue("vTIPDES")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLGLDATASSINATURA",gxz:"ZV22LglDatAssinatura",gxold:"OV22LglDatAssinatura",gxvar:"AV22LglDatAssinatura",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.AV22LglDatAssinatura=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV22LglDatAssinatura=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vLGLDATASSINATURA",gx.O.AV22LglDatAssinatura,0)},c2v:function(){gx.O.AV22LglDatAssinatura=this.val()},val:function(){return gx.fn.getControlValue("vLGLDATASSINATURA")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLGLDATEDICAO",gxz:"ZV24LglDatEdicao",gxold:"OV24LglDatEdicao",gxvar:"AV24LglDatEdicao",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.AV24LglDatEdicao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV24LglDatEdicao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vLGLDATEDICAO",gx.O.AV24LglDatEdicao,0)},c2v:function(){gx.O.AV24LglDatEdicao=this.val()},val:function(){return gx.fn.getControlValue("vLGLDATEDICAO")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLGLDATPUBLICACAO",gxz:"ZV25LglDatPublicacao",gxold:"OV25LglDatPublicacao",gxvar:"AV25LglDatPublicacao",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.AV25LglDatPublicacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV25LglDatPublicacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vLGLDATPUBLICACAO",gx.O.AV25LglDatPublicacao,0)},c2v:function(){gx.O.AV25LglDatPublicacao=this.val()},val:function(){return gx.fn.getControlValue("vLGLDATPUBLICACAO")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLGLDATATUALIZACAO",gxz:"ZV23LglDatAtualizacao",gxold:"OV23LglDatAtualizacao",gxvar:"AV23LglDatAtualizacao",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.AV23LglDatAtualizacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV23LglDatAtualizacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vLGLDATATUALIZACAO",gx.O.AV23LglDatAtualizacao,0)},c2v:function(){gx.O.AV23LglDatAtualizacao=this.val()},val:function(){return gx.fn.getControlValue("vLGLDATATUALIZACAO")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLGLINDSITUACAO",gxz:"ZV26LglIndSituacao",gxold:"OV26LglIndSituacao",gxvar:"AV26LglIndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV26LglIndSituacao=a
},v2z:function(a){gx.O.ZV26LglIndSituacao=a},v2c:function(){gx.fn.setComboBoxValue("vLGLINDSITUACAO",gx.O.AV26LglIndSituacao)},c2v:function(){gx.O.AV26LglIndSituacao=this.val()},val:function(){return gx.fn.getControlValue("vLGLINDSITUACAO")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLGLNRODOCUMENTOREVOGADAPOR",gxz:"ZV28LglNroDocumentoRevogadaPor",gxold:"OV28LglNroDocumentoRevogadaPor",gxvar:"AV28LglNroDocumentoRevogadaPor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28LglNroDocumentoRevogadaPor=gx.num.intval(a)
},v2z:function(a){gx.O.ZV28LglNroDocumentoRevogadaPor=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLGLNRODOCUMENTOREVOGADAPOR",gx.O.AV28LglNroDocumentoRevogadaPor,0)},c2v:function(){gx.O.AV28LglNroDocumentoRevogadaPor=this.val()},val:function(){return gx.fn.getIntegerValue("vLGLNRODOCUMENTOREVOGADAPOR",".")},nac:function(){return false}};this.GXValidFnc[69]={fld:"PROMPT_TIPCOD",grid:0};this.GXValidFnc[70]={fld:"PROMPT_LGLNRODOCUMENTOREVOGADAPOR",grid:0};this.AV18DocNro=0;this.ZV18DocNro=0;
this.OV18DocNro=0;this.AV20TipCod="";this.ZV20TipCod="";this.OV20TipCod="";this.AV21TipDes="";this.ZV21TipDes="";this.OV21TipDes="";this.AV22LglDatAssinatura=gx.date.nullDate();this.ZV22LglDatAssinatura=gx.date.nullDate();this.OV22LglDatAssinatura=gx.date.nullDate();this.AV24LglDatEdicao=gx.date.nullDate();this.ZV24LglDatEdicao=gx.date.nullDate();this.OV24LglDatEdicao=gx.date.nullDate();this.AV25LglDatPublicacao=gx.date.nullDate();this.ZV25LglDatPublicacao=gx.date.nullDate();this.OV25LglDatPublicacao=gx.date.nullDate();
this.AV23LglDatAtualizacao=gx.date.nullDate();this.ZV23LglDatAtualizacao=gx.date.nullDate();this.OV23LglDatAtualizacao=gx.date.nullDate();this.AV26LglIndSituacao="";this.ZV26LglIndSituacao="";this.OV26LglIndSituacao="";this.AV28LglNroDocumentoRevogadaPor=0;this.ZV28LglNroDocumentoRevogadaPor=0;this.OV28LglNroDocumentoRevogadaPor=0;this.ServerEvents=["e12212_client","e13212_client","e14212_client","e16211_client"];this.setPrompt("PROMPT_TIPCOD",[35]);this.setPrompt("PROMPT_LGLNRODOCUMENTOREVOGADAPOR",[67]);
this.EnterCtrl=["INSERIR"];this.SetStandaloneVars()}himh148.prototype=new gx.GxObject;gx.setParentObj(new himh148());