gx.evt.autoSkip=false;function gx03v0(){this.ServerClass="Gx03V0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pEdiNro=gx.fn.getIntegerValue("vPEDINRO",".")};this.e13952_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14951_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,44,47,48,52,53,54,55,56,59];
this.GXLastCtrlId=59;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03v0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(334,53,"EDINRO","Editora","","EdiNro","int",0,"px",5,5,"right",null,[],334,"EdiNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(329,54,"EDINOMABRE","Nome abreviado","Selecionar","EdiNomAbre","char",0,"px",70,70,"left",null,[],329,"EdiNomAbre",true,0,false,false);
this.Grid1Container.addSingleLineEdit(326,55,"EDIDESENDE","Endereço","","EdiDesEnde","char",0,"px",40,40,"left",null,[],326,"EdiDesEnde",true,0,false,false);this.Grid1Container.addSingleLineEdit(324,56,"EDICODUF","Estado","","EdiCodUF","char",0,"px",2,2,"left",null,[],324,"EdiCodUF",true,0,false,false);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:"TEXTBLOCKEDINRO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEDINRO",gxz:"ZV6cEdiNro",gxold:"OV6cEdiNro",gxvar:"AV6cEdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEdiNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cEdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEDINRO",gx.O.AV6cEdiNro,0)},c2v:function(){gx.O.AV6cEdiNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCEDINRO",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKEDINOMABREVIADO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDINOMABREVIADO",gxz:"ZV7cEdiNomAbreviado",gxold:"OV7cEdiNomAbreviado",gxvar:"AV7cEdiNomAbreviado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cEdiNomAbreviado=a},v2z:function(a){gx.O.ZV7cEdiNomAbreviado=a},v2c:function(){gx.fn.setControlValue("vCEDINOMABREVIADO",gx.O.AV7cEdiNomAbreviado,0)
},c2v:function(){gx.O.AV7cEdiNomAbreviado=this.val()},val:function(){return gx.fn.getControlValue("vCEDINOMABREVIADO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKEDINOMCOMPLETO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDINOMCOMPLETO",gxz:"ZV8cEdiNomCompleto",gxold:"OV8cEdiNomCompleto",gxvar:"AV8cEdiNomCompleto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cEdiNomCompleto=a
},v2z:function(a){gx.O.ZV8cEdiNomCompleto=a},v2c:function(){gx.fn.setControlValue("vCEDINOMCOMPLETO",gx.O.AV8cEdiNomCompleto,0)},c2v:function(){gx.O.AV8cEdiNomCompleto=this.val()},val:function(){return gx.fn.getControlValue("vCEDINOMCOMPLETO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKEDINOMSEMACENTOCOMPLETO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:55,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDINOMSEMACENTOCOMPLETO",gxz:"ZV9cEdiNomSemAcentoCompleto",gxold:"OV9cEdiNomSemAcentoCompleto",gxvar:"AV9cEdiNomSemAcentoCompleto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEdiNomSemAcentoCompleto=a
},v2z:function(a){gx.O.ZV9cEdiNomSemAcentoCompleto=a},v2c:function(){gx.fn.setControlValue("vCEDINOMSEMACENTOCOMPLETO",gx.O.AV9cEdiNomSemAcentoCompleto,0)},c2v:function(){gx.O.AV9cEdiNomSemAcentoCompleto=this.val()},val:function(){return gx.fn.getControlValue("vCEDINOMSEMACENTOCOMPLETO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKEDIDESENDERECO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDIDESENDERECO",gxz:"ZV10cEdiDesEndereco",gxold:"OV10cEdiDesEndereco",gxvar:"AV10cEdiDesEndereco",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cEdiDesEndereco=a
},v2z:function(a){gx.O.ZV10cEdiDesEndereco=a},v2c:function(){gx.fn.setControlValue("vCEDIDESENDERECO",gx.O.AV10cEdiDesEndereco,0)},c2v:function(){gx.O.AV10cEdiDesEndereco=this.val()},val:function(){return gx.fn.getControlValue("vCEDIDESENDERECO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKEDINOMBAIRRO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDINOMBAIRRO",gxz:"ZV11cEdiNomBairro",gxold:"OV11cEdiNomBairro",gxvar:"AV11cEdiNomBairro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cEdiNomBairro=a
},v2z:function(a){gx.O.ZV11cEdiNomBairro=a},v2c:function(){gx.fn.setControlValue("vCEDINOMBAIRRO",gx.O.AV11cEdiNomBairro,0)},c2v:function(){gx.O.AV11cEdiNomBairro=this.val()},val:function(){return gx.fn.getControlValue("vCEDINOMBAIRRO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKEDINROCEP",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEDINROCEP",gxz:"ZV12cEdiNroCEP",gxold:"OV12cEdiNroCEP",gxvar:"AV12cEdiNroCEP",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cEdiNroCEP=a
},v2z:function(a){gx.O.ZV12cEdiNroCEP=a},v2c:function(){gx.fn.setControlValue("vCEDINROCEP",gx.O.AV12cEdiNroCEP,0)},c2v:function(){gx.O.AV12cEdiNroCEP=this.val()},val:function(){return gx.fn.getControlValue("vCEDINROCEP")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,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(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EDINRO",gxz:"Z334EdiNro",gxold:"O334EdiNro",gxvar:"A334EdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A334EdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z334EdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EDINRO",gx.fn.currentGridRowImpl(51),gx.O.A334EdiNro,0)},c2v:function(){gx.O.A334EdiNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("EDINRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDINOMABRE",gxz:"Z329EdiNomAbre",gxold:"O329EdiNomAbre",gxvar:"A329EdiNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A329EdiNomAbre=a
},v2z:function(a){gx.O.Z329EdiNomAbre=a},v2c:function(){gx.fn.setGridControlValue("EDINOMABRE",gx.fn.currentGridRowImpl(51),gx.O.A329EdiNomAbre,0)},c2v:function(){gx.O.A329EdiNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("EDINOMABRE",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDIDESENDE",gxz:"Z326EdiDesEnde",gxold:"O326EdiDesEnde",gxvar:"A326EdiDesEnde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A326EdiDesEnde=a
},v2z:function(a){gx.O.Z326EdiDesEnde=a},v2c:function(){gx.fn.setGridControlValue("EDIDESENDE",gx.fn.currentGridRowImpl(51),gx.O.A326EdiDesEnde,0)},c2v:function(){gx.O.A326EdiDesEnde=this.val()},val:function(){return gx.fn.getGridControlValue("EDIDESENDE",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EDICODUF",gxz:"Z324EdiCodUF",gxold:"O324EdiCodUF",gxvar:"A324EdiCodUF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A324EdiCodUF=a
},v2z:function(a){gx.O.Z324EdiCodUF=a},v2c:function(){gx.fn.setGridControlValue("EDICODUF",gx.fn.currentGridRowImpl(51),gx.O.A324EdiCodUF,0)},c2v:function(){gx.O.A324EdiCodUF=this.val()},val:function(){return gx.fn.getGridControlValue("EDICODUF",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={fld:"TABLE4",grid:0};this.AV6cEdiNro=0;this.ZV6cEdiNro=0;this.OV6cEdiNro=0;this.AV7cEdiNomAbreviado="";this.ZV7cEdiNomAbreviado="";this.OV7cEdiNomAbreviado="";this.AV8cEdiNomCompleto="";
this.ZV8cEdiNomCompleto="";this.OV8cEdiNomCompleto="";this.AV9cEdiNomSemAcentoCompleto="";this.ZV9cEdiNomSemAcentoCompleto="";this.OV9cEdiNomSemAcentoCompleto="";this.AV10cEdiDesEndereco="";this.ZV10cEdiDesEndereco="";this.OV10cEdiDesEndereco="";this.AV11cEdiNomBairro="";this.ZV11cEdiNomBairro="";this.OV11cEdiNomBairro="";this.AV12cEdiNroCEP="";this.ZV12cEdiNroCEP="";this.OV12cEdiNroCEP="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z334EdiNro=0;this.O334EdiNro=0;this.Z329EdiNomAbre="";
this.O329EdiNomAbre="";this.Z326EdiDesEnde="";this.O326EdiDesEnde="";this.Z324EdiCodUF="";this.O324EdiCodUF="";this.AV13pEdiNro=0;this.A332EdiNomComp="";this.A333EdiNomSemA="";this.A330EdiNomBair="";this.A336EdiNroCEP="";this.AV5LinkSelection="";this.A334EdiNro=0;this.A329EdiNomAbre="";this.A326EdiDesEnde="";this.A324EdiCodUF="";this.ServerEvents=["e13952_client","e14951_client"];this.VarControlMap.AV13pEdiNro={id:"vPEDINRO",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.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx03v0.prototype=new gx.GxObject;gx.setParentObj(new gx03v0());