gx.evt.autoSkip=false;function tpet001(){this.ServerClass="Tpet001";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Pernro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pernro",["gx.O.A652PerNro","gx.O.A643PerDesLong","gx.O.A642PerDesAbre","gx.O.A646PerDesSemA","gx.O.A653PerNroCcn","gx.O.A634PerCodEdit","gx.O.A633PerCodClas","gx.O.A655PerQtdDias","gx.O.A654PerNroIssn","gx.O.A640PerDes1Men","gx.O.A644PerDesObse","gx.O.A639PerDes1Cam","gx.O.A641PerDes2Cam","gx.O.A635PerCodIdio","gx.O.A638PerCodTipo","gx.O.A648PerIndCont","gx.O.A632PerCodArea","gx.O.A637PerCodPais","gx.O.A647PerDesSubT","gx.O.A651PerNomLoca","gx.O.A645PerDesRedu","gx.O.A636PerCodIndi","gx.O.A683PrdCod","gx.O.A881TipCod","gx.O.A553NpuCod"],["A643PerDesLong","A642PerDesAbre","A646PerDesSemA","A653PerNroCcn","A634PerCodEdit","A683PrdCod","A633PerCodClas","A655PerQtdDias","A654PerNroIssn","A640PerDes1Men","A644PerDesObse","A639PerDes1Cam","A641PerDes2Cam","A881TipCod","A635PerCodIdio","A638PerCodTipo","A648PerIndCont","A632PerCodArea","A637PerCodPais","A553NpuCod","A647PerDesSubT","A651PerNomLoca","A645PerDesRedu","A636PerCodIndi","A649PerNomAbre","A650PerNomComp","A684PrdDes","A882TipDes","A554NpuDesNive","Gx_mode","Z652PerNro","Z643PerDesLong","Z642PerDesAbre","Z646PerDesSemA","Z653PerNroCcn","Z634PerCodEdit","Z683PrdCod","Z633PerCodClas","Z655PerQtdDias","Z654PerNroIssn","Z640PerDes1Men","Z644PerDesObse","Z639PerDes1Cam","Z641PerDes2Cam","Z881TipCod","Z635PerCodIdio","Z638PerCodTipo","Z648PerIndCont","Z632PerCodArea","Z637PerCodPais","Z553NpuCod","Z647PerDesSubT","Z651PerNomLoca","Z645PerDesRedu","Z636PerCodIndi","Z649PerNomAbre","Z650PerNomComp","Z684PrdDes","Z882TipDes","Z554NpuDesNive",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Percodedit=function(){gx.ajax.validSrvEvt("dyncall","Valid_Percodedit",["gx.O.A634PerCodEdit","gx.O.A649PerNomAbre","gx.O.A650PerNomComp"],["A649PerNomAbre","A650PerNomComp"]);return true};this.Valid_Prdcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Prdcod",["gx.O.A683PrdCod","gx.O.A684PrdDes"],["A684PrdDes"]);return true};this.Valid_Tipcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Tipcod",["gx.O.A881TipCod","gx.O.A882TipDes"],["A882TipDes"]);return true};this.Valid_Npucod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Npucod",["gx.O.A553NpuCod","gx.O.A554NpuDesNive"],["A554NpuDesNive"]);
return true};this.e1152140_client=function(){this.executeServerEvent("ENTER",true)};this.e1252140_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,49,51,54,56,59,61,64,66,69,71,74,76,79,81,84,86,89,91,94,96,99,101,104,106,109,111,114,116,119,121,124,126,129,131,134,136,139,141,144,146,149,151,154,156,159,161,164,166,174,175,176];this.GXLastCtrlId=176;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};
this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Pernro,isvalid:null,rgrid:[],fld:"PERNRO",gxz:"Z652PerNro",gxold:"O652PerNro",gxvar:"A652PerNro",ucs:[],op:[141,106,61,166,161,156,151,136,131,126,121,116,101,96,91,86,81,76,71,46,41,36,31,26],ip:[141,106,61,166,161,156,151,136,131,126,121,116,101,96,91,86,81,76,71,46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A652PerNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z652PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PERNRO",gx.O.A652PerNro,0)},c2v:function(){gx.O.A652PerNro=this.val()},val:function(){return gx.fn.getIntegerValue("PERNRO",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESLONG",gxz:"Z643PerDesLong",gxold:"O643PerDesLong",gxvar:"A643PerDesLong",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A643PerDesLong=a
},v2z:function(a){gx.O.Z643PerDesLong=a},v2c:function(){gx.fn.setControlValue("PERDESLONG",gx.O.A643PerDesLong,0)},c2v:function(){gx.O.A643PerDesLong=this.val()},val:function(){return gx.fn.getControlValue("PERDESLONG")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESABRE",gxz:"Z642PerDesAbre",gxold:"O642PerDesAbre",gxvar:"A642PerDesAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A642PerDesAbre=a
},v2z:function(a){gx.O.Z642PerDesAbre=a},v2c:function(){gx.fn.setControlValue("PERDESABRE",gx.O.A642PerDesAbre,0)},c2v:function(){gx.O.A642PerDesAbre=this.val()},val:function(){return gx.fn.getControlValue("PERDESABRE")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESSEMA",gxz:"Z646PerDesSemA",gxold:"O646PerDesSemA",gxvar:"A646PerDesSemA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A646PerDesSemA=a
},v2z:function(a){gx.O.Z646PerDesSemA=a},v2c:function(){gx.fn.setControlValue("PERDESSEMA",gx.O.A646PerDesSemA,0)},c2v:function(){gx.O.A646PerDesSemA=this.val()},val:function(){return gx.fn.getControlValue("PERDESSEMA")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERNROCCN",gxz:"Z653PerNroCcn",gxold:"O653PerNroCcn",gxvar:"A653PerNroCcn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A653PerNroCcn=a
},v2z:function(a){gx.O.Z653PerNroCcn=a},v2c:function(){gx.fn.setControlValue("PERNROCCN",gx.O.A653PerNroCcn,0)},c2v:function(){gx.O.A653PerNroCcn=this.val()},val:function(){return gx.fn.getControlValue("PERNROCCN")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Percodedit,isvalid:null,rgrid:[],fld:"PERCODEDIT",gxz:"Z634PerCodEdit",gxold:"O634PerCodEdit",gxvar:"A634PerCodEdit",ucs:[],op:[56,51],ip:[56,51,46],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A634PerCodEdit=gx.num.intval(a)
},v2z:function(a){gx.O.Z634PerCodEdit=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PERCODEDIT",gx.O.A634PerCodEdit,0)},c2v:function(){gx.O.A634PerCodEdit=this.val()},val:function(){return gx.fn.getIntegerValue("PERCODEDIT",".")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERNOMABRE",gxz:"Z649PerNomAbre",gxold:"O649PerNomAbre",gxvar:"A649PerNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A649PerNomAbre=a
},v2z:function(a){gx.O.Z649PerNomAbre=a},v2c:function(){gx.fn.setControlValue("PERNOMABRE",gx.O.A649PerNomAbre,0)},c2v:function(){gx.O.A649PerNomAbre=this.val()},val:function(){return gx.fn.getControlValue("PERNOMABRE")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:55,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERNOMCOMP",gxz:"Z650PerNomComp",gxold:"O650PerNomComp",gxvar:"A650PerNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A650PerNomComp=a
},v2z:function(a){gx.O.Z650PerNomComp=a},v2c:function(){gx.fn.setControlValue("PERNOMCOMP",gx.O.A650PerNomComp,0)},c2v:function(){gx.O.A650PerNomComp=this.val()},val:function(){return gx.fn.getControlValue("PERNOMCOMP")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Prdcod,isvalid:null,fld:"PRDCOD",gxz:"Z683PrdCod",gxold:"O683PrdCod",gxvar:"A683PrdCod",ucs:[],op:[66],ip:[66,61],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A683PrdCod=a
},v2z:function(a){gx.O.Z683PrdCod=a},v2c:function(){gx.fn.setControlValue("PRDCOD",gx.O.A683PrdCod,0)},c2v:function(){gx.O.A683PrdCod=this.val()},val:function(){return gx.fn.getControlValue("PRDCOD")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PRDDES",gxz:"Z684PrdDes",gxold:"O684PrdDes",gxvar:"A684PrdDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A684PrdDes=a
},v2z:function(a){gx.O.Z684PrdDes=a},v2c:function(){gx.fn.setControlValue("PRDDES",gx.O.A684PrdDes,0)},c2v:function(){gx.O.A684PrdDes=this.val()},val:function(){return gx.fn.getControlValue("PRDDES")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODCLAS",gxz:"Z633PerCodClas",gxold:"O633PerCodClas",gxvar:"A633PerCodClas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A633PerCodClas=a
},v2z:function(a){gx.O.Z633PerCodClas=a},v2c:function(){gx.fn.setControlValue("PERCODCLAS",gx.O.A633PerCodClas,0)},c2v:function(){gx.O.A633PerCodClas=this.val()},val:function(){return gx.fn.getControlValue("PERCODCLAS")},nac:function(){return false}};this.GXValidFnc[74]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PERQTDDIAS",gxz:"Z655PerQtdDias",gxold:"O655PerQtdDias",gxvar:"A655PerQtdDias",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A655PerQtdDias=gx.num.intval(a)
},v2z:function(a){gx.O.Z655PerQtdDias=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PERQTDDIAS",gx.O.A655PerQtdDias,0)},c2v:function(){gx.O.A655PerQtdDias=this.val()},val:function(){return gx.fn.getIntegerValue("PERQTDDIAS",".")},nac:function(){return false}};this.GXValidFnc[79]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[81]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERNROISSN",gxz:"Z654PerNroIssn",gxold:"O654PerNroIssn",gxvar:"A654PerNroIssn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A654PerNroIssn=a
},v2z:function(a){gx.O.Z654PerNroIssn=a},v2c:function(){gx.fn.setControlValue("PERNROISSN",gx.O.A654PerNroIssn,0)},c2v:function(){gx.O.A654PerNroIssn=this.val()},val:function(){return gx.fn.getControlValue("PERNROISSN")},nac:function(){return false}};this.GXValidFnc[84]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[86]={lvl:0,type:"char",len:200,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDES1MEN",gxz:"Z640PerDes1Men",gxold:"O640PerDes1Men",gxvar:"A640PerDes1Men",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A640PerDes1Men=a
},v2z:function(a){gx.O.Z640PerDes1Men=a},v2c:function(){gx.fn.setControlValue("PERDES1MEN",gx.O.A640PerDes1Men,0)},c2v:function(){gx.O.A640PerDes1Men=this.val()},val:function(){return gx.fn.getControlValue("PERDES1MEN")},nac:function(){return false}};this.GXValidFnc[89]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[91]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESOBSE",gxz:"Z644PerDesObse",gxold:"O644PerDesObse",gxvar:"A644PerDesObse",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A644PerDesObse=a
},v2z:function(a){gx.O.Z644PerDesObse=a},v2c:function(){gx.fn.setControlValue("PERDESOBSE",gx.O.A644PerDesObse,0)},c2v:function(){gx.O.A644PerDesObse=this.val()},val:function(){return gx.fn.getControlValue("PERDESOBSE")},nac:function(){return false}};this.GXValidFnc[94]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[96]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDES1CAM",gxz:"Z639PerDes1Cam",gxold:"O639PerDes1Cam",gxvar:"A639PerDes1Cam",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A639PerDes1Cam=a
},v2z:function(a){gx.O.Z639PerDes1Cam=a},v2c:function(){gx.fn.setControlValue("PERDES1CAM",gx.O.A639PerDes1Cam,0)},c2v:function(){gx.O.A639PerDes1Cam=this.val()},val:function(){return gx.fn.getControlValue("PERDES1CAM")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[101]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDES2CAM",gxz:"Z641PerDes2Cam",gxold:"O641PerDes2Cam",gxvar:"A641PerDes2Cam",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A641PerDes2Cam=a
},v2z:function(a){gx.O.Z641PerDes2Cam=a},v2c:function(){gx.fn.setControlValue("PERDES2CAM",gx.O.A641PerDes2Cam,0)},c2v:function(){gx.O.A641PerDes2Cam=this.val()},val:function(){return gx.fn.getControlValue("PERDES2CAM")},nac:function(){return false}};this.GXValidFnc[104]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[106]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tipcod,isvalid:null,fld:"TIPCOD",gxz:"Z881TipCod",gxold:"O881TipCod",gxvar:"A881TipCod",ucs:[],op:[111],ip:[111,106],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A881TipCod=a
},v2z:function(a){gx.O.Z881TipCod=a},v2c:function(){gx.fn.setControlValue("TIPCOD",gx.O.A881TipCod,0)},c2v:function(){gx.O.A881TipCod=this.val()},val:function(){return gx.fn.getControlValue("TIPCOD")},nac:function(){return false}};this.GXValidFnc[109]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[111]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIPDES",gxz:"Z882TipDes",gxold:"O882TipDes",gxvar:"A882TipDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A882TipDes=a
},v2z:function(a){gx.O.Z882TipDes=a},v2c:function(){gx.fn.setControlValue("TIPDES",gx.O.A882TipDes,0)},c2v:function(){gx.O.A882TipDes=this.val()},val:function(){return gx.fn.getControlValue("TIPDES")},nac:function(){return false}};this.GXValidFnc[114]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[116]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODIDIO",gxz:"Z635PerCodIdio",gxold:"O635PerCodIdio",gxvar:"A635PerCodIdio",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A635PerCodIdio=a
},v2z:function(a){gx.O.Z635PerCodIdio=a},v2c:function(){gx.fn.setControlValue("PERCODIDIO",gx.O.A635PerCodIdio,0)},c2v:function(){gx.O.A635PerCodIdio=this.val()},val:function(){return gx.fn.getControlValue("PERCODIDIO")},nac:function(){return false}};this.GXValidFnc[119]={fld:"TEXTBLOCK21",format:0,grid:0};this.GXValidFnc[121]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODTIPO",gxz:"Z638PerCodTipo",gxold:"O638PerCodTipo",gxvar:"A638PerCodTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A638PerCodTipo=a
},v2z:function(a){gx.O.Z638PerCodTipo=a},v2c:function(){gx.fn.setControlValue("PERCODTIPO",gx.O.A638PerCodTipo,0)},c2v:function(){gx.O.A638PerCodTipo=this.val()},val:function(){return gx.fn.getControlValue("PERCODTIPO")},nac:function(){return false}};this.GXValidFnc[124]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[126]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERINDCONT",gxz:"Z648PerIndCont",gxold:"O648PerIndCont",gxvar:"A648PerIndCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A648PerIndCont=a
},v2z:function(a){gx.O.Z648PerIndCont=a},v2c:function(){gx.fn.setControlValue("PERINDCONT",gx.O.A648PerIndCont,0)},c2v:function(){gx.O.A648PerIndCont=this.val()},val:function(){return gx.fn.getControlValue("PERINDCONT")},nac:function(){return false}};this.GXValidFnc[129]={fld:"TEXTBLOCK23",format:0,grid:0};this.GXValidFnc[131]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODAREA",gxz:"Z632PerCodArea",gxold:"O632PerCodArea",gxvar:"A632PerCodArea",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A632PerCodArea=a
},v2z:function(a){gx.O.Z632PerCodArea=a},v2c:function(){gx.fn.setControlValue("PERCODAREA",gx.O.A632PerCodArea,0)},c2v:function(){gx.O.A632PerCodArea=this.val()},val:function(){return gx.fn.getControlValue("PERCODAREA")},nac:function(){return false}};this.GXValidFnc[134]={fld:"TEXTBLOCK24",format:0,grid:0};this.GXValidFnc[136]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODPAIS",gxz:"Z637PerCodPais",gxold:"O637PerCodPais",gxvar:"A637PerCodPais",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A637PerCodPais=a
},v2z:function(a){gx.O.Z637PerCodPais=a},v2c:function(){gx.fn.setControlValue("PERCODPAIS",gx.O.A637PerCodPais,0)},c2v:function(){gx.O.A637PerCodPais=this.val()},val:function(){return gx.fn.getControlValue("PERCODPAIS")},nac:function(){return false}};this.GXValidFnc[139]={fld:"TEXTBLOCK25",format:0,grid:0};this.GXValidFnc[141]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Npucod,isvalid:null,fld:"NPUCOD",gxz:"Z553NpuCod",gxold:"O553NpuCod",gxvar:"A553NpuCod",ucs:[],op:[146],ip:[146,141],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A553NpuCod=a
},v2z:function(a){gx.O.Z553NpuCod=a},v2c:function(){gx.fn.setControlValue("NPUCOD",gx.O.A553NpuCod,0)},c2v:function(){gx.O.A553NpuCod=this.val()},val:function(){return gx.fn.getControlValue("NPUCOD")},nac:function(){return false}};this.GXValidFnc[144]={fld:"TEXTBLOCK26",format:0,grid:0};this.GXValidFnc[146]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"NPUDESNIVE",gxz:"Z554NpuDesNive",gxold:"O554NpuDesNive",gxvar:"A554NpuDesNive",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A554NpuDesNive=a
},v2z:function(a){gx.O.Z554NpuDesNive=a},v2c:function(){gx.fn.setControlValue("NPUDESNIVE",gx.O.A554NpuDesNive,0)},c2v:function(){gx.O.A554NpuDesNive=this.val()},val:function(){return gx.fn.getControlValue("NPUDESNIVE")},nac:function(){return false}};this.GXValidFnc[149]={fld:"TEXTBLOCK27",format:0,grid:0};this.GXValidFnc[151]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESSUBT",gxz:"Z647PerDesSubT",gxold:"O647PerDesSubT",gxvar:"A647PerDesSubT",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A647PerDesSubT=a
},v2z:function(a){gx.O.Z647PerDesSubT=a},v2c:function(){gx.fn.setControlValue("PERDESSUBT",gx.O.A647PerDesSubT,0)},c2v:function(){gx.O.A647PerDesSubT=this.val()},val:function(){return gx.fn.getControlValue("PERDESSUBT")},nac:function(){return false}};this.GXValidFnc[154]={fld:"TEXTBLOCK28",format:0,grid:0};this.GXValidFnc[156]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERNOMLOCA",gxz:"Z651PerNomLoca",gxold:"O651PerNomLoca",gxvar:"A651PerNomLoca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A651PerNomLoca=a
},v2z:function(a){gx.O.Z651PerNomLoca=a},v2c:function(){gx.fn.setControlValue("PERNOMLOCA",gx.O.A651PerNomLoca,0)},c2v:function(){gx.O.A651PerNomLoca=this.val()},val:function(){return gx.fn.getControlValue("PERNOMLOCA")},nac:function(){return false}};this.GXValidFnc[159]={fld:"TEXTBLOCK29",format:0,grid:0};this.GXValidFnc[161]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESREDU",gxz:"Z645PerDesRedu",gxold:"O645PerDesRedu",gxvar:"A645PerDesRedu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A645PerDesRedu=a
},v2z:function(a){gx.O.Z645PerDesRedu=a},v2c:function(){gx.fn.setControlValue("PERDESREDU",gx.O.A645PerDesRedu,0)},c2v:function(){gx.O.A645PerDesRedu=this.val()},val:function(){return gx.fn.getControlValue("PERDESREDU")},nac:function(){return false}};this.GXValidFnc[164]={fld:"TEXTBLOCK30",format:0,grid:0};this.GXValidFnc[166]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERCODINDI",gxz:"Z636PerCodIndi",gxold:"O636PerCodIndi",gxvar:"A636PerCodIndi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A636PerCodIndi=a
},v2z:function(a){gx.O.Z636PerCodIndi=a},v2c:function(){gx.fn.setControlValue("PERCODINDI",gx.O.A636PerCodIndi,0)},c2v:function(){gx.O.A636PerCodIndi=this.val()},val:function(){return gx.fn.getControlValue("PERCODINDI")},nac:function(){return false}};this.GXValidFnc[174]={fld:"PROMPT_683",grid:140};this.GXValidFnc[175]={fld:"PROMPT_881",grid:140};this.GXValidFnc[176]={fld:"PROMPT_553",grid:140};this.A652PerNro=0;this.Z652PerNro=0;this.O652PerNro=0;this.A643PerDesLong="";this.Z643PerDesLong="";this.O643PerDesLong="";
this.A642PerDesAbre="";this.Z642PerDesAbre="";this.O642PerDesAbre="";this.A646PerDesSemA="";this.Z646PerDesSemA="";this.O646PerDesSemA="";this.A653PerNroCcn="";this.Z653PerNroCcn="";this.O653PerNroCcn="";this.A634PerCodEdit=0;this.Z634PerCodEdit=0;this.O634PerCodEdit=0;this.A649PerNomAbre="";this.Z649PerNomAbre="";this.O649PerNomAbre="";this.A650PerNomComp="";this.Z650PerNomComp="";this.O650PerNomComp="";this.A683PrdCod="";this.Z683PrdCod="";this.O683PrdCod="";this.A684PrdDes="";this.Z684PrdDes="";
this.O684PrdDes="";this.A633PerCodClas="";this.Z633PerCodClas="";this.O633PerCodClas="";this.A655PerQtdDias=0;this.Z655PerQtdDias=0;this.O655PerQtdDias=0;this.A654PerNroIssn="";this.Z654PerNroIssn="";this.O654PerNroIssn="";this.A640PerDes1Men="";this.Z640PerDes1Men="";this.O640PerDes1Men="";this.A644PerDesObse="";this.Z644PerDesObse="";this.O644PerDesObse="";this.A639PerDes1Cam="";this.Z639PerDes1Cam="";this.O639PerDes1Cam="";this.A641PerDes2Cam="";this.Z641PerDes2Cam="";this.O641PerDes2Cam="";this.A881TipCod="";
this.Z881TipCod="";this.O881TipCod="";this.A882TipDes="";this.Z882TipDes="";this.O882TipDes="";this.A635PerCodIdio="";this.Z635PerCodIdio="";this.O635PerCodIdio="";this.A638PerCodTipo="";this.Z638PerCodTipo="";this.O638PerCodTipo="";this.A648PerIndCont="";this.Z648PerIndCont="";this.O648PerIndCont="";this.A632PerCodArea="";this.Z632PerCodArea="";this.O632PerCodArea="";this.A637PerCodPais="";this.Z637PerCodPais="";this.O637PerCodPais="";this.A553NpuCod="";this.Z553NpuCod="";this.O553NpuCod="";this.A554NpuDesNive="";
this.Z554NpuDesNive="";this.O554NpuDesNive="";this.A647PerDesSubT="";this.Z647PerDesSubT="";this.O647PerDesSubT="";this.A651PerNomLoca="";this.Z651PerNomLoca="";this.O651PerNomLoca="";this.A645PerDesRedu="";this.Z645PerDesRedu="";this.O645PerDesRedu="";this.A636PerCodIndi="";this.Z636PerCodIndi="";this.O636PerCodIndi="";this.ServerEvents=["e1152140_client","e1252140_client"];this.setPrompt("PROMPT_683",[61]);this.setPrompt("PROMPT_881",[106]);this.setPrompt("PROMPT_553",[141]);this.EnterCtrl=["BTN_ENTER"];
this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet001.prototype=new gx.GxObject;gx.setParentObj(new tpet001());