gx.evt.autoSkip=false;function himh260(){this.ServerClass="HImh260";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e12ir2_client=function(){this.executeServerEvent("ENTER",true)};this.e13ir2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15ir2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,11,14,17,19,21,23,26,28,30,32,35,37,39,41,43,44,45,46];this.GXLastCtrlId=46;
this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[14]={fld:"TABLE2",grid:0};this.GXValidFnc[17]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODUNIDADEDE",gxz:"ZV5ScrCodUnidadeDE",gxold:"OV5ScrCodUnidadeDE",gxvar:"AV5ScrCodUnidadeDE",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ScrCodUnidadeDE=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5ScrCodUnidadeDE=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODUNIDADEDE",gx.O.AV5ScrCodUnidadeDE,0)},c2v:function(){gx.O.AV5ScrCodUnidadeDE=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODUNIDADEDE",".")},nac:function(){return false}};this.GXValidFnc[21]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODLOCALDE",gxz:"ZV6ScrCodLocalDE",gxold:"OV6ScrCodLocalDE",gxvar:"AV6ScrCodLocalDE",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6ScrCodLocalDE=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6ScrCodLocalDE=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODLOCALDE",gx.O.AV6ScrCodLocalDE,0)},c2v:function(){gx.O.AV6ScrCodLocalDE=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODLOCALDE",".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODUNIDADEPARA",gxz:"ZV7ScrCodUnidadePARA",gxold:"OV7ScrCodUnidadePARA",gxvar:"AV7ScrCodUnidadePARA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7ScrCodUnidadePARA=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7ScrCodUnidadePARA=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODUNIDADEPARA",gx.O.AV7ScrCodUnidadePARA,0)},c2v:function(){gx.O.AV7ScrCodUnidadePARA=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODUNIDADEPARA",".")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODLOCALPARA",gxz:"ZV8ScrCodLocalPARA",gxold:"OV8ScrCodLocalPARA",gxvar:"AV8ScrCodLocalPARA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8ScrCodLocalPARA=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8ScrCodLocalPARA=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODLOCALPARA",gx.O.AV8ScrCodLocalPARA,0)},c2v:function(){gx.O.AV8ScrCodLocalPARA=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODLOCALPARA",".")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDTHINICIAL",gxz:"ZV9ScrDthInicial",gxold:"OV9ScrDthInicial",gxvar:"AV9ScrDthInicial",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9ScrDthInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9ScrDthInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDTHINICIAL",gx.O.AV9ScrDthInicial,0)},c2v:function(){gx.O.AV9ScrDthInicial=this.val()},val:function(){return gx.fn.getControlValue("vSCRDTHINICIAL")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDTHFINAL",gxz:"ZV10ScrDthFinal",gxold:"OV10ScrDthFinal",gxvar:"AV10ScrDthFinal",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10ScrDthFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV10ScrDthFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDTHFINAL",gx.O.AV10ScrDthFinal,0)},c2v:function(){gx.O.AV10ScrDthFinal=this.val()},val:function(){return gx.fn.getControlValue("vSCRDTHFINAL")},nac:function(){return false}};this.GXValidFnc[43]={fld:"PROMPT_SCRCODUNIDADEDE",grid:0};this.GXValidFnc[44]={fld:"PROMPT_SCRCODLOCALDE",grid:0};this.GXValidFnc[45]={fld:"PROMPT_SCRCODUNIDADEPARA",grid:0};this.GXValidFnc[46]={fld:"PROMPT_SCRCODLOCALPARA",grid:0};
this.AV5ScrCodUnidadeDE=0;this.ZV5ScrCodUnidadeDE=0;this.OV5ScrCodUnidadeDE=0;this.AV6ScrCodLocalDE=0;this.ZV6ScrCodLocalDE=0;this.OV6ScrCodLocalDE=0;this.AV7ScrCodUnidadePARA=0;this.ZV7ScrCodUnidadePARA=0;this.OV7ScrCodUnidadePARA=0;this.AV8ScrCodLocalPARA=0;this.ZV8ScrCodLocalPARA=0;this.OV8ScrCodLocalPARA=0;this.AV9ScrDthInicial=gx.date.nullDate();this.ZV9ScrDthInicial=gx.date.nullDate();this.OV9ScrDthInicial=gx.date.nullDate();this.AV10ScrDthFinal=gx.date.nullDate();this.ZV10ScrDthFinal=gx.date.nullDate();
this.OV10ScrDthFinal=gx.date.nullDate();this.ServerEvents=["e12ir2_client","e13ir2_client","e15ir2_client"];this.setPrompt("PROMPT_SCRCODUNIDADEDE",[19]);this.setPrompt("PROMPT_SCRCODLOCALDE",[23]);this.setPrompt("PROMPT_SCRCODUNIDADEPARA",[28]);this.setPrompt("PROMPT_SCRCODLOCALPARA",[32]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh260.prototype=new gx.GxObject;gx.setParentObj(new himh260());