gx.evt.autoSkip=false;function himh161(){this.ServerClass="HImh161";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Undcod=function(){try{var a=gx.util.balloon.getNew("vUNDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e12dh2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15dh2_client=function(){this.executeServerEvent("ENTER",true)};this.e16dh2_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,38,40,43,44,45];this.GXLastCtrlId=45;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK2",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:1,grid:0,gxgrid:null,fnc:this.Validv_Undcod,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV29UndCod",gxold:"OV29UndCod",gxvar:"AV29UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV29UndCod,0)},c2v:function(){gx.O.AV29UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",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:"vLOCCODDE",gxz:"ZV30LocCodDe",gxold:"OV30LocCodDe",gxvar:"AV30LocCodDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30LocCodDe=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30LocCodDe=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCODDE",gx.O.AV30LocCodDe,0)},c2v:function(){gx.O.AV30LocCodDe=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCODDE",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCODPARA",gxz:"ZV31LocCodPara",gxold:"OV31LocCodPara",gxvar:"AV31LocCodPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV31LocCodPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV31LocCodPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCODPARA",gx.O.AV31LocCodPara,0)},c2v:function(){gx.O.AV31LocCodPara=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCODPARA",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vROLTIPDOCUMENTO",gxz:"ZV36RolTipDocumento",gxold:"OV36RolTipDocumento",gxvar:"AV36RolTipDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36RolTipDocumento=a
},v2z:function(a){gx.O.ZV36RolTipDocumento=a},v2c:function(){gx.fn.setControlValue("vROLTIPDOCUMENTO",gx.O.AV36RolTipDocumento,0)},c2v:function(){gx.O.AV36RolTipDocumento=this.val()},val:function(){return gx.fn.getControlValue("vROLTIPDOCUMENTO")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vROLCLASSIFICACAO",gxz:"ZV35RolClassificacao",gxold:"OV35RolClassificacao",gxvar:"AV35RolClassificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35RolClassificacao=a
},v2z:function(a){gx.O.ZV35RolClassificacao=a},v2c:function(){gx.fn.setControlValue("vROLCLASSIFICACAO",gx.O.AV35RolClassificacao,0)},c2v:function(){gx.O.AV35RolClassificacao=this.val()},val:function(){return gx.fn.getControlValue("vROLCLASSIFICACAO")},nac:function(){return false}};this.GXValidFnc[43]={fld:"PROMPT_LOCCODDE",grid:0};this.GXValidFnc[44]={fld:"PROMPT_LOCCODPARA",grid:0};this.GXValidFnc[45]={fld:"PROMPT_ROLTIPDOCUMENTO",grid:0};this.AV29UndCod=0;this.ZV29UndCod=0;this.OV29UndCod=0;this.AV30LocCodDe=0;
this.ZV30LocCodDe=0;this.OV30LocCodDe=0;this.AV31LocCodPara=0;this.ZV31LocCodPara=0;this.OV31LocCodPara=0;this.AV36RolTipDocumento="";this.ZV36RolTipDocumento="";this.OV36RolTipDocumento="";this.AV35RolClassificacao="";this.ZV35RolClassificacao="";this.OV35RolClassificacao="";this.ServerEvents=["e12dh2_client","e15dh2_client","e16dh2_client"];this.setPrompt("PROMPT_LOCCODDE",[25]);this.setPrompt("PROMPT_LOCCODPARA",[30]);this.setPrompt("PROMPT_ROLTIPDOCUMENTO",[35]);this.EnterCtrl=["BUTTON3"];this.SetStandaloneVars()
}himh161.prototype=new gx.GxObject;gx.setParentObj(new himh161());