gx.evt.autoSkip=false;function himh182(){this.ServerClass="HImh182";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Tpacod=function(){try{var a=gx.util.balloon.getNew("vTPACOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Tidcod=function(){try{var a=gx.util.balloon.getNew("vTIDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.e11el2_client=function(){this.executeServerEvent("ENTER",true)};this.e13el2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15el2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,37,40,42,45,47,50,52,55,57,60,62,64,65,66];this.GXLastCtrlId=66;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[20]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Tpacod,isvalid:null,fld:"vTPACOD",gxz:"ZV26TpaCod",gxold:"OV26TpaCod",gxvar:"AV26TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26TpaCod=a},v2z:function(a){gx.O.ZV26TpaCod=a},v2c:function(){gx.fn.setControlValue("vTPACOD",gx.O.AV26TpaCod,0)},c2v:function(){gx.O.AV26TpaCod=this.val()},val:function(){return gx.fn.getControlValue("vTPACOD")},nac:function(){return false}};
this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Tidcod,isvalid:null,fld:"vTIDCOD",gxz:"ZV24TidCod",gxold:"OV24TidCod",gxvar:"AV24TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24TidCod=a},v2z:function(a){gx.O.ZV24TidCod=a},v2c:function(){gx.fn.setControlValue("vTIDCOD",gx.O.AV24TidCod,0)},c2v:function(){gx.O.AV24TidCod=this.val()},val:function(){return gx.fn.getControlValue("vTIDCOD")
},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={fld:"TABLE3",grid:0};this.GXValidFnc[33]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATINI",gxz:"ZV8DatIni",gxold:"OV8DatIni",gxvar:"AV8DatIni",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.AV8DatIni=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.ZV8DatIni=gx.fn.toDatetimeValue(a)
},v2c:function(){gx.fn.setControlValue("vDATINI",gx.O.AV8DatIni,0)},c2v:function(){gx.O.AV8DatIni=this.val()},val:function(){return gx.fn.getControlValue("vDATINI")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATFIM",gxz:"ZV7DatFim",gxold:"OV7DatFim",gxvar:"AV7DatFim",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.AV7DatFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV7DatFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATFIM",gx.O.AV7DatFim,0)},c2v:function(){gx.O.AV7DatFim=this.val()},val:function(){return gx.fn.getControlValue("vDATFIM")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOECODPRT",gxz:"ZV9DoeCodPrt",gxold:"OV9DoeCodPrt",gxvar:"AV9DoeCodPrt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9DoeCodPrt=a
},v2z:function(a){gx.O.ZV9DoeCodPrt=a},v2c:function(){gx.fn.setControlValue("vDOECODPRT",gx.O.AV9DoeCodPrt,0)},c2v:function(){gx.O.AV9DoeCodPrt=this.val()},val:function(){return gx.fn.getControlValue("vDOECODPRT")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vACONRO",gxz:"ZV6AcoNro",gxold:"OV6AcoNro",gxvar:"AV6AcoNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6AcoNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vACONRO",gx.O.AV6AcoNro,0)},c2v:function(){gx.O.AV6AcoNro=this.val()},val:function(){return gx.fn.getIntegerValue("vACONRO",".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV27UndCod",gxold:"OV27UndCod",gxvar:"AV27UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV27UndCod,0)},c2v:function(){gx.O.AV27UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV17LocCod",gxold:"OV17LocCod",gxvar:"AV17LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV17LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV17LocCod,0)},c2v:function(){gx.O.AV17LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDBAIXAS",gxz:"ZV10IndBaixas",gxold:"OV10IndBaixas",gxvar:"AV10IndBaixas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV10IndBaixas=a
},v2z:function(a){gx.O.ZV10IndBaixas=a},v2c:function(){gx.fn.setComboBoxValue("vINDBAIXAS",gx.O.AV10IndBaixas)},c2v:function(){gx.O.AV10IndBaixas=this.val()},val:function(){return gx.fn.getControlValue("vINDBAIXAS")},nac:function(){return false}};this.GXValidFnc[64]={fld:"PROMPT_TPACOD",grid:0};this.GXValidFnc[65]={fld:"PROMPT_TIDCOD",grid:0};this.GXValidFnc[66]={fld:"PROMPT_ACONRO",grid:0};this.AV26TpaCod="";this.ZV26TpaCod="";this.OV26TpaCod="";this.AV24TidCod="";this.ZV24TidCod="";this.OV24TidCod="";
this.AV8DatIni=gx.date.nullDate();this.ZV8DatIni=gx.date.nullDate();this.OV8DatIni=gx.date.nullDate();this.AV7DatFim=gx.date.nullDate();this.ZV7DatFim=gx.date.nullDate();this.OV7DatFim=gx.date.nullDate();this.AV9DoeCodPrt="";this.ZV9DoeCodPrt="";this.OV9DoeCodPrt="";this.AV6AcoNro=0;this.ZV6AcoNro=0;this.OV6AcoNro=0;this.AV27UndCod=0;this.ZV27UndCod=0;this.OV27UndCod=0;this.AV17LocCod=0;this.ZV17LocCod=0;this.OV17LocCod=0;this.AV10IndBaixas="";this.ZV10IndBaixas="";this.OV10IndBaixas="";this.A899TpaCod="";
this.A1013TpaDsc="";this.A863TidCod="";this.A868TidDes="";this.ServerEvents=["e11el2_client","e13el2_client","e15el2_client"];this.setPrompt("PROMPT_TPACOD",[20]);this.setPrompt("PROMPT_TIDCOD",[25]);this.setPrompt("PROMPT_ACONRO",[47]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh182.prototype=new gx.GxObject;gx.setParentObj(new himh182());