gx.evt.autoSkip=false;function tmat007(){this.ServerClass="TMat007";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.addKeyListener("3","e134o2_client");this.addKeyListener("5","e144o2_client");this.SetStandaloneVars=function(){this.AV26ValDefault008=gx.fn.getControlValue("vVALDEFAULT008");this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.A65AtdValOrde=gx.fn.getControlValue("ATDVALORDE");this.A59AtdCampo1L=gx.fn.getControlValue("ATDCAMPO1L");this.Gx_date=gx.fn.getDateValue("vTODAY");
this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Atdnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Atdnro",["gx.O.AV26ValDefault008","gx.O.A63AtdNro","gx.O.A61AtdDesIden","gx.O.A65AtdValOrde","gx.O.A60AtdCodCamp","gx.O.A64AtdValCamp","gx.O.A62AtdIndRote","gx.O.A59AtdCampo1L"],["A61AtdDesIden","A65AtdValOrde","A60AtdCodCamp","A64AtdValCamp","A62AtdIndRote","A59AtdCampo1L","Gx_mode","Z63AtdNro","Z61AtdDesIden","Z65AtdValOrde","Z60AtdCodCamp","Z64AtdValCamp","Z62AtdIndRote","Z59AtdCampo1L",["BTN_GET","Enabled"],["BTN_ENTER1","Enabled"]]);
return true};this.e224o135_client=function(){this.clearMessages();this.refreshOutputs([])};this.e114o135_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh015.aspx",["AT"]),[""]);this.refreshOutputs([])};this.e234o135_client=function(){this.clearMessages();this.refreshOutputs([])};this.e244o135_client=function(){this.clearMessages();this.refreshOutputs([])};this.e134o2_client=function(){this.executeServerEvent("'CAMPO 008'",false)};this.e144o2_client=function(){this.executeServerEvent("'REGISTRO'",false)
};this.e154o2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e164o2_client=function(){this.executeServerEvent("'AUTORIDADE'",false)};this.e174o2_client=function(){this.executeServerEvent("'APAGA AUTORIDADE'",false)};this.e184o2_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",false)};this.e194o2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e204o2_client=function(){this.executeServerEvent("'VER TERMOS'",false)};this.e214o2_client=function(){this.executeServerEvent("'EMLOTE'",false)
};this.e254o135_client=function(){this.executeServerEvent("ENTER",true)};this.e264o135_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,25,33,36,38,42,44,47,49,52,54,57,59,61];this.GXLastCtrlId=61;this.GXValidFnc[3]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE3",grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vATDNRO",gxz:"ZV23AtdNro",gxold:"OV23AtdNro",gxvar:"AV23AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV23AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vATDNRO",gx.O.AV23AtdNro,0)},c2v:function(){gx.O.AV23AtdNro=this.val()},val:function(){return gx.fn.getIntegerValue("vATDNRO",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE1",grid:0};this.GXValidFnc[36]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Atdnro,isvalid:null,rgrid:[],fld:"ATDNRO",gxz:"Z63AtdNro",gxold:"O63AtdNro",gxvar:"A63AtdNro",ucs:[],op:[59,54,49,44],ip:[59,54,49,44,38],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A63AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z63AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ATDNRO",gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getIntegerValue("ATDNRO",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:200,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ATDDESIDEN",gxz:"Z61AtdDesIden",gxold:"O61AtdDesIden",gxvar:"A61AtdDesIden",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A61AtdDesIden=a
},v2z:function(a){gx.O.Z61AtdDesIden=a},v2c:function(){gx.fn.setControlValue("ATDDESIDEN",gx.O.A61AtdDesIden,0)},c2v:function(){gx.O.A61AtdDesIden=this.val()},val:function(){return gx.fn.getControlValue("ATDDESIDEN")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ATDCODCAMP",gxz:"Z60AtdCodCamp",gxold:"O60AtdCodCamp",gxvar:"A60AtdCodCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A60AtdCodCamp=a
},v2z:function(a){gx.O.Z60AtdCodCamp=a},v2c:function(){gx.fn.setControlValue("ATDCODCAMP",gx.O.A60AtdCodCamp,0)},c2v:function(){gx.O.A60AtdCodCamp=this.val()},val:function(){return gx.fn.getControlValue("ATDCODCAMP")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[54]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ATDVALCAMP",gxz:"Z64AtdValCamp",gxold:"O64AtdValCamp",gxvar:"A64AtdValCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A64AtdValCamp=a
},v2z:function(a){gx.O.Z64AtdValCamp=a},v2c:function(){gx.fn.setControlValue("ATDVALCAMP",gx.O.A64AtdValCamp,0)},c2v:function(){gx.O.A64AtdValCamp=this.val()},val:function(){return gx.fn.getControlValue("ATDVALCAMP")},nac:function(){return false}};this.GXValidFnc[57]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[59]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ATDINDROTE",gxz:"Z62AtdIndRote",gxold:"O62AtdIndRote",gxvar:"A62AtdIndRote",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A62AtdIndRote=a
},v2z:function(a){gx.O.Z62AtdIndRote=a},v2c:function(){gx.fn.setComboBoxValue("ATDINDROTE",gx.O.A62AtdIndRote)},c2v:function(){gx.O.A62AtdIndRote=this.val()},val:function(){return gx.fn.getControlValue("ATDINDROTE")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TABLE2",grid:0};this.AV23AtdNro=0;this.ZV23AtdNro=0;this.OV23AtdNro=0;this.A63AtdNro=0;this.Z63AtdNro=0;this.O63AtdNro=0;this.A61AtdDesIden="";this.Z61AtdDesIden="";this.O61AtdDesIden="";this.A60AtdCodCamp="";this.Z60AtdCodCamp="";
this.O60AtdCodCamp="";this.A64AtdValCamp="";this.Z64AtdValCamp="";this.O64AtdValCamp="";this.A62AtdIndRote="";this.Z62AtdIndRote="";this.O62AtdIndRote="";this.AV18UsuCodCorr="";this.AV19IndLiber="";this.Gx_msg="";this.AV27AnoChr2="";this.AV28MesChr2="";this.AV29DiaChr2="";this.AV26ValDefault008="";this.Gx_date=gx.date.nullDate();this.Gx_BScreen=0;this.A65AtdValOrde="";this.A59AtdCampo1L="";this.ServerEvents=["e134o2_client","e144o2_client","e154o2_client","e164o2_client","e174o2_client","e184o2_client","e194o2_client","e204o2_client","e214o2_client","e254o135_client","e264o135_client"];
this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.AV26ValDefault008={id:"vVALDEFAULT008",grid:0,type:"char"};this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.A65AtdValOrde={id:"ATDVALORDE",grid:0,type:"char"};this.VarControlMap.A59AtdCampo1L={id:"ATDCAMPO1L",grid:0,type:"char"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tmat007.prototype=new gx.GxObject;gx.setParentObj(new tmat007());