gx.evt.autoSkip=false;function himh112(){this.ServerClass="HImh112";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Forcod=function(){try{var a=gx.util.balloon.getNew("vFORCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Pednro=function(){try{var a=gx.util.balloon.getNew("vPEDNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.e11602_client=function(){this.executeServerEvent("ENTER",true)};this.e13602_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15602_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,14,17,19,22,24,27,29,32,34,35,36];this.GXLastCtrlId=36;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={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:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Forcod,isvalid:null,rgrid:[],fld:"vFORCOD",gxz:"ZV5ForCod",gxold:"OV5ForCod",gxvar:"AV5ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ForCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV5ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vFORCOD",gx.O.AV5ForCod,0)},c2v:function(){gx.O.AV5ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("vFORCOD",".")
},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Pednro,isvalid:null,rgrid:[],fld:"vPEDNRO",gxz:"ZV13PedNro",gxold:"OV13PedNro",gxvar:"AV13PedNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13PedNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV13PedNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vPEDNRO",gx.O.AV13PedNro,0)
},c2v:function(){gx.O.AV13PedNro=this.val()},val:function(){return gx.fn.getIntegerValue("vPEDNRO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDIMPRES",gxz:"ZV14IndImpres",gxold:"OV14IndImpres",gxvar:"AV14IndImpres",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV14IndImpres=a},v2z:function(a){gx.O.ZV14IndImpres=a},v2c:function(){gx.fn.setComboBoxValue("vINDIMPRES",gx.O.AV14IndImpres)
},c2v:function(){gx.O.AV14IndImpres=this.val()},val:function(){return gx.fn.getControlValue("vINDIMPRES")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSAIDA",gxz:"ZV17Saida",gxold:"OV17Saida",gxvar:"AV17Saida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV17Saida=a},v2z:function(a){gx.O.ZV17Saida=a},v2c:function(){gx.fn.setComboBoxValue("vSAIDA",gx.O.AV17Saida)
},c2v:function(){gx.O.AV17Saida=this.val()},val:function(){return gx.fn.getControlValue("vSAIDA")},nac:function(){return false}};this.GXValidFnc[35]={fld:"PROMPT_FORCOD",grid:0};this.GXValidFnc[36]={fld:"PROMPT_PEDNRO",grid:0};this.AV5ForCod=0;this.ZV5ForCod=0;this.OV5ForCod=0;this.AV13PedNro=0;this.ZV13PedNro=0;this.OV13PedNro=0;this.AV14IndImpres="";this.ZV14IndImpres="";this.OV14IndImpres="";this.AV17Saida="";this.ZV17Saida="";this.OV17Saida="";this.A627PedNro=0;this.A622PedDesPaga="";this.A433ForCod=0;
this.A444ForNomComp="";this.ServerEvents=["e11602_client","e13602_client","e15602_client"];this.setPrompt("PROMPT_FORCOD",[19]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh112.prototype=new gx.GxObject;gx.setParentObj(new himh112());