gx.evt.autoSkip=false;function hmih060(){this.ServerClass="HMih060";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV15DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV16UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV17DoeNroSequencia=gx.fn.getIntegerValue("vDOENROSEQUENCIA",".");this.AV18DvoNroItem=gx.fn.getIntegerValue("vDVONROITEM",".")};this.Validv_Usucod=function(){try{var a=gx.util.balloon.getNew("vUSUCOD");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e127c2_client=function(){this.executeServerEvent("ENTER",true)};this.e137c2_client=function(){this.executeServerEvent("'VOLTAR'",true)};this.e147c2_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",false)};this.e167c2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,19,23,27,31,35,39];this.GXLastCtrlId=39;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOCDESTITULO",gxz:"ZV10DocDesTitulo",gxold:"OV10DocDesTitulo",gxvar:"AV10DocDesTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10DocDesTitulo=a
},v2z:function(a){gx.O.ZV10DocDesTitulo=a},v2c:function(){gx.fn.setControlValue("vDOCDESTITULO",gx.O.AV10DocDesTitulo,0)},c2v:function(){gx.O.AV10DocDesTitulo=this.val()},val:function(){return gx.fn.getControlValue("vDOCDESTITULO")},nac:function(){return false}};this.GXValidFnc[27]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIDITEM",gxz:"ZV13IdItem",gxold:"OV13IdItem",gxvar:"AV13IdItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13IdItem=a
},v2z:function(a){gx.O.ZV13IdItem=a},v2c:function(){gx.fn.setControlValue("vIDITEM",gx.O.AV13IdItem,0)},c2v:function(){gx.O.AV13IdItem=this.val()},val:function(){return gx.fn.getControlValue("vIDITEM")},nac:function(){return false}};this.GXValidFnc[31]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usucod,isvalid:null,fld:"vUSUCOD",gxz:"ZV12UsuCod",gxold:"OV12UsuCod",gxvar:"AV12UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12UsuCod=a
},v2z:function(a){gx.O.ZV12UsuCod=a},v2c:function(){gx.fn.setControlValue("vUSUCOD",gx.O.AV12UsuCod,0)},c2v:function(){gx.O.AV12UsuCod=this.val()},val:function(){return gx.fn.getControlValue("vUSUCOD")},nac:function(){return false}};this.GXValidFnc[35]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHADIGITADA",gxz:"ZV19SenhaDigitada",gxold:"OV19SenhaDigitada",gxvar:"AV19SenhaDigitada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19SenhaDigitada=a
},v2z:function(a){gx.O.ZV19SenhaDigitada=a},v2c:function(){gx.fn.setControlValue("vSENHADIGITADA",gx.O.AV19SenhaDigitada,0)},c2v:function(){gx.O.AV19SenhaDigitada=this.val()},val:function(){return gx.fn.getControlValue("vSENHADIGITADA")},nac:function(){return false}};this.GXValidFnc[39]={lvl:0,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDVODESVOLUME",gxz:"ZV14DvoDesVolume",gxold:"OV14DvoDesVolume",gxvar:"AV14DvoDesVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DvoDesVolume=a
},v2z:function(a){gx.O.ZV14DvoDesVolume=a},v2c:function(){gx.fn.setControlValue("vDVODESVOLUME",gx.O.AV14DvoDesVolume,0)},c2v:function(){gx.O.AV14DvoDesVolume=this.val()},val:function(){return gx.fn.getControlValue("vDVODESVOLUME")},nac:function(){return false}};this.AV10DocDesTitulo="";this.ZV10DocDesTitulo="";this.OV10DocDesTitulo="";this.AV13IdItem="";this.ZV13IdItem="";this.OV13IdItem="";this.AV12UsuCod="";this.ZV12UsuCod="";this.OV12UsuCod="";this.AV19SenhaDigitada="";this.ZV19SenhaDigitada="";
this.OV19SenhaDigitada="";this.AV14DvoDesVolume="";this.ZV14DvoDesVolume="";this.OV14DvoDesVolume="";this.AV15DocNro=0;this.AV16UndCod=0;this.AV17DoeNroSequencia=0;this.AV18DvoNroItem=0;this.A509LocCod=0;this.A968UsuCod="";this.A122CfgCod="";this.A127CfgValCont="";this.A980UsuIndPriv="";this.A983UsuNom="";this.A972UsuDesSenh="";this.A317DvoNroVolu=0;this.A281DoeNroSequ=0;this.A922UndCod=0;this.A258DocNro=0;this.A304DvoAnoEdic="";this.A242DocDesL1Ti="";this.ServerEvents=["e127c2_client","e137c2_client","e147c2_client","e167c2_client"];
this.EnterCtrl=["CONFIRMAR"];this.VarControlMap.AV15DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV16UndCod={id:"vUNDCOD",grid:0,type:"int"};this.VarControlMap.AV17DoeNroSequencia={id:"vDOENROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV18DvoNroItem={id:"vDVONROITEM",grid:0,type:"int"};this.SetStandaloneVars()}hmih060.prototype=new gx.GxObject;gx.setParentObj(new hmih060());