gx.evt.autoSkip=false;function hmaw008(){this.ServerClass="HMaw008";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".");this.A113CedNroItem=gx.fn.getIntegerValue("CEDNROITEM",".");this.A112CedNroArti=gx.fn.getIntegerValue("CEDNROARTI",".")};this.Valid_Cednroseqc=function(){try{if(gx.fn.currentGridRowImpl(15)===0){return true}var a=gx.util.balloon.getNew("CEDNROSEQC",gx.fn.currentGridRowImpl(15));
this.AnyError=0;this.StandaloneModal();this.StandaloneNotModal()}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Scdnroseqs=function(){try{if(gx.fn.currentGridRowImpl(15)===0){return true}var a=gx.util.balloon.getNew("SCDNROSEQS",gx.fn.currentGridRowImpl(15));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e133z2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e143z1_client=function(){this.executeServerEvent("ENTER",true)
};this.e153z1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,16,17,18,19,20,21,22,23,24];this.GXLastCtrlId=24;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",15,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hmaw008",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit("Valcampo",16,"vVALCAMPO","Campo","","ValCampo","char",0,"px",4,4,"left",null,[],"Valcampo","ValCampo",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(115,17,"CEDNROSEQC","Seq.campo","","CedNroSeqC","int",0,"px",4,4,"right",null,[],115,"CedNroSeqC",true,0,false,false);this.Subfile1Container.addSingleLineEdit(114,18,"CEDNROREPC","Rep.campo","","CedNroRepC","int",0,"px",3,3,"right",null,[],114,"CedNroRepC",true,0,false,false);this.Subfile1Container.addSingleLineEdit(765,19,"SCDNROAGRU","Grupo","","ScdNroAgru","int",0,"px",2,2,"right",null,[],765,"ScdNroAgru",true,0,false,false);this.Subfile1Container.addSingleLineEdit(767,20,"SCDNROSEQS","Seq.subcampo","","ScdNroSeqS","int",0,"px",3,3,"right",null,[],767,"ScdNroSeqS",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(766,21,"SCDNROREPS","Rep.subcampo","","ScdNroRepS","int",0,"px",4,4,"right",null,[],766,"ScdNroRepS",true,0,false,false);this.Subfile1Container.addComboBox(768,22,"SCDTIPENTI","Tipo","ScdTipEnti","char",null,0,true,false,0,"px");this.Subfile1Container.addSingleLineEdit(764,23,"SCDCODENTI","Entidade","","ScdCodEnti","char",0,"px",8,8,"left",null,[],764,"ScdCodEnti",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Conteudo",24,"vCONTEUDO","Conteúdo","","Conteudo","char",0,"px",250,250,"left",null,[],"Conteudo","Conteudo",true,0,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[16]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vVALCAMPO",gxz:"ZV30ValCampo",gxold:"OV30ValCampo",gxvar:"AV30ValCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30ValCampo=a},v2z:function(a){gx.O.ZV30ValCampo=a},v2c:function(){gx.fn.setGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(15),gx.O.AV30ValCampo,0)
},c2v:function(){gx.O.AV30ValCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:this.Valid_Cednroseqc,isvalid:null,rgrid:[],fld:"CEDNROSEQC",gxz:"Z115CedNroSeqC",gxold:"O115CedNroSeqC",gxvar:"A115CedNroSeqC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A115CedNroSeqC=gx.num.intval(a)
},v2z:function(a){gx.O.Z115CedNroSeqC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROSEQC",gx.fn.currentGridRowImpl(15),gx.O.A115CedNroSeqC,0)},c2v:function(){gx.O.A115CedNroSeqC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROSEQC",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEDNROREPC",gxz:"Z114CedNroRepC",gxold:"O114CedNroRepC",gxvar:"A114CedNroRepC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A114CedNroRepC=gx.num.intval(a)
},v2z:function(a){gx.O.Z114CedNroRepC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROREPC",gx.fn.currentGridRowImpl(15),gx.O.A114CedNroRepC,0)},c2v:function(){gx.O.A114CedNroRepC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROREPC",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"SCDNROAGRU",gxz:"Z765ScdNroAgru",gxold:"O765ScdNroAgru",gxvar:"A765ScdNroAgru",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A765ScdNroAgru=gx.num.intval(a)
},v2z:function(a){gx.O.Z765ScdNroAgru=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROAGRU",gx.fn.currentGridRowImpl(15),gx.O.A765ScdNroAgru,0)},c2v:function(){gx.O.A765ScdNroAgru=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROAGRU",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:this.Valid_Scdnroseqs,isvalid:null,rgrid:[],fld:"SCDNROSEQS",gxz:"Z767ScdNroSeqS",gxold:"O767ScdNroSeqS",gxvar:"A767ScdNroSeqS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A767ScdNroSeqS=gx.num.intval(a)
},v2z:function(a){gx.O.Z767ScdNroSeqS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROSEQS",gx.fn.currentGridRowImpl(15),gx.O.A767ScdNroSeqS,0)},c2v:function(){gx.O.A767ScdNroSeqS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROSEQS",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"SCDNROREPS",gxz:"Z766ScdNroRepS",gxold:"O766ScdNroRepS",gxvar:"A766ScdNroRepS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A766ScdNroRepS=gx.num.intval(a)
},v2z:function(a){gx.O.Z766ScdNroRepS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROREPS",gx.fn.currentGridRowImpl(15),gx.O.A766ScdNroRepS,0)},c2v:function(){gx.O.A766ScdNroRepS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROREPS",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"SCDTIPENTI",gxz:"Z768ScdTipEnti",gxold:"O768ScdTipEnti",gxvar:"A768ScdTipEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A768ScdTipEnti=a
},v2z:function(a){gx.O.Z768ScdTipEnti=a},v2c:function(){gx.fn.setGridComboBoxValue("SCDTIPENTI",gx.fn.currentGridRowImpl(15),gx.O.A768ScdTipEnti)},c2v:function(){gx.O.A768ScdTipEnti=this.val()},val:function(){return gx.fn.getGridControlValue("SCDTIPENTI",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"char",len:8,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"SCDCODENTI",gxz:"Z764ScdCodEnti",gxold:"O764ScdCodEnti",gxvar:"A764ScdCodEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A764ScdCodEnti=a
},v2z:function(a){gx.O.Z764ScdCodEnti=a},v2c:function(){gx.fn.setGridControlValue("SCDCODENTI",gx.fn.currentGridRowImpl(15),gx.O.A764ScdCodEnti,0)},c2v:function(){gx.O.A764ScdCodEnti=this.val()},val:function(){return gx.fn.getGridControlValue("SCDCODENTI",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vCONTEUDO",gxz:"ZV19Conteudo",gxold:"OV19Conteudo",gxvar:"AV19Conteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19Conteudo=a
},v2z:function(a){gx.O.ZV19Conteudo=a},v2c:function(){gx.fn.setGridControlValue("vCONTEUDO",gx.fn.currentGridRowImpl(15),gx.O.AV19Conteudo,0)},c2v:function(){gx.O.AV19Conteudo=this.val()},val:function(){return gx.fn.getGridControlValue("vCONTEUDO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.ZV30ValCampo="";this.OV30ValCampo="";this.Z115CedNroSeqC=0;this.O115CedNroSeqC=0;this.Z114CedNroRepC=0;this.O114CedNroRepC=0;this.Z765ScdNroAgru=0;this.O765ScdNroAgru=0;this.Z767ScdNroSeqS=0;
this.O767ScdNroSeqS=0;this.Z766ScdNroRepS=0;this.O766ScdNroRepS=0;this.Z768ScdTipEnti="";this.O768ScdTipEnti="";this.Z764ScdCodEnti="";this.O764ScdCodEnti="";this.ZV19Conteudo="";this.OV19Conteudo="";this.A258DocNro=0;this.A113CedNroItem=0;this.A112CedNroArti=0;this.A865TidCodDici="";this.A863TidCod="";this.AV30ValCampo="";this.A115CedNroSeqC=0;this.A114CedNroRepC=0;this.A765ScdNroAgru=0;this.A767ScdNroSeqS=0;this.A766ScdNroRepS=0;this.A768ScdTipEnti="";this.A764ScdCodEnti="";this.AV19Conteudo="";
this.A203DicTipMate="";this.A202DicNroSequ=0;this.A216DisNroSequ=0;this.A209DisCodSubc="";this.A200DicNroEtiq="";this.ServerEvents=["e143z1_client","e153z1_client"];this.EnterCtrl=["BUTTON3"];this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A113CedNroItem={id:"CEDNROITEM",grid:0,type:"int"};this.VarControlMap.A112CedNroArti={id:"CEDNROARTI",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A113CedNroItem={id:"CEDNROITEM",grid:0,type:"int"};
this.VarControlMap.A112CedNroArti={id:"CEDNROARTI",grid:0,type:"int"};this.VarControlMap.AV29CvdValConteudo={id:"vCVDVALCONTEUDO",grid:0,type:"vchar"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A113CedNroItem"});this.Subfile1Container.addRefreshingVar({rfrVar:"A112CedNroArti"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV29CvdValConteudo"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.SetStandaloneVars()}hmaw008.prototype=new gx.GxObject;gx.setParentObj(new hmaw008());