gx.evt.autoSkip=false;function tpet002(){this.ServerClass="Tpet002";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Edinro=function(){gx.ajax.validSrvEvt("dyncall","valid_Edinro",["gx.O.A334EdiNro","gx.O.A329EdiNomAbre","gx.O.A332EdiNomComp","gx.O.A333EdiNomSemA","gx.O.A326EdiDesEnde","gx.O.A330EdiNomBair","gx.O.A336EdiNroCEP","gx.O.A331EdiNomCida","gx.O.A324EdiCodUF","gx.O.A337EdiNroFone","gx.O.A328EdiNom1Con","gx.O.A335EdiNro1Fon","gx.O.A323EdiCodEMai","gx.O.A327EdiDesUrl",'gx.date.urlDate(gx.O.A325EdiDatAtua,"DMY")'],["A329EdiNomAbre","A332EdiNomComp","A333EdiNomSemA","A326EdiDesEnde","A330EdiNomBair","A336EdiNroCEP","A331EdiNomCida","A324EdiCodUF","A337EdiNroFone","A328EdiNom1Con","A335EdiNro1Fon","A323EdiCodEMai","A327EdiDesUrl","A325EdiDatAtua","Gx_mode","Z334EdiNro","Z329EdiNomAbre","Z332EdiNomComp","Z333EdiNomSemA","Z326EdiDesEnde","Z330EdiNomBair","Z336EdiNroCEP","Z331EdiNomCida","Z324EdiCodUF","Z337EdiNroFone","Z328EdiNom1Con","Z335EdiNro1Fon","Z323EdiCodEMai","Z327EdiDesUrl","Z325EdiDatAtua",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e1153139_client=function(){this.executeServerEvent("ENTER",true)};this.e1253139_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,16,21,25,29,33,37,41,45,49,53,57,61,65,69,73];this.GXLastCtrlId=73;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Edinro,isvalid:null,rgrid:[],fld:"EDINRO",gxz:"Z334EdiNro",gxold:"O334EdiNro",gxvar:"A334EdiNro",ucs:[],op:[73,69,65,61,57,53,49,45,41,37,33,29,25,21],ip:[73,69,65,61,57,53,49,45,41,37,33,29,25,21,16],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.setControlValue("EDINRO",gx.O.A334EdiNro,0)},c2v:function(){gx.O.A334EdiNro=this.val()},val:function(){return gx.fn.getIntegerValue("EDINRO",".")},nac:function(){return false}};this.GXValidFnc[21]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,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.setControlValue("EDINOMABRE",gx.O.A329EdiNomAbre,0)},c2v:function(){gx.O.A329EdiNomAbre=this.val()},val:function(){return gx.fn.getControlValue("EDINOMABRE")},nac:function(){return false}};this.GXValidFnc[25]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINOMCOMP",gxz:"Z332EdiNomComp",gxold:"O332EdiNomComp",gxvar:"A332EdiNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A332EdiNomComp=a
},v2z:function(a){gx.O.Z332EdiNomComp=a},v2c:function(){gx.fn.setControlValue("EDINOMCOMP",gx.O.A332EdiNomComp,0)},c2v:function(){gx.O.A332EdiNomComp=this.val()},val:function(){return gx.fn.getControlValue("EDINOMCOMP")},nac:function(){return false}};this.GXValidFnc[29]={lvl:0,type:"char",len:55,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINOMSEMA",gxz:"Z333EdiNomSemA",gxold:"O333EdiNomSemA",gxvar:"A333EdiNomSemA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A333EdiNomSemA=a
},v2z:function(a){gx.O.Z333EdiNomSemA=a},v2c:function(){gx.fn.setControlValue("EDINOMSEMA",gx.O.A333EdiNomSemA,0)},c2v:function(){gx.O.A333EdiNomSemA=this.val()},val:function(){return gx.fn.getControlValue("EDINOMSEMA")},nac:function(){return false}};this.GXValidFnc[33]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,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.setControlValue("EDIDESENDE",gx.O.A326EdiDesEnde,0)},c2v:function(){gx.O.A326EdiDesEnde=this.val()},val:function(){return gx.fn.getControlValue("EDIDESENDE")},nac:function(){return false}};this.GXValidFnc[37]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINOMBAIR",gxz:"Z330EdiNomBair",gxold:"O330EdiNomBair",gxvar:"A330EdiNomBair",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A330EdiNomBair=a
},v2z:function(a){gx.O.Z330EdiNomBair=a},v2c:function(){gx.fn.setControlValue("EDINOMBAIR",gx.O.A330EdiNomBair,0)},c2v:function(){gx.O.A330EdiNomBair=this.val()},val:function(){return gx.fn.getControlValue("EDINOMBAIR")},nac:function(){return false}};this.GXValidFnc[41]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINROCEP",gxz:"Z336EdiNroCEP",gxold:"O336EdiNroCEP",gxvar:"A336EdiNroCEP",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A336EdiNroCEP=a
},v2z:function(a){gx.O.Z336EdiNroCEP=a},v2c:function(){gx.fn.setControlValue("EDINROCEP",gx.O.A336EdiNroCEP,0)},c2v:function(){gx.O.A336EdiNroCEP=this.val()},val:function(){return gx.fn.getControlValue("EDINROCEP")},nac:function(){return false}};this.GXValidFnc[45]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINOMCIDA",gxz:"Z331EdiNomCida",gxold:"O331EdiNomCida",gxvar:"A331EdiNomCida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A331EdiNomCida=a
},v2z:function(a){gx.O.Z331EdiNomCida=a},v2c:function(){gx.fn.setControlValue("EDINOMCIDA",gx.O.A331EdiNomCida,0)},c2v:function(){gx.O.A331EdiNomCida=this.val()},val:function(){return gx.fn.getControlValue("EDINOMCIDA")},nac:function(){return false}};this.GXValidFnc[49]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,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.setControlValue("EDICODUF",gx.O.A324EdiCodUF,0)},c2v:function(){gx.O.A324EdiCodUF=this.val()},val:function(){return gx.fn.getControlValue("EDICODUF")},nac:function(){return false}};this.GXValidFnc[53]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINROFONE",gxz:"Z337EdiNroFone",gxold:"O337EdiNroFone",gxvar:"A337EdiNroFone",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A337EdiNroFone=a
},v2z:function(a){gx.O.Z337EdiNroFone=a},v2c:function(){gx.fn.setControlValue("EDINROFONE",gx.O.A337EdiNroFone,0)},c2v:function(){gx.O.A337EdiNroFone=this.val()},val:function(){return gx.fn.getControlValue("EDINROFONE")},nac:function(){return false}};this.GXValidFnc[57]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINOM1CON",gxz:"Z328EdiNom1Con",gxold:"O328EdiNom1Con",gxvar:"A328EdiNom1Con",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A328EdiNom1Con=a
},v2z:function(a){gx.O.Z328EdiNom1Con=a},v2c:function(){gx.fn.setControlValue("EDINOM1CON",gx.O.A328EdiNom1Con,0)},c2v:function(){gx.O.A328EdiNom1Con=this.val()},val:function(){return gx.fn.getControlValue("EDINOM1CON")},nac:function(){return false}};this.GXValidFnc[61]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDINRO1FON",gxz:"Z335EdiNro1Fon",gxold:"O335EdiNro1Fon",gxvar:"A335EdiNro1Fon",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A335EdiNro1Fon=a
},v2z:function(a){gx.O.Z335EdiNro1Fon=a},v2c:function(){gx.fn.setControlValue("EDINRO1FON",gx.O.A335EdiNro1Fon,0)},c2v:function(){gx.O.A335EdiNro1Fon=this.val()},val:function(){return gx.fn.getControlValue("EDINRO1FON")},nac:function(){return false}};this.GXValidFnc[65]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDICODEMAI",gxz:"Z323EdiCodEMai",gxold:"O323EdiCodEMai",gxvar:"A323EdiCodEMai",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A323EdiCodEMai=a
},v2z:function(a){gx.O.Z323EdiCodEMai=a},v2c:function(){gx.fn.setControlValue("EDICODEMAI",gx.O.A323EdiCodEMai,0)},c2v:function(){gx.O.A323EdiCodEMai=this.val()},val:function(){return gx.fn.getControlValue("EDICODEMAI")},nac:function(){return false}};this.GXValidFnc[69]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDIDESURL",gxz:"Z327EdiDesUrl",gxold:"O327EdiDesUrl",gxvar:"A327EdiDesUrl",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A327EdiDesUrl=a
},v2z:function(a){gx.O.Z327EdiDesUrl=a},v2c:function(){gx.fn.setControlValue("EDIDESURL",gx.O.A327EdiDesUrl,0)},c2v:function(){gx.O.A327EdiDesUrl=this.val()},val:function(){return gx.fn.getControlValue("EDIDESURL")},nac:function(){return false}};this.GXValidFnc[73]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EDIDATATUA",gxz:"Z325EdiDatAtua",gxold:"O325EdiDatAtua",gxvar:"A325EdiDatAtua",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A325EdiDatAtua=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z325EdiDatAtua=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("EDIDATATUA",gx.O.A325EdiDatAtua,0)},c2v:function(){gx.O.A325EdiDatAtua=this.val()},val:function(){return gx.fn.getControlValue("EDIDATATUA")},nac:function(){return false}};this.A334EdiNro=0;this.Z334EdiNro=0;this.O334EdiNro=0;this.A329EdiNomAbre="";this.Z329EdiNomAbre="";this.O329EdiNomAbre="";this.A332EdiNomComp="";this.Z332EdiNomComp="";this.O332EdiNomComp="";this.A333EdiNomSemA="";this.Z333EdiNomSemA="";
this.O333EdiNomSemA="";this.A326EdiDesEnde="";this.Z326EdiDesEnde="";this.O326EdiDesEnde="";this.A330EdiNomBair="";this.Z330EdiNomBair="";this.O330EdiNomBair="";this.A336EdiNroCEP="";this.Z336EdiNroCEP="";this.O336EdiNroCEP="";this.A331EdiNomCida="";this.Z331EdiNomCida="";this.O331EdiNomCida="";this.A324EdiCodUF="";this.Z324EdiCodUF="";this.O324EdiCodUF="";this.A337EdiNroFone="";this.Z337EdiNroFone="";this.O337EdiNroFone="";this.A328EdiNom1Con="";this.Z328EdiNom1Con="";this.O328EdiNom1Con="";this.A335EdiNro1Fon="";
this.Z335EdiNro1Fon="";this.O335EdiNro1Fon="";this.A323EdiCodEMai="";this.Z323EdiCodEMai="";this.O323EdiCodEMai="";this.A327EdiDesUrl="";this.Z327EdiDesUrl="";this.O327EdiDesUrl="";this.A325EdiDatAtua=gx.date.nullDate();this.Z325EdiDatAtua=gx.date.nullDate();this.O325EdiDatAtua=gx.date.nullDate();this.ServerEvents=["e1153139_client","e1253139_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet002.prototype=new gx.GxObject;
gx.setParentObj(new tpet002());