gx.evt.autoSkip=false;function himh294(){this.ServerClass="HImh294";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV5ParmCodLeitor=gx.fn.getControlValue("vPARMCODLEITOR");this.AV17ParmNroTipo=gx.fn.getIntegerValue("vPARMNROTIPO",".")};this.Validv_Scrnrotipo=function(){try{var a=gx.util.balloon.getNew("vSCRNROTIPO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Validv_Scrcodclassificacao=function(){gx.ajax.validSrvEvt("dyncall","Validv_Scrcodclassificacao",["gx.O.AV8ScrNroTipo","gx.O.AV10ScrCodClassificacao","gx.O.AV11ScrNomClassificacao"],["AV11ScrNomClassificacao"]);return true};this.e12k22_client=function(){this.executeServerEvent("ENTER",true)};this.e13k22_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15k22_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,11,13,16,18,20,23,25,27,30,32,34,36,37];
this.GXLastCtrlId=37;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[18]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODLEITOR",gxz:"ZV6ScrCodLeitor",gxold:"OV6ScrCodLeitor",gxvar:"AV6ScrCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6ScrCodLeitor=a},v2z:function(a){gx.O.ZV6ScrCodLeitor=a
},v2c:function(){gx.fn.setControlValue("vSCRCODLEITOR",gx.O.AV6ScrCodLeitor,0)},c2v:function(){gx.O.AV6ScrCodLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODLEITOR")},nac:function(){return false}};this.GXValidFnc[20]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMLEITOR",gxz:"ZV7ScrNomLeitor",gxold:"OV7ScrNomLeitor",gxvar:"AV7ScrNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7ScrNomLeitor=a
},v2z:function(a){gx.O.ZV7ScrNomLeitor=a},v2c:function(){gx.fn.setControlValue("vSCRNOMLEITOR",gx.O.AV7ScrNomLeitor,0)},c2v:function(){gx.O.AV7ScrNomLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMLEITOR")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Scrnrotipo,isvalid:null,rgrid:[],fld:"vSCRNROTIPO",gxz:"ZV8ScrNroTipo",gxold:"OV8ScrNroTipo",gxvar:"AV8ScrNroTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8ScrNroTipo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8ScrNroTipo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROTIPO",gx.O.AV8ScrNroTipo,0)},c2v:function(){gx.O.AV8ScrNroTipo=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROTIPO",".")},nac:function(){return false}};this.GXValidFnc[27]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMTIPO",gxz:"ZV9ScrNomTipo",gxold:"OV9ScrNomTipo",gxvar:"AV9ScrNomTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9ScrNomTipo=a
},v2z:function(a){gx.O.ZV9ScrNomTipo=a},v2c:function(){gx.fn.setControlValue("vSCRNOMTIPO",gx.O.AV9ScrNomTipo,0)},c2v:function(){gx.O.AV9ScrNomTipo=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMTIPO")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Scrcodclassificacao,isvalid:null,rgrid:[],fld:"vSCRCODCLASSIFICACAO",gxz:"ZV10ScrCodClassificacao",gxold:"OV10ScrCodClassificacao",gxvar:"AV10ScrCodClassificacao",ucs:[],op:[34],ip:[34,32,25],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10ScrCodClassificacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10ScrCodClassificacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODCLASSIFICACAO",gx.O.AV10ScrCodClassificacao,0)},c2v:function(){gx.O.AV10ScrCodClassificacao=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODCLASSIFICACAO",".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMCLASSIFICACAO",gxz:"ZV11ScrNomClassificacao",gxold:"OV11ScrNomClassificacao",gxvar:"AV11ScrNomClassificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11ScrNomClassificacao=a
},v2z:function(a){gx.O.ZV11ScrNomClassificacao=a},v2c:function(){gx.fn.setControlValue("vSCRNOMCLASSIFICACAO",gx.O.AV11ScrNomClassificacao,0)},c2v:function(){gx.O.AV11ScrNomClassificacao=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMCLASSIFICACAO")},nac:function(){return false}};this.GXValidFnc[36]={fld:"PROMPT_SCRNROTIPO",grid:0};this.GXValidFnc[37]={fld:"PROMPT_SCRCODCLASSIFICACAO",grid:0};this.AV6ScrCodLeitor="";this.ZV6ScrCodLeitor="";this.OV6ScrCodLeitor="";this.AV7ScrNomLeitor="";
this.ZV7ScrNomLeitor="";this.OV7ScrNomLeitor="";this.AV8ScrNroTipo=0;this.ZV8ScrNroTipo=0;this.OV8ScrNroTipo=0;this.AV9ScrNomTipo="";this.ZV9ScrNomTipo="";this.OV9ScrNomTipo="";this.AV10ScrCodClassificacao=0;this.ZV10ScrCodClassificacao=0;this.OV10ScrCodClassificacao=0;this.AV11ScrNomClassificacao="";this.ZV11ScrNomClassificacao="";this.OV11ScrNomClassificacao="";this.AV5ParmCodLeitor="";this.AV17ParmNroTipo=0;this.ServerEvents=["e12k22_client","e13k22_client","e15k22_client"];this.setPrompt("PROMPT_SCRNROTIPO",[25]);
this.setPrompt("PROMPT_SCRCODCLASSIFICACAO",[32]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV5ParmCodLeitor={id:"vPARMCODLEITOR",grid:0,type:"char"};this.VarControlMap.AV17ParmNroTipo={id:"vPARMNROTIPO",grid:0,type:"int"};this.SetStandaloneVars()}himh294.prototype=new gx.GxObject;gx.setParentObj(new himh294());