gx.evt.autoSkip=false;function himh135(){this.ServerClass="HImh135";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e116h2_client=function(){this.executeServerEvent("ENTER",true)};this.e146h2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e156h2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,38,40,43,45,48,50,52,55,57,60,62,65,67,69,72,74,77,79,82,84,86,87,88,89,90];
this.GXLastCtrlId=90;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODPADR",gxz:"ZV15UndCodPadr",gxold:"OV15UndCodPadr",gxvar:"AV15UndCodPadr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15UndCodPadr=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15UndCodPadr=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODPADR",gx.O.AV15UndCodPadr,0)},c2v:function(){gx.O.AV15UndCodPadr=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODPADR",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODLOCAL",gxz:"ZV33ScrCodLocal",gxold:"OV33ScrCodLocal",gxvar:"AV33ScrCodLocal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33ScrCodLocal=gx.num.intval(a)
},v2z:function(a){gx.O.ZV33ScrCodLocal=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODLOCAL",gx.O.AV33ScrCodLocal,0)},c2v:function(){gx.O.AV33ScrCodLocal=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODLOCAL",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDCOD",gxz:"ZV5TidCod",gxold:"OV5TidCod",gxvar:"AV5TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5TidCod=a
},v2z:function(a){gx.O.ZV5TidCod=a},v2c:function(){gx.fn.setControlValue("vTIDCOD",gx.O.AV5TidCod,0)},c2v:function(){gx.O.AV5TidCod=this.val()},val:function(){return gx.fn.getControlValue("vTIDCOD")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vFORCOD",gxz:"ZV26ForCod",gxold:"OV26ForCod",gxvar:"AV26ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV26ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vFORCOD",gx.O.AV26ForCod,0)},c2v:function(){gx.O.AV26ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("vFORCOD",".")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTPACOD",gxz:"ZV28TpaCod",gxold:"OV28TpaCod",gxvar:"AV28TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28TpaCod=a
},v2z:function(a){gx.O.ZV28TpaCod=a},v2c:function(){gx.fn.setControlValue("vTPACOD",gx.O.AV28TpaCod,0)},c2v:function(){gx.O.AV28TpaCod=this.val()},val:function(){return gx.fn.getControlValue("vTPACOD")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[45]={fld:"TABLE3",grid:0};this.GXValidFnc[48]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNRTOMBOINI",gxz:"ZV9NrTomboIni",gxold:"OV9NrTomboIni",gxvar:"AV9NrTomboIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9NrTomboIni=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9NrTomboIni=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNRTOMBOINI",gx.O.AV9NrTomboIni,0)},c2v:function(){gx.O.AV9NrTomboIni=this.val()},val:function(){return gx.fn.getIntegerValue("vNRTOMBOINI",".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNRTOMBOFIM",gxz:"ZV16NrTomboFim",gxold:"OV16NrTomboFim",gxvar:"AV16NrTomboFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16NrTomboFim=gx.num.intval(a)
},v2z:function(a){gx.O.ZV16NrTomboFim=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNRTOMBOFIM",gx.O.AV16NrTomboFim,0)},c2v:function(){gx.O.AV16NrTomboFim=this.val()},val:function(){return gx.fn.getIntegerValue("vNRTOMBOFIM",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDSITUACAOTOMBOS",gxz:"ZV30IndSituacaoTombos",gxold:"OV30IndSituacaoTombos",gxvar:"AV30IndSituacaoTombos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV30IndSituacaoTombos=a
},v2z:function(a){gx.O.ZV30IndSituacaoTombos=a},v2c:function(){gx.fn.setRadioValue("vINDSITUACAOTOMBOS",gx.O.AV30IndSituacaoTombos)},c2v:function(){gx.O.AV30IndSituacaoTombos=this.val()},val:function(){return gx.fn.getControlValue("vINDSITUACAOTOMBOS")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.GXValidFnc[65]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATINIPERIODO",gxz:"ZV12DatIniPeriodo",gxold:"OV12DatIniPeriodo",gxvar:"AV12DatIniPeriodo",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.AV12DatIniPeriodo=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV12DatIniPeriodo=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATINIPERIODO",gx.O.AV12DatIniPeriodo,0)},c2v:function(){gx.O.AV12DatIniPeriodo=this.val()},val:function(){return gx.fn.getControlValue("vDATINIPERIODO")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATFIMPERIODO",gxz:"ZV13DatFimPeriodo",gxold:"OV13DatFimPeriodo",gxvar:"AV13DatFimPeriodo",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.AV13DatFimPeriodo=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV13DatFimPeriodo=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATFIMPERIODO",gx.O.AV13DatFimPeriodo,0)},c2v:function(){gx.O.AV13DatFimPeriodo=this.val()},val:function(){return gx.fn.getControlValue("vDATFIMPERIODO")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPSELECAO",gxz:"ZV17TipSelecao",gxold:"OV17TipSelecao",gxvar:"AV17TipSelecao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV17TipSelecao=a
},v2z:function(a){gx.O.ZV17TipSelecao=a},v2c:function(){gx.fn.setComboBoxValue("vTIPSELECAO",gx.O.AV17TipSelecao)},c2v:function(){gx.O.AV17TipSelecao=this.val()},val:function(){return gx.fn.getControlValue("vTIPSELECAO")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[79]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDIMPRIMIRMOTIVOBAIXA",gxz:"ZV31IndImprimirMotivoBaixa",gxold:"OV31IndImprimirMotivoBaixa",gxvar:"AV31IndImprimirMotivoBaixa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV31IndImprimirMotivoBaixa=a
},v2z:function(a){gx.O.ZV31IndImprimirMotivoBaixa=a},v2c:function(){gx.fn.setComboBoxValue("vINDIMPRIMIRMOTIVOBAIXA",gx.O.AV31IndImprimirMotivoBaixa)},c2v:function(){gx.O.AV31IndImprimirMotivoBaixa=this.val()},val:function(){return gx.fn.getControlValue("vINDIMPRIMIRMOTIVOBAIXA")},nac:function(){return false}};this.GXValidFnc[82]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[84]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPORDEM",gxz:"ZV25TipOrdem",gxold:"OV25TipOrdem",gxvar:"AV25TipOrdem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV25TipOrdem=a
},v2z:function(a){gx.O.ZV25TipOrdem=a},v2c:function(){gx.fn.setComboBoxValue("vTIPORDEM",gx.O.AV25TipOrdem)},c2v:function(){gx.O.AV25TipOrdem=this.val()},val:function(){return gx.fn.getControlValue("vTIPORDEM")},nac:function(){return false}};this.GXValidFnc[86]={fld:"PROMPT_UNDCODPADR",grid:0};this.GXValidFnc[87]={fld:"PROMPT_SCRCODLOCAL",grid:0};this.GXValidFnc[88]={fld:"PROMPT_TIDCOD",grid:0};this.GXValidFnc[89]={fld:"PROMPT_FORCOD",grid:0};this.GXValidFnc[90]={fld:"PROMPT_TPACOD",grid:0};this.AV15UndCodPadr=0;
this.ZV15UndCodPadr=0;this.OV15UndCodPadr=0;this.AV33ScrCodLocal=0;this.ZV33ScrCodLocal=0;this.OV33ScrCodLocal=0;this.AV5TidCod="";this.ZV5TidCod="";this.OV5TidCod="";this.AV26ForCod=0;this.ZV26ForCod=0;this.OV26ForCod=0;this.AV28TpaCod="";this.ZV28TpaCod="";this.OV28TpaCod="";this.AV9NrTomboIni=0;this.ZV9NrTomboIni=0;this.OV9NrTomboIni=0;this.AV16NrTomboFim=0;this.ZV16NrTomboFim=0;this.OV16NrTomboFim=0;this.AV30IndSituacaoTombos="";this.ZV30IndSituacaoTombos="";this.OV30IndSituacaoTombos="";this.AV12DatIniPeriodo=gx.date.nullDate();
this.ZV12DatIniPeriodo=gx.date.nullDate();this.OV12DatIniPeriodo=gx.date.nullDate();this.AV13DatFimPeriodo=gx.date.nullDate();this.ZV13DatFimPeriodo=gx.date.nullDate();this.OV13DatFimPeriodo=gx.date.nullDate();this.AV17TipSelecao="";this.ZV17TipSelecao="";this.OV17TipSelecao="";this.AV31IndImprimirMotivoBaixa="";this.ZV31IndImprimirMotivoBaixa="";this.OV31IndImprimirMotivoBaixa="";this.AV25TipOrdem="";this.ZV25TipOrdem="";this.OV25TipOrdem="";this.ServerEvents=["e116h2_client","e146h2_client","e156h2_client"];
this.setPrompt("PROMPT_UNDCODPADR",[20]);this.setPrompt("PROMPT_SCRCODLOCAL",[25]);this.setPrompt("PROMPT_TIDCOD",[30]);this.setPrompt("PROMPT_FORCOD",[35]);this.setPrompt("PROMPT_TPACOD",[40]);this.EnterCtrl=["BUTTON5"];this.SetStandaloneVars()}himh135.prototype=new gx.GxObject;gx.setParentObj(new himh135());