gx.evt.autoSkip=false;function gx03p0(){this.ServerClass="Gx03P0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pFmgTipMaterial=gx.fn.getControlValue("vPFMGTIPMATERIAL");this.AV14pFmgNroGrupo=gx.fn.getIntegerValue("vPFMGNROGRUPO",".")};this.e13ca2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ca1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[3,10,12,15,17,20,22,25,27,30,32,35,37,40,42,45,47,50,51,52,53,54,55,56,59];this.GXLastCtrlId=59;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",49,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03p0",[],false,1,false,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(419,50,"FMGTIPMATE","Tipo material","","FmgTipMate","char",0,"px",3,3,"left",null,[],419,"FmgTipMate",true,0,false,false);
this.Grid1Container.addSingleLineEdit(417,51,"FMGNROGRUP","Nro. grupo","","FmgNroGrup","int",0,"px",3,3,"right",null,[],417,"FmgNroGrup",true,0,false,false);this.Grid1Container.addComboBox(418,52,"FMGTIPCONT","Tipo conteúdo","FmgTipCont","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(420,53,"FMGVALCONS","Valor da constante","","FmgValCons","char",0,"px",25,25,"left",null,[],420,"FmgValCons",true,0,false,false);this.Grid1Container.addSingleLineEdit(422,54,"FMGVALPREF","Prefixo do grupo","","FmgValPref","char",0,"px",3,3,"left",null,[],422,"FmgValPref",true,0,false,false);
this.Grid1Container.addSingleLineEdit(423,55,"FMGVALSUFI","Sufixo do grupo","","FmgValSufi","char",0,"px",3,3,"left",null,[],423,"FmgValSufi",true,0,false,false);this.Grid1Container.addSingleLineEdit(421,56,"FMGVALPONT","Pontuação final","","FmgValPont","char",0,"px",3,3,"left",null,[],421,"FmgValPont",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE5",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[12]={fld:"TABLE2",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCKFMGTIPMATERIAL",format:0,grid:0};
this.GXValidFnc[17]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGTIPMATERIAL",gxz:"ZV6cFmgTipMaterial",gxold:"OV6cFmgTipMaterial",gxvar:"AV6cFmgTipMaterial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cFmgTipMaterial=a},v2z:function(a){gx.O.ZV6cFmgTipMaterial=a},v2c:function(){gx.fn.setControlValue("vCFMGTIPMATERIAL",gx.O.AV6cFmgTipMaterial,0)},c2v:function(){gx.O.AV6cFmgTipMaterial=this.val()},val:function(){return gx.fn.getControlValue("vCFMGTIPMATERIAL")
},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCKFMGNROGRUPO",format:0,grid:0};this.GXValidFnc[22]={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:"vCFMGNROGRUPO",gxz:"ZV7cFmgNroGrupo",gxold:"OV7cFmgNroGrupo",gxvar:"AV7cFmgNroGrupo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cFmgNroGrupo=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cFmgNroGrupo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCFMGNROGRUPO",gx.O.AV7cFmgNroGrupo,0)
},c2v:function(){gx.O.AV7cFmgNroGrupo=this.val()},val:function(){return gx.fn.getIntegerValue("vCFMGNROGRUPO",".")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCKFMGTIPCONTEUDO",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGTIPCONTEUDO",gxz:"ZV8cFmgTipConteudo",gxold:"OV8cFmgTipConteudo",gxvar:"AV8cFmgTipConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cFmgTipConteudo=a
},v2z:function(a){gx.O.ZV8cFmgTipConteudo=a},v2c:function(){gx.fn.setComboBoxValue("vCFMGTIPCONTEUDO",gx.O.AV8cFmgTipConteudo)},c2v:function(){gx.O.AV8cFmgTipConteudo=this.val()},val:function(){return gx.fn.getControlValue("vCFMGTIPCONTEUDO")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCKFMGVALCONSTANTE",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGVALCONSTANTE",gxz:"ZV9cFmgValConstante",gxold:"OV9cFmgValConstante",gxvar:"AV9cFmgValConstante",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cFmgValConstante=a
},v2z:function(a){gx.O.ZV9cFmgValConstante=a},v2c:function(){gx.fn.setControlValue("vCFMGVALCONSTANTE",gx.O.AV9cFmgValConstante,0)},c2v:function(){gx.O.AV9cFmgValConstante=this.val()},val:function(){return gx.fn.getControlValue("vCFMGVALCONSTANTE")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCKFMGVALPREFIXO",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGVALPREFIXO",gxz:"ZV10cFmgValPrefixo",gxold:"OV10cFmgValPrefixo",gxvar:"AV10cFmgValPrefixo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cFmgValPrefixo=a
},v2z:function(a){gx.O.ZV10cFmgValPrefixo=a},v2c:function(){gx.fn.setControlValue("vCFMGVALPREFIXO",gx.O.AV10cFmgValPrefixo,0)},c2v:function(){gx.O.AV10cFmgValPrefixo=this.val()},val:function(){return gx.fn.getControlValue("vCFMGVALPREFIXO")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCKFMGVALSUFIXO",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGVALSUFIXO",gxz:"ZV11cFmgValSufixo",gxold:"OV11cFmgValSufixo",gxvar:"AV11cFmgValSufixo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cFmgValSufixo=a
},v2z:function(a){gx.O.ZV11cFmgValSufixo=a},v2c:function(){gx.fn.setControlValue("vCFMGVALSUFIXO",gx.O.AV11cFmgValSufixo,0)},c2v:function(){gx.O.AV11cFmgValSufixo=this.val()},val:function(){return gx.fn.getControlValue("vCFMGVALSUFIXO")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCKFMGVALPONTUACAOFINAL",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFMGVALPONTUACAOFINAL",gxz:"ZV12cFmgValPontuacaoFinal",gxold:"OV12cFmgValPontuacaoFinal",gxvar:"AV12cFmgValPontuacaoFinal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cFmgValPontuacaoFinal=a
},v2z:function(a){gx.O.ZV12cFmgValPontuacaoFinal=a},v2c:function(){gx.fn.setControlValue("vCFMGVALPONTUACAOFINAL",gx.O.AV12cFmgValPontuacaoFinal,0)},c2v:function(){gx.O.AV12cFmgValPontuacaoFinal=this.val()},val:function(){return gx.fn.getControlValue("vCFMGVALPONTUACAOFINAL")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGTIPMATE",gxz:"Z419FmgTipMate",gxold:"O419FmgTipMate",gxvar:"A419FmgTipMate",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A419FmgTipMate=a
},v2z:function(a){gx.O.Z419FmgTipMate=a},v2c:function(){gx.fn.setGridControlValue("FMGTIPMATE",gx.fn.currentGridRowImpl(49),gx.O.A419FmgTipMate,0)},c2v:function(){gx.O.A419FmgTipMate=this.val()},val:function(){return gx.fn.getGridControlValue("FMGTIPMATE",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"FMGNROGRUP",gxz:"Z417FmgNroGrup",gxold:"O417FmgNroGrup",gxvar:"A417FmgNroGrup",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A417FmgNroGrup=gx.num.intval(a)
},v2z:function(a){gx.O.Z417FmgNroGrup=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FMGNROGRUP",gx.fn.currentGridRowImpl(49),gx.O.A417FmgNroGrup,0)},c2v:function(){gx.O.A417FmgNroGrup=this.val()},val:function(){return gx.fn.getGridIntegerValue("FMGNROGRUP",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGTIPCONT",gxz:"Z418FmgTipCont",gxold:"O418FmgTipCont",gxvar:"A418FmgTipCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A418FmgTipCont=a
},v2z:function(a){gx.O.Z418FmgTipCont=a},v2c:function(){gx.fn.setGridComboBoxValue("FMGTIPCONT",gx.fn.currentGridRowImpl(49),gx.O.A418FmgTipCont)},c2v:function(){gx.O.A418FmgTipCont=this.val()},val:function(){return gx.fn.getGridControlValue("FMGTIPCONT",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGVALCONS",gxz:"Z420FmgValCons",gxold:"O420FmgValCons",gxvar:"A420FmgValCons",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A420FmgValCons=a
},v2z:function(a){gx.O.Z420FmgValCons=a},v2c:function(){gx.fn.setGridControlValue("FMGVALCONS",gx.fn.currentGridRowImpl(49),gx.O.A420FmgValCons,0)},c2v:function(){gx.O.A420FmgValCons=this.val()},val:function(){return gx.fn.getGridControlValue("FMGVALCONS",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGVALPREF",gxz:"Z422FmgValPref",gxold:"O422FmgValPref",gxvar:"A422FmgValPref",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A422FmgValPref=a
},v2z:function(a){gx.O.Z422FmgValPref=a},v2c:function(){gx.fn.setGridControlValue("FMGVALPREF",gx.fn.currentGridRowImpl(49),gx.O.A422FmgValPref,0)},c2v:function(){gx.O.A422FmgValPref=this.val()},val:function(){return gx.fn.getGridControlValue("FMGVALPREF",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGVALSUFI",gxz:"Z423FmgValSufi",gxold:"O423FmgValSufi",gxvar:"A423FmgValSufi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A423FmgValSufi=a
},v2z:function(a){gx.O.Z423FmgValSufi=a},v2c:function(){gx.fn.setGridControlValue("FMGVALSUFI",gx.fn.currentGridRowImpl(49),gx.O.A423FmgValSufi,0)},c2v:function(){gx.O.A423FmgValSufi=this.val()},val:function(){return gx.fn.getGridControlValue("FMGVALSUFI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FMGVALPONT",gxz:"Z421FmgValPont",gxold:"O421FmgValPont",gxvar:"A421FmgValPont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A421FmgValPont=a
},v2z:function(a){gx.O.Z421FmgValPont=a},v2c:function(){gx.fn.setGridControlValue("FMGVALPONT",gx.fn.currentGridRowImpl(49),gx.O.A421FmgValPont,0)},c2v:function(){gx.O.A421FmgValPont=this.val()},val:function(){return gx.fn.getGridControlValue("FMGVALPONT",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[59]={fld:"PROMPT_CFMGTIPMATERIAL",grid:0};this.AV6cFmgTipMaterial="";this.ZV6cFmgTipMaterial="";this.OV6cFmgTipMaterial="";this.AV7cFmgNroGrupo=0;this.ZV7cFmgNroGrupo=0;
this.OV7cFmgNroGrupo=0;this.AV8cFmgTipConteudo="";this.ZV8cFmgTipConteudo="";this.OV8cFmgTipConteudo="";this.AV9cFmgValConstante="";this.ZV9cFmgValConstante="";this.OV9cFmgValConstante="";this.AV10cFmgValPrefixo="";this.ZV10cFmgValPrefixo="";this.OV10cFmgValPrefixo="";this.AV11cFmgValSufixo="";this.ZV11cFmgValSufixo="";this.OV11cFmgValSufixo="";this.AV12cFmgValPontuacaoFinal="";this.ZV12cFmgValPontuacaoFinal="";this.OV12cFmgValPontuacaoFinal="";this.Z419FmgTipMate="";this.O419FmgTipMate="";this.Z417FmgNroGrup=0;
this.O417FmgNroGrup=0;this.Z418FmgTipCont="";this.O418FmgTipCont="";this.Z420FmgValCons="";this.O420FmgValCons="";this.Z422FmgValPref="";this.O422FmgValPref="";this.Z423FmgValSufi="";this.O423FmgValSufi="";this.Z421FmgValPont="";this.O421FmgValPont="";this.AV13pFmgTipMaterial="";this.AV14pFmgNroGrupo=0;this.A419FmgTipMate="";this.A417FmgNroGrup=0;this.A418FmgTipCont="";this.A420FmgValCons="";this.A422FmgValPref="";this.A423FmgValSufi="";this.A421FmgValPont="";this.ServerEvents=["e13ca2_client","e14ca1_client"];
this.setPrompt("PROMPT_CFMGTIPMATERIAL",[17]);this.VarControlMap.AV13pFmgTipMaterial={id:"vPFMGTIPMATERIAL",grid:0,type:"char"};this.VarControlMap.AV14pFmgNroGrupo={id:"vPFMGNROGRUPO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[17]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[22]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[27]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[32]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[37]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[42]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[47]);this.SetStandaloneVars()}gx03p0.prototype=new gx.GxObject;gx.setParentObj(new gx03p0());