gx.evt.autoSkip=false;function tcpt001(){this.ServerClass="Tcpt001";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Usbcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Usbcod",["gx.O.A787UsbCod","gx.O.A786UsbNom","gx.O.A958UsbPriorid","gx.O.A959UsbQtdDias","gx.O.A779SetCod"],["A786UsbNom","A779SetCod","A958UsbPriorid","A959UsbQtdDias","A780SetDes","Gx_mode","Z787UsbCod","Z786UsbNom","Z779SetCod","Z958UsbPriorid","Z959UsbQtdDias","Z780SetDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Setcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Setcod",["gx.O.A779SetCod","gx.O.A780SetDes"],["A780SetDes"]);return true};this.e112a13_client=function(){this.executeServerEvent("ENTER",true)};this.e122a13_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,54];this.GXLastCtrlId=54;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:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[31,46,41,26],ip:[31,46,41,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setControlValue("USBCOD",gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getControlValue("USBCOD")},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:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a},v2z:function(a){gx.O.Z786UsbNom=a},v2c:function(){gx.fn.setControlValue("USBNOM",gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getControlValue("USBNOM")
},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Setcod,isvalid:null,rgrid:[],fld:"SETCOD",gxz:"Z779SetCod",gxold:"O779SetCod",gxvar:"A779SetCod",ucs:[],op:[36],ip:[36,31],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A779SetCod=gx.num.intval(a)},v2z:function(a){gx.O.Z779SetCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("SETCOD",gx.O.A779SetCod,0)
},c2v:function(){gx.O.A779SetCod=this.val()},val:function(){return gx.fn.getIntegerValue("SETCOD",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"SETDES",gxz:"Z780SetDes",gxold:"O780SetDes",gxvar:"A780SetDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A780SetDes=a},v2z:function(a){gx.O.Z780SetDes=a},v2c:function(){gx.fn.setControlValue("SETDES",gx.O.A780SetDes,0)
},c2v:function(){gx.O.A780SetDes=this.val()},val:function(){return gx.fn.getControlValue("SETDES")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"USBPRIORID",gxz:"Z958UsbPriorid",gxold:"O958UsbPriorid",gxvar:"A958UsbPriorid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A958UsbPriorid=gx.num.intval(a)},v2z:function(a){gx.O.Z958UsbPriorid=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("USBPRIORID",gx.O.A958UsbPriorid,0)},c2v:function(){gx.O.A958UsbPriorid=this.val()},val:function(){return gx.fn.getIntegerValue("USBPRIORID",".")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"USBQTDDIAS",gxz:"Z959UsbQtdDias",gxold:"O959UsbQtdDias",gxvar:"A959UsbQtdDias",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A959UsbQtdDias=gx.num.intval(a)
},v2z:function(a){gx.O.Z959UsbQtdDias=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("USBQTDDIAS",gx.O.A959UsbQtdDias,0)},c2v:function(){gx.O.A959UsbQtdDias=this.val()},val:function(){return gx.fn.getIntegerValue("USBQTDDIAS",".")},nac:function(){return false}};this.GXValidFnc[54]={fld:"PROMPT_779",grid:13};this.A787UsbCod="";this.Z787UsbCod="";this.O787UsbCod="";this.A786UsbNom="";this.Z786UsbNom="";this.O786UsbNom="";this.A779SetCod=0;this.Z779SetCod=0;this.O779SetCod=0;this.A780SetDes="";
this.Z780SetDes="";this.O780SetDes="";this.A958UsbPriorid=0;this.Z958UsbPriorid=0;this.O958UsbPriorid=0;this.A959UsbQtdDias=0;this.Z959UsbQtdDias=0;this.O959UsbQtdDias=0;this.ServerEvents=["e112a13_client","e122a13_client"];this.setPrompt("PROMPT_779",[31]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tcpt001.prototype=new gx.GxObject;gx.setParentObj(new tcpt001());