gx.evt.autoSkip=false;function hged02(){this.ServerClass="HGed02";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV11NroIndiceInicial=gx.fn.getIntegerValue("vNROINDICEINICIAL",".");this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV10DocNroInicial=gx.fn.getIntegerValue("vDOCNROINICIAL",".")};this.e153g1_client=function(){this.clearMessages();this.AV10DocNroInicial=this.AV5DocNro;this.AV11NroIndiceInicial=this.AV9NroIndice+1;
this.refreshOutputs([{av:"AV11NroIndiceInicial",fld:"vNROINDICEINICIAL"},{av:"AV10DocNroInicial",fld:"vDOCNROINICIAL"}])};this.e163g1_client=function(){this.clearMessages();this.refreshOutputs([])};this.e113g2_client=function(){this.executeServerEvent("ENTER",true)};this.e173g2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,22,25,28,31,34,36,40,41];this.GXLastCtrlId=41;this.Grid2Container=new gx.grid.grid(this,2,"WbpLvl2",39,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"hged02",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");
this.Grid2Container.addSingleLineEdit("Nomcampo",40,"vNOMCAMPO","Campo","","NomCampo","char",0,"px",20,20,"left",null,[],"Nomcampo","NomCampo",true,0,false,false);this.Grid2Container.addSingleLineEdit("Valcampo",41,"vVALCAMPO","Conteúdo","","ValCampo","char",0,"px",40,40,"left",null,[],"Valcampo","ValCampo",true,0,false,false);this.setGrid(this.Grid2Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAMPOAUX",gxz:"ZV13CampoAux",gxold:"OV13CampoAux",gxvar:"AV13CampoAux",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13CampoAux=a
},v2z:function(a){gx.O.ZV13CampoAux=a},v2c:function(){gx.fn.setControlValue("vCAMPOAUX",gx.O.AV13CampoAux,0)},c2v:function(){gx.O.AV13CampoAux=this.val()},val:function(){return gx.fn.getControlValue("vCAMPOAUX")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TABLE4",grid:0};this.GXValidFnc[28]={fld:"TABLE1",grid:0};this.GXValidFnc[31]={fld:"TABLE2",grid:0};this.GXValidFnc[34]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNROINDICE",gxz:"ZV9NroIndice",gxold:"OV9NroIndice",gxvar:"AV9NroIndice",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9NroIndice=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9NroIndice=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNROINDICE",gx.O.AV9NroIndice,0)},c2v:function(){gx.O.AV9NroIndice=this.val()},val:function(){return gx.fn.getIntegerValue("vNROINDICE",".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:39,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vNOMCAMPO",gxz:"ZV6NomCampo",gxold:"OV6NomCampo",gxvar:"AV6NomCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6NomCampo=a
},v2z:function(a){gx.O.ZV6NomCampo=a},v2c:function(){gx.fn.setGridControlValue("vNOMCAMPO",gx.fn.currentGridRowImpl(39),gx.O.AV6NomCampo,0)},c2v:function(){gx.O.AV6NomCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vNOMCAMPO",gx.fn.currentGridRowImpl(39))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:0,grid:39,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vVALCAMPO",gxz:"ZV7ValCampo",gxold:"OV7ValCampo",gxvar:"AV7ValCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7ValCampo=a
},v2z:function(a){gx.O.ZV7ValCampo=a},v2c:function(){gx.fn.setGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(39),gx.O.AV7ValCampo,0)},c2v:function(){gx.O.AV7ValCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(39))},nac:function(){return false}};this.AV13CampoAux="";this.ZV13CampoAux="";this.OV13CampoAux="";this.AV9NroIndice=0;this.ZV9NroIndice=0;this.OV9NroIndice=0;this.ZV6NomCampo="";this.OV6NomCampo="";this.ZV7ValCampo="";this.OV7ValCampo="";
this.AV5DocNro=0;this.AV6NomCampo="";this.AV7ValCampo="";this.AV11NroIndiceInicial=0;this.AV10DocNroInicial=0;this.ServerEvents=["e113g2_client","e173g2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV11NroIndiceInicial={id:"vNROINDICEINICIAL",grid:0,type:"int"};this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV10DocNroInicial={id:"vDOCNROINICIAL",grid:0,type:"int"};this.SetStandaloneVars()}hged02.prototype=new gx.GxObject;gx.setParentObj(new hged02());