gx.evt.autoSkip=false;function taqt003(){this.ServerClass="TAqt003";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Cdpcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Cdpcod",["gx.O.A100CdpCod","gx.O.A101CdpDes","gx.O.A99CdpCampo1L"],["A101CdpDes","A99CdpCampo1L","Gx_mode","Z100CdpCod","Z101CdpDes","Z99CdpCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Cdpdes=function(){try{var a=gx.util.balloon.getNew("CDPDES");this.AnyError=0;if((""==this.A101CdpDes)){try{a.setError("Informe a descrição da condição de pagamento");this.AnyError=1}catch(b){}}}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e112675_client=function(){this.executeServerEvent("ENTER",true)};this.e122675_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31];this.GXLastCtrlId=31;
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:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cdpcod,isvalid:null,rgrid:[],fld:"CDPCOD",gxz:"Z100CdpCod",gxold:"O100CdpCod",gxvar:"A100CdpCod",ucs:[],op:[20,31,26],ip:[31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A100CdpCod=gx.num.intval(a)},v2z:function(a){gx.O.Z100CdpCod=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("CDPCOD",gx.O.A100CdpCod,0)},c2v:function(){gx.O.A100CdpCod=this.val()},val:function(){return gx.fn.getIntegerValue("CDPCOD",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cdpdes,isvalid:null,fld:"CDPDES",gxz:"Z101CdpDes",gxold:"O101CdpDes",gxvar:"A101CdpDes",ucs:[],op:[26],ip:[26],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A101CdpDes=a
},v2z:function(a){gx.O.Z101CdpDes=a},v2c:function(){gx.fn.setControlValue("CDPDES",gx.O.A101CdpDes,0)},c2v:function(){gx.O.A101CdpDes=this.val()},val:function(){return gx.fn.getControlValue("CDPDES")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CDPCAMPO1L",gxz:"Z99CdpCampo1L",gxold:"O99CdpCampo1L",gxvar:"A99CdpCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A99CdpCampo1L=a
},v2z:function(a){gx.O.Z99CdpCampo1L=a},v2c:function(){gx.fn.setControlValue("CDPCAMPO1L",gx.O.A99CdpCampo1L,0)},c2v:function(){gx.O.A99CdpCampo1L=this.val()},val:function(){return gx.fn.getControlValue("CDPCAMPO1L")},nac:function(){return false}};this.A100CdpCod=0;this.Z100CdpCod=0;this.O100CdpCod=0;this.A101CdpDes="";this.Z101CdpDes="";this.O101CdpDes="";this.A99CdpCampo1L="";this.Z99CdpCampo1L="";this.O99CdpCampo1L="";this.ServerEvents=["e112675_client","e122675_client"];this.EnterCtrl=["BTN_ENTER"];
this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}taqt003.prototype=new gx.GxObject;gx.setParentObj(new taqt003());