gx.evt.autoSkip=false;function tcot114(){this.ServerClass="Tcot114";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Ptpcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Ptpcod",["gx.O.A715PtpCod","gx.O.A702PtpCampo01","gx.O.A703PtpCampo02","gx.O.A704PtpCampo03","gx.O.A705PtpCampo04","gx.O.A706PtpCampo05","gx.O.A707PtpCampo06","gx.O.A708PtpCampo07",'gx.date.urlDate(gx.O.A709PtpCampo08,"DMY")',"gx.O.A710PtpCampo09","gx.O.A711PtpCampo10","gx.O.A712PtpCampo11","gx.O.A713PtpCampo12","gx.O.A714PtpCampo13"],["A702PtpCampo01","A703PtpCampo02","A704PtpCampo03","A705PtpCampo04","A706PtpCampo05","A707PtpCampo06","A708PtpCampo07","A709PtpCampo08","A710PtpCampo09","A711PtpCampo10","A712PtpCampo11","A713PtpCampo12","A714PtpCampo13","Gx_mode","Z715PtpCod","Z702PtpCampo01","Z703PtpCampo02","Z704PtpCampo03","Z705PtpCampo04","Z706PtpCampo05","Z707PtpCampo06","Z708PtpCampo07","Z709PtpCampo08","Z710PtpCampo09","Z711PtpCampo10","Z712PtpCampo11","Z713PtpCampo12","Z714PtpCampo13",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e112980_client=function(){this.clearMessages();this.refreshOutputs([])};this.e122980_client=function(){this.executeServerEvent("ENTER",true)};this.e132980_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];this.GXLastCtrlId=86;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:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Ptpcod,isvalid:null,rgrid:[],fld:"PTPCOD",gxz:"Z715PtpCod",gxold:"O715PtpCod",gxvar:"A715PtpCod",ucs:[],op:[86,81,76,71,66,61,56,51,46,41,36,31,26],ip:[86,81,76,71,66,61,56,51,46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A715PtpCod=gx.num.intval(a)},v2z:function(a){gx.O.Z715PtpCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PTPCOD",gx.O.A715PtpCod,0)},c2v:function(){gx.O.A715PtpCod=this.val()
},val:function(){return gx.fn.getIntegerValue("PTPCOD",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO01",gxz:"Z702PtpCampo01",gxold:"O702PtpCampo01",gxvar:"A702PtpCampo01",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A702PtpCampo01=a},v2z:function(a){gx.O.Z702PtpCampo01=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO01",gx.O.A702PtpCampo01,0)
},c2v:function(){gx.O.A702PtpCampo01=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO01")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"PTPCAMPO02",gxz:"Z703PtpCampo02",gxold:"O703PtpCampo02",gxvar:"A703PtpCampo02",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A703PtpCampo02=gx.num.intval(a)
},v2z:function(a){gx.O.Z703PtpCampo02=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PTPCAMPO02",gx.O.A703PtpCampo02,0)},c2v:function(){gx.O.A703PtpCampo02=this.val()},val:function(){return gx.fn.getIntegerValue("PTPCAMPO02",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO03",gxz:"Z704PtpCampo03",gxold:"O704PtpCampo03",gxvar:"A704PtpCampo03",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A704PtpCampo03=a
},v2z:function(a){gx.O.Z704PtpCampo03=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO03",gx.O.A704PtpCampo03,0)},c2v:function(){gx.O.A704PtpCampo03=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO03")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO04",gxz:"Z705PtpCampo04",gxold:"O705PtpCampo04",gxvar:"A705PtpCampo04",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A705PtpCampo04=a
},v2z:function(a){gx.O.Z705PtpCampo04=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO04",gx.O.A705PtpCampo04,0)},c2v:function(){gx.O.A705PtpCampo04=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO04")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO05",gxz:"Z706PtpCampo05",gxold:"O706PtpCampo05",gxvar:"A706PtpCampo05",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A706PtpCampo05=a
},v2z:function(a){gx.O.Z706PtpCampo05=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO05",gx.O.A706PtpCampo05,0)},c2v:function(){gx.O.A706PtpCampo05=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO05")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO06",gxz:"Z707PtpCampo06",gxold:"O707PtpCampo06",gxvar:"A707PtpCampo06",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A707PtpCampo06=a
},v2z:function(a){gx.O.Z707PtpCampo06=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO06",gx.O.A707PtpCampo06,0)},c2v:function(){gx.O.A707PtpCampo06=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO06")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO07",gxz:"Z708PtpCampo07",gxold:"O708PtpCampo07",gxvar:"A708PtpCampo07",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A708PtpCampo07=a
},v2z:function(a){gx.O.Z708PtpCampo07=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO07",gx.O.A708PtpCampo07,0)},c2v:function(){gx.O.A708PtpCampo07=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO07")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO08",gxz:"Z709PtpCampo08",gxold:"O709PtpCampo08",gxvar:"A709PtpCampo08",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.A709PtpCampo08=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z709PtpCampo08=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("PTPCAMPO08",gx.O.A709PtpCampo08,0)},c2v:function(){gx.O.A709PtpCampo08=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO08")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO09",gxz:"Z710PtpCampo09",gxold:"O710PtpCampo09",gxvar:"A710PtpCampo09",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A710PtpCampo09=a
},v2z:function(a){gx.O.Z710PtpCampo09=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO09",gx.O.A710PtpCampo09,0)},c2v:function(){gx.O.A710PtpCampo09=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO09")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO10",gxz:"Z711PtpCampo10",gxold:"O711PtpCampo10",gxvar:"A711PtpCampo10",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A711PtpCampo10=a
},v2z:function(a){gx.O.Z711PtpCampo10=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO10",gx.O.A711PtpCampo10,0)},c2v:function(){gx.O.A711PtpCampo10=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO10")},nac:function(){return false}};this.GXValidFnc[74]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO11",gxz:"Z712PtpCampo11",gxold:"O712PtpCampo11",gxvar:"A712PtpCampo11",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A712PtpCampo11=a
},v2z:function(a){gx.O.Z712PtpCampo11=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO11",gx.O.A712PtpCampo11,0)},c2v:function(){gx.O.A712PtpCampo11=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO11")},nac:function(){return false}};this.GXValidFnc[79]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[81]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO12",gxz:"Z713PtpCampo12",gxold:"O713PtpCampo12",gxvar:"A713PtpCampo12",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A713PtpCampo12=a
},v2z:function(a){gx.O.Z713PtpCampo12=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO12",gx.O.A713PtpCampo12,0)},c2v:function(){gx.O.A713PtpCampo12=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO12")},nac:function(){return false}};this.GXValidFnc[84]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[86]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PTPCAMPO13",gxz:"Z714PtpCampo13",gxold:"O714PtpCampo13",gxvar:"A714PtpCampo13",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A714PtpCampo13=a
},v2z:function(a){gx.O.Z714PtpCampo13=a},v2c:function(){gx.fn.setControlValue("PTPCAMPO13",gx.O.A714PtpCampo13,0)},c2v:function(){gx.O.A714PtpCampo13=this.val()},val:function(){return gx.fn.getControlValue("PTPCAMPO13")},nac:function(){return false}};this.A715PtpCod=0;this.Z715PtpCod=0;this.O715PtpCod=0;this.A702PtpCampo01="";this.Z702PtpCampo01="";this.O702PtpCampo01="";this.A703PtpCampo02=0;this.Z703PtpCampo02=0;this.O703PtpCampo02=0;this.A704PtpCampo03="";this.Z704PtpCampo03="";this.O704PtpCampo03="";
this.A705PtpCampo04="";this.Z705PtpCampo04="";this.O705PtpCampo04="";this.A706PtpCampo05="";this.Z706PtpCampo05="";this.O706PtpCampo05="";this.A707PtpCampo06="";this.Z707PtpCampo06="";this.O707PtpCampo06="";this.A708PtpCampo07="";this.Z708PtpCampo07="";this.O708PtpCampo07="";this.A709PtpCampo08=gx.date.nullDate();this.Z709PtpCampo08=gx.date.nullDate();this.O709PtpCampo08=gx.date.nullDate();this.A710PtpCampo09="";this.Z710PtpCampo09="";this.O710PtpCampo09="";this.A711PtpCampo10="";this.Z711PtpCampo10="";
this.O711PtpCampo10="";this.A712PtpCampo11="";this.Z712PtpCampo11="";this.O712PtpCampo11="";this.A713PtpCampo12="";this.Z713PtpCampo12="";this.O713PtpCampo12="";this.A714PtpCampo13="";this.Z714PtpCampo13="";this.O714PtpCampo13="";this.ServerEvents=["e122980_client","e132980_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tcot114.prototype=new gx.GxObject;gx.setParentObj(new tcot114());