gx.evt.autoSkip=false;function tpet003(){this.ServerClass="Tpet003";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A900TpaDes=gx.fn.getControlValue("TPADES");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Assnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Assnro",["gx.O.A57AssNro",'gx.date.urlDate(gx.O.A51AssDatInic,"DMY")','gx.date.urlDate(gx.O.A50AssDatEnce,"DMY")',"gx.O.A46AssCampo1L","gx.O.A47AssCampo2L","gx.O.A48AssCampo3L","gx.O.A49AssCodAssi","gx.O.A52AssDesNota","gx.O.A56AssNomResp","gx.O.A55AssNomDept","gx.O.A53AssIndCanc","gx.O.A58AssNroExer","gx.O.A54AssIndExpo","gx.O.A652PerNro","gx.O.A899TpaCod"],["A51AssDatInic","A50AssDatEnce","A652PerNro","A899TpaCod","A46AssCampo1L","A47AssCampo2L","A48AssCampo3L","A49AssCodAssi","A52AssDesNota","A56AssNomResp","A55AssNomDept","A53AssIndCanc","A58AssNroExer","A54AssIndExpo","A642PerDesAbre","A683PrdCod","A684PrdDes","A900TpaDes","A1013TpaDsc","Gx_mode","Z57AssNro","Z51AssDatInic","Z50AssDatEnce","Z652PerNro","Z899TpaCod","Z46AssCampo1L","Z47AssCampo2L","Z48AssCampo3L","Z49AssCodAssi","Z52AssDesNota","Z56AssNomResp","Z55AssNomDept","Z53AssIndCanc","Z58AssNroExer","Z54AssIndExpo","Z642PerDesAbre","Z683PrdCod","Z684PrdDes","Z900TpaDes","Z1013TpaDsc",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Pernro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pernro",["gx.O.A652PerNro","gx.O.A683PrdCod","gx.O.A642PerDesAbre","gx.O.A684PrdDes"],["A642PerDesAbre","A683PrdCod","A684PrdDes"]);return true};this.Valid_Prdcod=function(){try{var a=gx.util.balloon.getNew("PRDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Tpacod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Tpacod",["gx.O.A899TpaCod","gx.O.A900TpaDes","gx.O.A1013TpaDsc"],["A900TpaDes","A1013TpaDsc"]);
return true};this.e1154116_client=function(){this.executeServerEvent("ENTER",true)};this.e1254116_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,119,120];this.GXLastCtrlId=120;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_Assnro,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[56,36,111,106,101,96,91,86,81,76,71,66,31,26],ip:[56,36,111,106,101,96,91,86,81,76,71,66,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ASSNRO",gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getIntegerValue("ASSNRO",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSDATINIC",gxz:"Z51AssDatInic",gxold:"O51AssDatInic",gxvar:"A51AssDatInic",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.A51AssDatInic=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z51AssDatInic=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("ASSDATINIC",gx.O.A51AssDatInic,0)},c2v:function(){gx.O.A51AssDatInic=this.val()},val:function(){return gx.fn.getControlValue("ASSDATINIC")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSDATENCE",gxz:"Z50AssDatEnce",gxold:"O50AssDatEnce",gxvar:"A50AssDatEnce",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.A50AssDatEnce=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z50AssDatEnce=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("ASSDATENCE",gx.O.A50AssDatEnce,0)},c2v:function(){gx.O.A50AssDatEnce=this.val()},val:function(){return gx.fn.getControlValue("ASSDATENCE")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={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:[51,46,41],ip:[51,41,46,36],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[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:1,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[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Prdcod,isvalid:null,fld:"PRDCOD",gxz:"Z683PrdCod",gxold:"O683PrdCod",gxvar:"A683PrdCod",ucs:[],op:[],ip:[],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[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:"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[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[61],ip:[61,56],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A899TpaCod=a
},v2z:function(a){gx.O.Z899TpaCod=a},v2c:function(){gx.fn.setControlValue("TPACOD",gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getControlValue("TPACOD")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TPADSC",gxz:"Z1013TpaDsc",gxold:"O1013TpaDsc",gxvar:"A1013TpaDsc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1013TpaDsc=a
},v2z:function(a){gx.O.Z1013TpaDsc=a},v2c:function(){gx.fn.setControlValue("TPADSC",gx.O.A1013TpaDsc,0)},c2v:function(){gx.O.A1013TpaDsc=this.val()},val:function(){return gx.fn.getControlValue("TPADSC")},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:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSCAMPO1L",gxz:"Z46AssCampo1L",gxold:"O46AssCampo1L",gxvar:"A46AssCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A46AssCampo1L=a
},v2z:function(a){gx.O.Z46AssCampo1L=a},v2c:function(){gx.fn.setControlValue("ASSCAMPO1L",gx.O.A46AssCampo1L,0)},c2v:function(){gx.O.A46AssCampo1L=this.val()},val:function(){return gx.fn.getControlValue("ASSCAMPO1L")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSCAMPO2L",gxz:"Z47AssCampo2L",gxold:"O47AssCampo2L",gxvar:"A47AssCampo2L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A47AssCampo2L=a
},v2z:function(a){gx.O.Z47AssCampo2L=a},v2c:function(){gx.fn.setControlValue("ASSCAMPO2L",gx.O.A47AssCampo2L,0)},c2v:function(){gx.O.A47AssCampo2L=this.val()},val:function(){return gx.fn.getControlValue("ASSCAMPO2L")},nac:function(){return false}};this.GXValidFnc[74]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSCAMPO3L",gxz:"Z48AssCampo3L",gxold:"O48AssCampo3L",gxvar:"A48AssCampo3L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A48AssCampo3L=a
},v2z:function(a){gx.O.Z48AssCampo3L=a},v2c:function(){gx.fn.setControlValue("ASSCAMPO3L",gx.O.A48AssCampo3L,0)},c2v:function(){gx.O.A48AssCampo3L=this.val()},val:function(){return gx.fn.getControlValue("ASSCAMPO3L")},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:"ASSCODASSI",gxz:"Z49AssCodAssi",gxold:"O49AssCodAssi",gxvar:"A49AssCodAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A49AssCodAssi=a
},v2z:function(a){gx.O.Z49AssCodAssi=a},v2c:function(){gx.fn.setControlValue("ASSCODASSI",gx.O.A49AssCodAssi,0)},c2v:function(){gx.O.A49AssCodAssi=this.val()},val:function(){return gx.fn.getControlValue("ASSCODASSI")},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:"ASSDESNOTA",gxz:"Z52AssDesNota",gxold:"O52AssDesNota",gxvar:"A52AssDesNota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A52AssDesNota=a
},v2z:function(a){gx.O.Z52AssDesNota=a},v2c:function(){gx.fn.setControlValue("ASSDESNOTA",gx.O.A52AssDesNota,0)},c2v:function(){gx.O.A52AssDesNota=this.val()},val:function(){return gx.fn.getControlValue("ASSDESNOTA")},nac:function(){return false}};this.GXValidFnc[89]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[91]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSNOMRESP",gxz:"Z56AssNomResp",gxold:"O56AssNomResp",gxvar:"A56AssNomResp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A56AssNomResp=a
},v2z:function(a){gx.O.Z56AssNomResp=a},v2c:function(){gx.fn.setControlValue("ASSNOMRESP",gx.O.A56AssNomResp,0)},c2v:function(){gx.O.A56AssNomResp=this.val()},val:function(){return gx.fn.getControlValue("ASSNOMRESP")},nac:function(){return false}};this.GXValidFnc[94]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[96]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSNOMDEPT",gxz:"Z55AssNomDept",gxold:"O55AssNomDept",gxvar:"A55AssNomDept",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A55AssNomDept=a
},v2z:function(a){gx.O.Z55AssNomDept=a},v2c:function(){gx.fn.setControlValue("ASSNOMDEPT",gx.O.A55AssNomDept,0)},c2v:function(){gx.O.A55AssNomDept=this.val()},val:function(){return gx.fn.getControlValue("ASSNOMDEPT")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[101]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSINDCANC",gxz:"Z53AssIndCanc",gxold:"O53AssIndCanc",gxvar:"A53AssIndCanc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A53AssIndCanc=a
},v2z:function(a){gx.O.Z53AssIndCanc=a},v2c:function(){gx.fn.setControlValue("ASSINDCANC",gx.O.A53AssIndCanc,0)},c2v:function(){gx.O.A53AssIndCanc=this.val()},val:function(){return gx.fn.getControlValue("ASSINDCANC")},nac:function(){return false}};this.GXValidFnc[104]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[106]={lvl:0,type:"char",len:4,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSNROEXER",gxz:"Z58AssNroExer",gxold:"O58AssNroExer",gxvar:"A58AssNroExer",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A58AssNroExer=a
},v2z:function(a){gx.O.Z58AssNroExer=a},v2c:function(){gx.fn.setControlValue("ASSNROEXER",gx.O.A58AssNroExer,0)},c2v:function(){gx.O.A58AssNroExer=this.val()},val:function(){return gx.fn.getControlValue("ASSNROEXER")},nac:function(){return false}};this.GXValidFnc[109]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[111]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ASSINDEXPO",gxz:"Z54AssIndExpo",gxold:"O54AssIndExpo",gxvar:"A54AssIndExpo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A54AssIndExpo=a
},v2z:function(a){gx.O.Z54AssIndExpo=a},v2c:function(){gx.fn.setControlValue("ASSINDEXPO",gx.O.A54AssIndExpo,0)},c2v:function(){gx.O.A54AssIndExpo=this.val()},val:function(){return gx.fn.getControlValue("ASSINDEXPO")},nac:function(){return false}};this.GXValidFnc[119]={fld:"PROMPT_652",grid:116};this.GXValidFnc[120]={fld:"PROMPT_899",grid:116};this.A57AssNro=0;this.Z57AssNro=0;this.O57AssNro=0;this.A51AssDatInic=gx.date.nullDate();this.Z51AssDatInic=gx.date.nullDate();this.O51AssDatInic=gx.date.nullDate();
this.A50AssDatEnce=gx.date.nullDate();this.Z50AssDatEnce=gx.date.nullDate();this.O50AssDatEnce=gx.date.nullDate();this.A652PerNro=0;this.Z652PerNro=0;this.O652PerNro=0;this.A642PerDesAbre="";this.Z642PerDesAbre="";this.O642PerDesAbre="";this.A683PrdCod="";this.Z683PrdCod="";this.O683PrdCod="";this.A684PrdDes="";this.Z684PrdDes="";this.O684PrdDes="";this.A899TpaCod="";this.Z899TpaCod="";this.O899TpaCod="";this.A1013TpaDsc="";this.Z1013TpaDsc="";this.O1013TpaDsc="";this.A46AssCampo1L="";this.Z46AssCampo1L="";
this.O46AssCampo1L="";this.A47AssCampo2L="";this.Z47AssCampo2L="";this.O47AssCampo2L="";this.A48AssCampo3L="";this.Z48AssCampo3L="";this.O48AssCampo3L="";this.A49AssCodAssi="";this.Z49AssCodAssi="";this.O49AssCodAssi="";this.A52AssDesNota="";this.Z52AssDesNota="";this.O52AssDesNota="";this.A56AssNomResp="";this.Z56AssNomResp="";this.O56AssNomResp="";this.A55AssNomDept="";this.Z55AssNomDept="";this.O55AssNomDept="";this.A53AssIndCanc="";this.Z53AssIndCanc="";this.O53AssIndCanc="";this.A58AssNroExer="";
this.Z58AssNroExer="";this.O58AssNroExer="";this.A54AssIndExpo="";this.Z54AssIndExpo="";this.O54AssIndExpo="";this.A900TpaDes="";this.ServerEvents=["e1154116_client","e1254116_client"];this.setPrompt("PROMPT_652",[36]);this.setPrompt("PROMPT_899",[56]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.A900TpaDes={id:"TPADES",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet003.prototype=new gx.GxObject;gx.setParentObj(new tpet003());