gx.evt.autoSkip=false;function gx01j0(){this.ServerClass="Gx01J0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pEstNro=gx.fn.getIntegerValue("vPESTNRO",".")};this.e13bf2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bf1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,49];this.GXLastCtrlId=49;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01j0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(368,43,"ESTNRO","Número estação","","EstNro","int",0,"px",4,4,"right",null,[],368,"EstNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(367,44,"ESTNOM","Nome","Selecionar","EstNom","char",0,"px",20,20,"left",null,[],367,"EstNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(369,45,"ESTNROEMPR","Layout comprov.emprestimo","","EstNroEmpr","int",0,"px",3,3,"right",null,[],369,"EstNroEmpr",true,0,false,false);this.Grid1Container.addSingleLineEdit(370,46,"ESTNROMULT","Layout comprov. multa","","EstNroMult","int",0,"px",3,3,"right",null,[],370,"EstNroMult",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:"TEXTBLOCKESTNRO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCESTNRO",gxz:"ZV6cEstNro",gxold:"OV6cEstNro",gxvar:"AV6cEstNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEstNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cEstNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCESTNRO",gx.O.AV6cEstNro,0)},c2v:function(){gx.O.AV6cEstNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCESTNRO",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKESTNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCESTNOM",gxz:"ZV7cEstNom",gxold:"OV7cEstNom",gxvar:"AV7cEstNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cEstNom=a},v2z:function(a){gx.O.ZV7cEstNom=a},v2c:function(){gx.fn.setControlValue("vCESTNOM",gx.O.AV7cEstNom,0)},c2v:function(){gx.O.AV7cEstNom=this.val()},val:function(){return gx.fn.getControlValue("vCESTNOM")
},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKESTNROEMPRESTIMOCOMPROVANTE",format:0,grid:0};this.GXValidFnc[24]={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:"vCESTNROEMPRESTIMOCOMPROVANTE",gxz:"ZV8cEstNroEmprestimoComprovante",gxold:"OV8cEstNroEmprestimoComprovante",gxvar:"AV8cEstNroEmprestimoComprovante",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cEstNroEmprestimoComprovante=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cEstNroEmprestimoComprovante=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCESTNROEMPRESTIMOCOMPROVANTE",gx.O.AV8cEstNroEmprestimoComprovante,0)},c2v:function(){gx.O.AV8cEstNroEmprestimoComprovante=this.val()},val:function(){return gx.fn.getIntegerValue("vCESTNROEMPRESTIMOCOMPROVANTE",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKESTNROMULTACOMPROVANTE",format:0,grid:0};this.GXValidFnc[29]={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:"vCESTNROMULTACOMPROVANTE",gxz:"ZV9cEstNroMultaComprovante",gxold:"OV9cEstNroMultaComprovante",gxvar:"AV9cEstNroMultaComprovante",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEstNroMultaComprovante=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cEstNroMultaComprovante=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCESTNROMULTACOMPROVANTE",gx.O.AV9cEstNroMultaComprovante,0)},c2v:function(){gx.O.AV9cEstNroMultaComprovante=this.val()},val:function(){return gx.fn.getIntegerValue("vCESTNROMULTACOMPROVANTE",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKESTCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCESTCAMPO1LIVRE",gxz:"ZV10cEstCampo1Livre",gxold:"OV10cEstCampo1Livre",gxvar:"AV10cEstCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cEstCampo1Livre=a
},v2z:function(a){gx.O.ZV10cEstCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCESTCAMPO1LIVRE",gx.O.AV10cEstCampo1Livre,0)},c2v:function(){gx.O.AV10cEstCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCESTCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ESTNRO",gxz:"Z368EstNro",gxold:"O368EstNro",gxvar:"A368EstNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A368EstNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z368EstNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ESTNRO",gx.fn.currentGridRowImpl(41),gx.O.A368EstNro,0)},c2v:function(){gx.O.A368EstNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ESTNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ESTNOM",gxz:"Z367EstNom",gxold:"O367EstNom",gxvar:"A367EstNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A367EstNom=a
},v2z:function(a){gx.O.Z367EstNom=a},v2c:function(){gx.fn.setGridControlValue("ESTNOM",gx.fn.currentGridRowImpl(41),gx.O.A367EstNom,0)},c2v:function(){gx.O.A367EstNom=this.val()},val:function(){return gx.fn.getGridControlValue("ESTNOM",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ESTNROEMPR",gxz:"Z369EstNroEmpr",gxold:"O369EstNroEmpr",gxvar:"A369EstNroEmpr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A369EstNroEmpr=gx.num.intval(a)
},v2z:function(a){gx.O.Z369EstNroEmpr=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ESTNROEMPR",gx.fn.currentGridRowImpl(41),gx.O.A369EstNroEmpr,0)},c2v:function(){gx.O.A369EstNroEmpr=this.val()},val:function(){return gx.fn.getGridIntegerValue("ESTNROEMPR",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ESTNROMULT",gxz:"Z370EstNroMult",gxold:"O370EstNroMult",gxvar:"A370EstNroMult",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A370EstNroMult=gx.num.intval(a)
},v2z:function(a){gx.O.Z370EstNroMult=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ESTNROMULT",gx.fn.currentGridRowImpl(41),gx.O.A370EstNroMult,0)},c2v:function(){gx.O.A370EstNroMult=this.val()},val:function(){return gx.fn.getGridIntegerValue("ESTNROMULT",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TABLE4",grid:0};this.AV6cEstNro=0;this.ZV6cEstNro=0;this.OV6cEstNro=0;this.AV7cEstNom="";this.ZV7cEstNom="";this.OV7cEstNom="";this.AV8cEstNroEmprestimoComprovante=0;
this.ZV8cEstNroEmprestimoComprovante=0;this.OV8cEstNroEmprestimoComprovante=0;this.AV9cEstNroMultaComprovante=0;this.ZV9cEstNroMultaComprovante=0;this.OV9cEstNroMultaComprovante=0;this.AV10cEstCampo1Livre="";this.ZV10cEstCampo1Livre="";this.OV10cEstCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z368EstNro=0;this.O368EstNro=0;this.Z367EstNom="";this.O367EstNom="";this.Z369EstNroEmpr=0;this.O369EstNroEmpr=0;this.Z370EstNroMult=0;this.O370EstNroMult=0;this.AV11pEstNro=0;this.A366EstCampo1L="";
this.AV5LinkSelection="";this.A368EstNro=0;this.A367EstNom="";this.A369EstNroEmpr=0;this.A370EstNroMult=0;this.ServerEvents=["e13bf2_client","e14bf1_client"];this.VarControlMap.AV11pEstNro={id:"vPESTNRO",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.SetStandaloneVars()}gx01j0.prototype=new gx.GxObject;gx.setParentObj(new gx01j0());