gx.evt.autoSkip=false;function hlsubare(){this.ServerClass="HLSubAre";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A4AcoNro=gx.fn.getIntegerValue("ACONRO",".");this.AV10SacNroPar=gx.fn.getIntegerValue("vSACNROPAR",".")};this.Valid_Sacnom=function(){try{if(gx.fn.currentGridRowImpl(24)===0){return true}var a=gx.util.balloon.getNew("SACNOM",gx.fn.currentGridRowImpl(24));this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e111i2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e131i1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,25,26,27];this.GXLastCtrlId=27;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",24,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hlsubare",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit(3,25,"ACODES","Área","","AcoDes","char",260,"px",50,50,"left",null,[],3,"AcoDes",true,0,false,false);this.Subfile1Container.addSingleLineEdit(753,26,"SACNRO","Número","","SacNro","int",50,"px",3,3,"right",null,[],753,"SacNro",true,0,false,false);this.Subfile1Container.addSingleLineEdit(752,27,"SACNOM","Subárea","","SacNom","char",260,"px",50,50,"left",null,[],752,"SacNom",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};
this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSACNOMSCR",gxz:"ZV12SacNomScr",gxold:"OV12SacNomScr",gxvar:"AV12SacNomScr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12SacNomScr=a},v2z:function(a){gx.O.ZV12SacNomScr=a},v2c:function(){gx.fn.setControlValue("vSACNOMSCR",gx.O.AV12SacNomScr,0)
},c2v:function(){gx.O.AV12SacNomScr=this.val()},val:function(){return gx.fn.getControlValue("vSACNOMSCR")},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"ACODES",gxz:"Z3AcoDes",gxold:"O3AcoDes",gxvar:"A3AcoDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A3AcoDes=a},v2z:function(a){gx.O.Z3AcoDes=a},v2c:function(){gx.fn.setGridControlValue("ACODES",gx.fn.currentGridRowImpl(24),gx.O.A3AcoDes,0)
},c2v:function(){gx.O.A3AcoDes=this.val()},val:function(){return gx.fn.getGridControlValue("ACODES",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"SACNRO",gxz:"Z753SacNro",gxold:"O753SacNro",gxvar:"A753SacNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A753SacNro=gx.num.intval(a)},v2z:function(a){gx.O.Z753SacNro=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("SACNRO",gx.fn.currentGridRowImpl(24),gx.O.A753SacNro,0)},c2v:function(){gx.O.A753SacNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SACNRO",gx.fn.currentGridRowImpl(24),".")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:this.Valid_Sacnom,isvalid:null,fld:"SACNOM",gxz:"Z752SacNom",gxold:"O752SacNom",gxvar:"A752SacNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A752SacNom=a
},v2z:function(a){gx.O.Z752SacNom=a},v2c:function(){gx.fn.setGridControlValue("SACNOM",gx.fn.currentGridRowImpl(24),gx.O.A752SacNom,0)},c2v:function(){gx.O.A752SacNom=this.val()},val:function(){return gx.fn.getGridControlValue("SACNOM",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.AV12SacNomScr="";this.ZV12SacNomScr="";this.OV12SacNomScr="";this.Z3AcoDes="";this.O3AcoDes="";this.Z753SacNro=0;this.O753SacNro=0;this.Z752SacNom="";this.O752SacNom="";this.AV10SacNroPar=0;this.A4AcoNro=0;
this.A3AcoDes="";this.A753SacNro=0;this.A752SacNom="";this.ServerEvents=["e111i2_client","e131i1_client"];this.VarControlMap.A4AcoNro={id:"ACONRO",grid:0,type:"int"};this.VarControlMap.AV10SacNroPar={id:"vSACNROPAR",grid:0,type:"int"};this.VarControlMap.A4AcoNro={id:"ACONRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[20]);this.Subfile1Container.addRefreshingVar({rfrVar:"A4AcoNro"});this.SetStandaloneVars()}hlsubare.prototype=new gx.GxObject;gx.setParentObj(new hlsubare());