gx.evt.autoSkip=false;function gx03r0(){this.ServerClass="Gx03R0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pAtdNro=gx.fn.getIntegerValue("vPATDNRO",".")};this.e13au2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14au1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,43,47,48,49,50,51,52,55];
this.GXLastCtrlId=55;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03r0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(63,48,"ATDNRO","Autoridade","","AtdNro","int",0,"px",6,6,"right",null,[],63,"AtdNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(65,49,"ATDVALORDE","Ordenação","","AtdValOrde","char",0,"px",50,50,"left",null,[],65,"AtdValOrde",true,0,false,false);
this.Grid1Container.addSingleLineEdit(60,50,"ATDCODCAMP","Campo","","AtdCodCamp","char",0,"px",3,3,"left",null,[],60,"AtdCodCamp",true,0,false,false);this.Grid1Container.addSingleLineEdit(64,51,"ATDVALCAMP","Valor campo 008","","AtdValCamp","char",0,"px",40,40,"left",null,[],64,"AtdValCamp",true,0,false,false);this.Grid1Container.addComboBox(62,52,"ATDINDROTE","Rotear ?","AtdIndRote","char",null,0,true,false,0,"px");this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};
this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKATDNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCATDNRO",gxz:"ZV6cAtdNro",gxold:"OV6cAtdNro",gxvar:"AV6cAtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAtdNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cAtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCATDNRO",gx.O.AV6cAtdNro,0)
},c2v:function(){gx.O.AV6cAtdNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCATDNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKATDVALORDENACAO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATDVALORDENACAO",gxz:"ZV7cAtdValOrdenacao",gxold:"OV7cAtdValOrdenacao",gxvar:"AV7cAtdValOrdenacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAtdValOrdenacao=a
},v2z:function(a){gx.O.ZV7cAtdValOrdenacao=a},v2c:function(){gx.fn.setControlValue("vCATDVALORDENACAO",gx.O.AV7cAtdValOrdenacao,0)},c2v:function(){gx.O.AV7cAtdValOrdenacao=this.val()},val:function(){return gx.fn.getControlValue("vCATDVALORDENACAO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKATDCODCAMPO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATDCODCAMPO",gxz:"ZV8cAtdCodCampo",gxold:"OV8cAtdCodCampo",gxvar:"AV8cAtdCodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cAtdCodCampo=a
},v2z:function(a){gx.O.ZV8cAtdCodCampo=a},v2c:function(){gx.fn.setControlValue("vCATDCODCAMPO",gx.O.AV8cAtdCodCampo,0)},c2v:function(){gx.O.AV8cAtdCodCampo=this.val()},val:function(){return gx.fn.getControlValue("vCATDCODCAMPO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKATDVALCAMPO008",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATDVALCAMPO008",gxz:"ZV9cAtdValCampo008",gxold:"OV9cAtdValCampo008",gxvar:"AV9cAtdValCampo008",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cAtdValCampo008=a
},v2z:function(a){gx.O.ZV9cAtdValCampo008=a},v2c:function(){gx.fn.setControlValue("vCATDVALCAMPO008",gx.O.AV9cAtdValCampo008,0)},c2v:function(){gx.O.AV9cAtdValCampo008=this.val()},val:function(){return gx.fn.getControlValue("vCATDVALCAMPO008")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKATDINDROTEAR",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATDINDROTEAR",gxz:"ZV10cAtdIndRotear",gxold:"OV10cAtdIndRotear",gxvar:"AV10cAtdIndRotear",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV10cAtdIndRotear=a
},v2z:function(a){gx.O.ZV10cAtdIndRotear=a},v2c:function(){gx.fn.setComboBoxValue("vCATDINDROTEAR",gx.O.AV10cAtdIndRotear)},c2v:function(){gx.O.AV10cAtdIndRotear=this.val()},val:function(){return gx.fn.getControlValue("vCATDINDROTEAR")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKATDCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATDCAMPO1LIVRE",gxz:"ZV11cAtdCampo1Livre",gxold:"OV11cAtdCampo1Livre",gxvar:"AV11cAtdCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cAtdCampo1Livre=a
},v2z:function(a){gx.O.ZV11cAtdCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCATDCAMPO1LIVRE",gx.O.AV11cAtdCampo1Livre,0)},c2v:function(){gx.O.AV11cAtdCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCATDCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ATDNRO",gxz:"Z63AtdNro",gxold:"O63AtdNro",gxvar:"A63AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A63AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z63AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ATDNRO",gx.fn.currentGridRowImpl(46),gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATDNRO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATDVALORDE",gxz:"Z65AtdValOrde",gxold:"O65AtdValOrde",gxvar:"A65AtdValOrde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A65AtdValOrde=a
},v2z:function(a){gx.O.Z65AtdValOrde=a},v2c:function(){gx.fn.setGridControlValue("ATDVALORDE",gx.fn.currentGridRowImpl(46),gx.O.A65AtdValOrde,0)},c2v:function(){gx.O.A65AtdValOrde=this.val()},val:function(){return gx.fn.getGridControlValue("ATDVALORDE",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATDCODCAMP",gxz:"Z60AtdCodCamp",gxold:"O60AtdCodCamp",gxvar:"A60AtdCodCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A60AtdCodCamp=a
},v2z:function(a){gx.O.Z60AtdCodCamp=a},v2c:function(){gx.fn.setGridControlValue("ATDCODCAMP",gx.fn.currentGridRowImpl(46),gx.O.A60AtdCodCamp,0)},c2v:function(){gx.O.A60AtdCodCamp=this.val()},val:function(){return gx.fn.getGridControlValue("ATDCODCAMP",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATDVALCAMP",gxz:"Z64AtdValCamp",gxold:"O64AtdValCamp",gxvar:"A64AtdValCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A64AtdValCamp=a
},v2z:function(a){gx.O.Z64AtdValCamp=a},v2c:function(){gx.fn.setGridControlValue("ATDVALCAMP",gx.fn.currentGridRowImpl(46),gx.O.A64AtdValCamp,0)},c2v:function(){gx.O.A64AtdValCamp=this.val()},val:function(){return gx.fn.getGridControlValue("ATDVALCAMP",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATDINDROTE",gxz:"Z62AtdIndRote",gxold:"O62AtdIndRote",gxvar:"A62AtdIndRote",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A62AtdIndRote=a
},v2z:function(a){gx.O.Z62AtdIndRote=a},v2c:function(){gx.fn.setGridComboBoxValue("ATDINDROTE",gx.fn.currentGridRowImpl(46),gx.O.A62AtdIndRote)},c2v:function(){gx.O.A62AtdIndRote=this.val()},val:function(){return gx.fn.getGridControlValue("ATDINDROTE",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[55]={fld:"TABLE4",grid:0};this.AV6cAtdNro=0;this.ZV6cAtdNro=0;this.OV6cAtdNro=0;this.AV7cAtdValOrdenacao="";this.ZV7cAtdValOrdenacao="";this.OV7cAtdValOrdenacao="";this.AV8cAtdCodCampo="";
this.ZV8cAtdCodCampo="";this.OV8cAtdCodCampo="";this.AV9cAtdValCampo008="";this.ZV9cAtdValCampo008="";this.OV9cAtdValCampo008="";this.AV10cAtdIndRotear="";this.ZV10cAtdIndRotear="";this.OV10cAtdIndRotear="";this.AV11cAtdCampo1Livre="";this.ZV11cAtdCampo1Livre="";this.OV11cAtdCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z63AtdNro=0;this.O63AtdNro=0;this.Z65AtdValOrde="";this.O65AtdValOrde="";this.Z60AtdCodCamp="";this.O60AtdCodCamp="";this.Z64AtdValCamp="";this.O64AtdValCamp="";
this.Z62AtdIndRote="";this.O62AtdIndRote="";this.AV12pAtdNro=0;this.A59AtdCampo1L="";this.AV5LinkSelection="";this.A63AtdNro=0;this.A65AtdValOrde="";this.A60AtdCodCamp="";this.A64AtdValCamp="";this.A62AtdIndRote="";this.ServerEvents=["e13au2_client","e14au1_client"];this.VarControlMap.AV12pAtdNro={id:"vPATDNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.SetStandaloneVars()}gx03r0.prototype=new gx.GxObject;gx.setParentObj(new gx03r0());