gx.evt.autoSkip=false;function hteste3(){this.ServerClass="HTeste3";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e208i2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e218i2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e228i2_client=function(){this.clearMessages();this.addMessage("Passei dentro do evento submit.");this.refreshOutputs([])};this.e198i1_client=function(){this.clearMessages();
this.refreshOutputs([])};this.e238i2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e188i1_client=function(){this.clearMessages();this.refreshOutputs([])};this.e248i2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e178i1_client=function(){this.clearMessages();this.refreshOutputs([])};this.e118i2_client=function(){this.executeServerEvent("ENTER",true)};this.e168i2_client=function(){this.executeServerEvent("'LER SESSAO'",true,arguments[0])};this.e128i2_client=function(){this.executeServerEvent("'RODA UPG75'",false)
};this.e258i1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,19,22,24,26,28,32,35,37,40,42,45,47,50,52,59,60];this.GXLastCtrlId=60;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",58,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hteste3",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("I",59,"vI","i","","i","int",0,"px",4,4,"right",null,[],"I","i",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Caracter",60,"vCARACTER","Caracter","","Caracter","char",0,"px",1,1,"left",null,[],"Caracter","Caracter",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[19]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCARACTER1",gxz:"ZV145ScrCaracter1",gxold:"OV145ScrCaracter1",gxvar:"AV145ScrCaracter1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV145ScrCaracter1=a
},v2z:function(a){gx.O.ZV145ScrCaracter1=a},v2c:function(){gx.fn.setControlValue("vSCRCARACTER1",gx.O.AV145ScrCaracter1,0)},c2v:function(){gx.O.AV145ScrCaracter1=this.val()},val:function(){return gx.fn.getControlValue("vSCRCARACTER1")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCARACTER2",gxz:"ZV146ScrCaracter2",gxold:"OV146ScrCaracter2",gxvar:"AV146ScrCaracter2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV146ScrCaracter2=a
},v2z:function(a){gx.O.ZV146ScrCaracter2=a},v2c:function(){gx.fn.setControlValue("vSCRCARACTER2",gx.O.AV146ScrCaracter2,0)},c2v:function(){gx.O.AV146ScrCaracter2=this.val()},val:function(){return gx.fn.getControlValue("vSCRCARACTER2")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE1",grid:0};this.GXValidFnc[35]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALTEXTO",gxz:"ZV141ScrValTexto",gxold:"OV141ScrValTexto",gxvar:"AV141ScrValTexto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV141ScrValTexto=a
},v2z:function(a){gx.O.ZV141ScrValTexto=a},v2c:function(){gx.fn.setControlValue("vSCRVALTEXTO",gx.O.AV141ScrValTexto,0)},c2v:function(){gx.O.AV141ScrValTexto=this.val()},val:function(){return gx.fn.getControlValue("vSCRVALTEXTO")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNROINI",gxz:"ZV60DocNroIni",gxold:"OV60DocNroIni",gxvar:"AV60DocNroIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV60DocNroIni=gx.num.intval(a)
},v2z:function(a){gx.O.ZV60DocNroIni=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNROINI",gx.O.AV60DocNroIni,0)},c2v:function(){gx.O.AV60DocNroIni=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNROINI",".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDAGRUPARDOCUMENTOS",gxz:"ZV136ScrIndAGruparDocumentos",gxold:"OV136ScrIndAGruparDocumentos",gxvar:"AV136ScrIndAGruparDocumentos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV136ScrIndAGruparDocumentos=a
},v2z:function(a){gx.O.ZV136ScrIndAGruparDocumentos=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDAGRUPARDOCUMENTOS",gx.O.AV136ScrIndAGruparDocumentos,"S")},c2v:function(){gx.O.AV136ScrIndAGruparDocumentos=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDAGRUPARDOCUMENTOS","S","N")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVALSENHA",gxz:"ZV140ValSenha",gxold:"OV140ValSenha",gxvar:"AV140ValSenha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV140ValSenha=a
},v2z:function(a){gx.O.ZV140ValSenha=a},v2c:function(){gx.fn.setControlValue("vVALSENHA",gx.O.AV140ValSenha,0)},c2v:function(){gx.O.AV140ValSenha=this.val()},val:function(){return gx.fn.getControlValue("vVALSENHA")},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:58,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vI",gxz:"ZV16i",gxold:"OV16i",gxvar:"AV16i",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16i=gx.num.intval(a)
},v2z:function(a){gx.O.ZV16i=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vI",gx.fn.currentGridRowImpl(58),gx.O.AV16i,0)},c2v:function(){gx.O.AV16i=this.val()},val:function(){return gx.fn.getGridIntegerValue("vI",gx.fn.currentGridRowImpl(58),".")},nac:function(){return false}};this.GXValidFnc[60]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:58,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCARACTER",gxz:"ZV78Caracter",gxold:"OV78Caracter",gxvar:"AV78Caracter",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV78Caracter=a
},v2z:function(a){gx.O.ZV78Caracter=a},v2c:function(){gx.fn.setGridControlValue("vCARACTER",gx.fn.currentGridRowImpl(58),gx.O.AV78Caracter,0)},c2v:function(){gx.O.AV78Caracter=this.val()},val:function(){return gx.fn.getGridControlValue("vCARACTER",gx.fn.currentGridRowImpl(58))},nac:function(){return false}};this.AV145ScrCaracter1="";this.ZV145ScrCaracter1="";this.OV145ScrCaracter1="";this.AV146ScrCaracter2="";this.ZV146ScrCaracter2="";this.OV146ScrCaracter2="";this.AV141ScrValTexto="";this.ZV141ScrValTexto="";
this.OV141ScrValTexto="";this.AV60DocNroIni=0;this.ZV60DocNroIni=0;this.OV60DocNroIni=0;this.AV136ScrIndAGruparDocumentos="";this.ZV136ScrIndAGruparDocumentos="";this.OV136ScrIndAGruparDocumentos="";this.AV140ValSenha="";this.ZV140ValSenha="";this.OV140ValSenha="";this.ZV16i=0;this.OV16i=0;this.ZV78Caracter="";this.OV78Caracter="";this.AV16i=0;this.AV78Caracter="";this.ServerEvents=["e118i2_client","e168i2_client","e128i2_client","e258i1_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()
}hteste3.prototype=new gx.GxObject;gx.setParentObj(new hteste3());