gx.evt.autoSkip=false;function gx01i0(){this.ServerClass="Gx01I0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pEtcNroSequencia=gx.fn.getIntegerValue("vPETCNROSEQUENCIA",".")};this.e13be2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14be1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,62];
this.GXLastCtrlId=62;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01i0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(384,53,"ETCNROSEQU","Nr. sequência","","EtcNroSequ","int",0,"px",8,8,"right",null,[],384,"EtcNroSequ",true,0,false,false);
this.Grid1Container.addComboBox(385,54,"ETCTIPCONS","Tipo de consulta","EtcTipCons","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(383,55,"ETCNRODOCU","Documento","","EtcNroDocu","int",0,"px",7,7,"right",null,[],383,"EtcNroDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit(381,56,"ETCDATCONS","Data consulta","","EtcDatCons","date",0,"px",10,10,"right",null,[],381,"EtcDatCons",true,0,false,false);this.Grid1Container.addSingleLineEdit(382,57,"ETCHORCONS","Hora consulta","","EtcHorCons","char",0,"px",8,8,"left",null,[],382,"EtcHorCons",true,0,false,false);
this.Grid1Container.addSingleLineEdit(380,58,"ETCCODLOCA","Localização","","EtcCodLoca","int",0,"px",3,3,"right",null,[],380,"EtcCodLoca",true,0,false,false);this.Grid1Container.addSingleLineEdit(379,59,"ETCCAMPO1L","Campo livre","","EtcCampo1L","char",0,"px",6,6,"left",null,[],379,"EtcCampo1L",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKETCNROSEQUENCIA",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETCNROSEQUENCIA",gxz:"ZV6cEtcNroSequencia",gxold:"OV6cEtcNroSequencia",gxvar:"AV6cEtcNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEtcNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cEtcNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETCNROSEQUENCIA",gx.O.AV6cEtcNroSequencia,0)
},c2v:function(){gx.O.AV6cEtcNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCETCNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKETCTIPCONSULTA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCETCTIPCONSULTA",gxz:"ZV7cEtcTipConsulta",gxold:"OV7cEtcTipConsulta",gxvar:"AV7cEtcTipConsulta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cEtcTipConsulta=a
},v2z:function(a){gx.O.ZV7cEtcTipConsulta=a},v2c:function(){gx.fn.setComboBoxValue("vCETCTIPCONSULTA",gx.O.AV7cEtcTipConsulta)},c2v:function(){gx.O.AV7cEtcTipConsulta=this.val()},val:function(){return gx.fn.getControlValue("vCETCTIPCONSULTA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKETCNRODOCUMENTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETCNRODOCUMENTO",gxz:"ZV8cEtcNroDocumento",gxold:"OV8cEtcNroDocumento",gxvar:"AV8cEtcNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cEtcNroDocumento=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cEtcNroDocumento=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETCNRODOCUMENTO",gx.O.AV8cEtcNroDocumento,0)},c2v:function(){gx.O.AV8cEtcNroDocumento=this.val()},val:function(){return gx.fn.getIntegerValue("vCETCNRODOCUMENTO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKETCDATCONSULTA",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCETCDATCONSULTA",gxz:"ZV9cEtcDatConsulta",gxold:"OV9cEtcDatConsulta",gxvar:"AV9cEtcDatConsulta",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEtcDatConsulta=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cEtcDatConsulta=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCETCDATCONSULTA",gx.O.AV9cEtcDatConsulta,0)},c2v:function(){gx.O.AV9cEtcDatConsulta=this.val()},val:function(){return gx.fn.getControlValue("vCETCDATCONSULTA")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKETCHORCONSULTA",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCETCHORCONSULTA",gxz:"ZV10cEtcHorConsulta",gxold:"OV10cEtcHorConsulta",gxvar:"AV10cEtcHorConsulta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cEtcHorConsulta=a
},v2z:function(a){gx.O.ZV10cEtcHorConsulta=a},v2c:function(){gx.fn.setControlValue("vCETCHORCONSULTA",gx.O.AV10cEtcHorConsulta,0)},c2v:function(){gx.O.AV10cEtcHorConsulta=this.val()},val:function(){return gx.fn.getControlValue("vCETCHORCONSULTA")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKETCCODLOCALIZACAO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETCCODLOCALIZACAO",gxz:"ZV11cEtcCodLocalizacao",gxold:"OV11cEtcCodLocalizacao",gxvar:"AV11cEtcCodLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cEtcCodLocalizacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11cEtcCodLocalizacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETCCODLOCALIZACAO",gx.O.AV11cEtcCodLocalizacao,0)},c2v:function(){gx.O.AV11cEtcCodLocalizacao=this.val()},val:function(){return gx.fn.getIntegerValue("vCETCCODLOCALIZACAO",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKETCCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCETCCAMPO1LIVRE",gxz:"ZV12cEtcCampo1Livre",gxold:"OV12cEtcCampo1Livre",gxvar:"AV12cEtcCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cEtcCampo1Livre=a
},v2z:function(a){gx.O.ZV12cEtcCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCETCCAMPO1LIVRE",gx.O.AV12cEtcCampo1Livre,0)},c2v:function(){gx.O.AV12cEtcCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCETCCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ETCNROSEQU",gxz:"Z384EtcNroSequ",gxold:"O384EtcNroSequ",gxvar:"A384EtcNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A384EtcNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z384EtcNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ETCNROSEQU",gx.fn.currentGridRowImpl(51),gx.O.A384EtcNroSequ,0)},c2v:function(){gx.O.A384EtcNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETCNROSEQU",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ETCTIPCONS",gxz:"Z385EtcTipCons",gxold:"O385EtcTipCons",gxvar:"A385EtcTipCons",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A385EtcTipCons=a
},v2z:function(a){gx.O.Z385EtcTipCons=a},v2c:function(){gx.fn.setGridComboBoxValue("ETCTIPCONS",gx.fn.currentGridRowImpl(51),gx.O.A385EtcTipCons)},c2v:function(){gx.O.A385EtcTipCons=this.val()},val:function(){return gx.fn.getGridControlValue("ETCTIPCONS",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ETCNRODOCU",gxz:"Z383EtcNroDocu",gxold:"O383EtcNroDocu",gxvar:"A383EtcNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A383EtcNroDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z383EtcNroDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ETCNRODOCU",gx.fn.currentGridRowImpl(51),gx.O.A383EtcNroDocu,0)},c2v:function(){gx.O.A383EtcNroDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETCNRODOCU",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ETCDATCONS",gxz:"Z381EtcDatCons",gxold:"O381EtcDatCons",gxvar:"A381EtcDatCons",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A381EtcDatCons=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z381EtcDatCons=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("ETCDATCONS",gx.fn.currentGridRowImpl(51),gx.O.A381EtcDatCons,0)},c2v:function(){gx.O.A381EtcDatCons=this.val()},val:function(){return gx.fn.getGridControlValue("ETCDATCONS",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:8,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ETCHORCONS",gxz:"Z382EtcHorCons",gxold:"O382EtcHorCons",gxvar:"A382EtcHorCons",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A382EtcHorCons=a
},v2z:function(a){gx.O.Z382EtcHorCons=a},v2c:function(){gx.fn.setGridControlValue("ETCHORCONS",gx.fn.currentGridRowImpl(51),gx.O.A382EtcHorCons,0)},c2v:function(){gx.O.A382EtcHorCons=this.val()},val:function(){return gx.fn.getGridControlValue("ETCHORCONS",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ETCCODLOCA",gxz:"Z380EtcCodLoca",gxold:"O380EtcCodLoca",gxvar:"A380EtcCodLoca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A380EtcCodLoca=gx.num.intval(a)
},v2z:function(a){gx.O.Z380EtcCodLoca=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ETCCODLOCA",gx.fn.currentGridRowImpl(51),gx.O.A380EtcCodLoca,0)},c2v:function(){gx.O.A380EtcCodLoca=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETCCODLOCA",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ETCCAMPO1L",gxz:"Z379EtcCampo1L",gxold:"O379EtcCampo1L",gxvar:"A379EtcCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A379EtcCampo1L=a
},v2z:function(a){gx.O.Z379EtcCampo1L=a},v2c:function(){gx.fn.setGridControlValue("ETCCAMPO1L",gx.fn.currentGridRowImpl(51),gx.O.A379EtcCampo1L,0)},c2v:function(){gx.O.A379EtcCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("ETCCAMPO1L",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cEtcNroSequencia=0;this.ZV6cEtcNroSequencia=0;this.OV6cEtcNroSequencia=0;this.AV7cEtcTipConsulta="";this.ZV7cEtcTipConsulta="";this.OV7cEtcTipConsulta="";
this.AV8cEtcNroDocumento=0;this.ZV8cEtcNroDocumento=0;this.OV8cEtcNroDocumento=0;this.AV9cEtcDatConsulta=gx.date.nullDate();this.ZV9cEtcDatConsulta=gx.date.nullDate();this.OV9cEtcDatConsulta=gx.date.nullDate();this.AV10cEtcHorConsulta="";this.ZV10cEtcHorConsulta="";this.OV10cEtcHorConsulta="";this.AV11cEtcCodLocalizacao=0;this.ZV11cEtcCodLocalizacao=0;this.OV11cEtcCodLocalizacao=0;this.AV12cEtcCampo1Livre="";this.ZV12cEtcCampo1Livre="";this.OV12cEtcCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z384EtcNroSequ=0;this.O384EtcNroSequ=0;this.Z385EtcTipCons="";this.O385EtcTipCons="";this.Z383EtcNroDocu=0;this.O383EtcNroDocu=0;this.Z381EtcDatCons=gx.date.nullDate();this.O381EtcDatCons=gx.date.nullDate();this.Z382EtcHorCons="";this.O382EtcHorCons="";this.Z380EtcCodLoca=0;this.O380EtcCodLoca=0;this.Z379EtcCampo1L="";this.O379EtcCampo1L="";this.AV13pEtcNroSequencia=0;this.AV5LinkSelection="";this.A384EtcNroSequ=0;this.A385EtcTipCons="";this.A383EtcNroDocu=0;this.A381EtcDatCons=gx.date.nullDate();
this.A382EtcHorCons="";this.A380EtcCodLoca=0;this.A379EtcCampo1L="";this.ServerEvents=["e13be2_client","e14be1_client"];this.VarControlMap.AV13pEtcNroSequencia={id:"vPETCNROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx01i0.prototype=new gx.GxObject;gx.setParentObj(new gx01i0());