gx.evt.autoSkip=false;function hldiscip(){this.ServerClass="HLDiscip";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A169CurCod=gx.fn.getIntegerValue("CURCOD",".");this.AV13DcpNroPar=gx.fn.getIntegerValue("vDCPNROPAR",".")};this.e111j2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e141j1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,19,20,21];this.GXLastCtrlId=21;
this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",18,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hldiscip",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(186,19,"DCPNRO","Disciplina","","DcpNro","int",62,"px",4,4,"right",null,[],186,"DcpNro",true,0,false,false);this.Subfile1Container.addSingleLineEdit(184,20,"DCPCODABRE","Código ","","DcpCodAbre","char",65,"px",5,5,"left",null,[],184,"DcpCodAbre",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(185,21,"DCPNOM","Nome","","DcpNom","char",410,"px",80,80,"left",null,[],185,"DcpNom",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[19]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:18,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DCPNRO",gxz:"Z186DcpNro",gxold:"O186DcpNro",gxvar:"A186DcpNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A186DcpNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z186DcpNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DCPNRO",gx.fn.currentGridRowImpl(18),gx.O.A186DcpNro,0)},c2v:function(){gx.O.A186DcpNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DCPNRO",gx.fn.currentGridRowImpl(18),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DCPCODABRE",gxz:"Z184DcpCodAbre",gxold:"O184DcpCodAbre",gxvar:"A184DcpCodAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A184DcpCodAbre=a
},v2z:function(a){gx.O.Z184DcpCodAbre=a},v2c:function(){gx.fn.setGridControlValue("DCPCODABRE",gx.fn.currentGridRowImpl(18),gx.O.A184DcpCodAbre,0)},c2v:function(){gx.O.A184DcpCodAbre=this.val()},val:function(){return gx.fn.getGridControlValue("DCPCODABRE",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"char",len:80,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DCPNOM",gxz:"Z185DcpNom",gxold:"O185DcpNom",gxvar:"A185DcpNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A185DcpNom=a
},v2z:function(a){gx.O.Z185DcpNom=a},v2c:function(){gx.fn.setGridControlValue("DCPNOM",gx.fn.currentGridRowImpl(18),gx.O.A185DcpNom,0)},c2v:function(){gx.O.A185DcpNom=this.val()},val:function(){return gx.fn.getGridControlValue("DCPNOM",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.Z186DcpNro=0;this.O186DcpNro=0;this.Z184DcpCodAbre="";this.O184DcpCodAbre="";this.Z185DcpNom="";this.O185DcpNom="";this.AV13DcpNroPar=0;this.A169CurCod=0;this.A186DcpNro=0;this.A184DcpCodAbre="";this.A185DcpNom="";
this.ServerEvents=["e111j2_client","e141j1_client"];this.VarControlMap.A169CurCod={id:"CURCOD",grid:0,type:"int"};this.VarControlMap.AV13DcpNroPar={id:"vDCPNROPAR",grid:0,type:"int"};this.VarControlMap.A169CurCod={id:"CURCOD",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"A169CurCod"});this.SetStandaloneVars()}hldiscip.prototype=new gx.GxObject;gx.setParentObj(new hldiscip());