gx.evt.autoSkip=false;function timt088(){this.ServerClass="TImt088";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Docnro=function(){try{var a=gx.util.balloon.getNew("DOCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Cmtnrosequ=function(){gx.ajax.validSrvEvt("dyncall","Valid_Cmtnrosequ",["gx.O.A258DocNro","gx.O.A135CmtNroSequ",'gx.date.urlDateTime(gx.O.A134CmtDthRegi,"DMY")',"gx.O.A132CmtCodLeit","gx.O.A133CmtDscCome","gx.O.A1011CmtIndAtiv"],["A134CmtDthRegi","A132CmtCodLeit","A133CmtDscCome","A1011CmtIndAtiv","Gx_mode","Z258DocNro","Z135CmtNroSequ","Z134CmtDthRegi","Z132CmtCodLeit","Z133CmtDscCome","Z1011CmtIndAtiv",["BTN_ENTER2","Enabled"]]);
return true};this.e124g2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e134g2_client=function(){this.executeServerEvent("'DESATIVA'",false)};this.e144g2_client=function(){this.executeServerEvent("'ATIVA'",false)};this.e154g126_client=function(){this.executeServerEvent("ENTER",true)};this.e164g126_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,21,25,28,30,32,35,37,41,43,47,49,53,55,59,61];this.GXLastCtrlId=61;this.GXValidFnc[3]={fld:"TABLE4",grid:0};
this.GXValidFnc[21]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[25]={fld:"TABLE1",grid:0};this.GXValidFnc[28]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Docnro,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("DOCNRO",gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("DOCNRO",".")},nac:function(){return false}};this.GXValidFnc[32]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDCONFIRMAPROCESSAMENTO",gxz:"ZV7IndConfirmaProcessamento",gxold:"OV7IndConfirmaProcessamento",gxvar:"AV7IndConfirmaProcessamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV7IndConfirmaProcessamento=a
},v2z:function(a){gx.O.ZV7IndConfirmaProcessamento=a},v2c:function(){gx.fn.setCheckBoxValue("vINDCONFIRMAPROCESSAMENTO",gx.O.AV7IndConfirmaProcessamento,"S")},c2v:function(){gx.O.AV7IndConfirmaProcessamento=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDCONFIRMAPROCESSAMENTO","S","N")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cmtnrosequ,isvalid:null,rgrid:[],fld:"CMTNROSEQU",gxz:"Z135CmtNroSequ",gxold:"O135CmtNroSequ",gxvar:"A135CmtNroSequ",ucs:[],op:[43,61,55,49],ip:[43,61,55,49,37,30],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A135CmtNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z135CmtNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("CMTNROSEQU",gx.O.A135CmtNroSequ,0)},c2v:function(){gx.O.A135CmtNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("CMTNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CMTINDATIV",gxz:"Z1011CmtIndAtiv",gxold:"O1011CmtIndAtiv",gxvar:"A1011CmtIndAtiv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1011CmtIndAtiv=a
},v2z:function(a){gx.O.Z1011CmtIndAtiv=a},v2c:function(){gx.fn.setComboBoxValue("CMTINDATIV",gx.O.A1011CmtIndAtiv)},c2v:function(){gx.O.A1011CmtIndAtiv=this.val()},val:function(){return gx.fn.getControlValue("CMTINDATIV")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"dtime",len:8,dec:5,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CMTDTHREGI",gxz:"Z134CmtDthRegi",gxold:"O134CmtDthRegi",gxvar:"A134CmtDthRegi",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A134CmtDthRegi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z134CmtDthRegi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("CMTDTHREGI",gx.O.A134CmtDthRegi,0)},c2v:function(){gx.O.A134CmtDthRegi=this.val()},val:function(){return gx.fn.getControlValue("CMTDTHREGI")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[55]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CMTCODLEIT",gxz:"Z132CmtCodLeit",gxold:"O132CmtCodLeit",gxvar:"A132CmtCodLeit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A132CmtCodLeit=a
},v2z:function(a){gx.O.Z132CmtCodLeit=a},v2c:function(){gx.fn.setControlValue("CMTCODLEIT",gx.O.A132CmtCodLeit,0)},c2v:function(){gx.O.A132CmtCodLeit=this.val()},val:function(){return gx.fn.getControlValue("CMTCODLEIT")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"svchar",len:999,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CMTDSCCOME",gxz:"Z133CmtDscCome",gxold:"O133CmtDscCome",gxvar:"A133CmtDscCome",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A133CmtDscCome=a
},v2z:function(a){gx.O.Z133CmtDscCome=a},v2c:function(){gx.fn.setControlValue("CMTDSCCOME",gx.O.A133CmtDscCome,0)},c2v:function(){gx.O.A133CmtDscCome=this.val()},val:function(){return gx.fn.getControlValue("CMTDSCCOME")},nac:function(){return false}};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.AV7IndConfirmaProcessamento="";this.ZV7IndConfirmaProcessamento="";this.OV7IndConfirmaProcessamento="";this.A135CmtNroSequ=0;this.Z135CmtNroSequ=0;this.O135CmtNroSequ=0;this.A1011CmtIndAtiv="";
this.Z1011CmtIndAtiv="";this.O1011CmtIndAtiv="";this.A134CmtDthRegi=gx.date.nullDate();this.Z134CmtDthRegi=gx.date.nullDate();this.O134CmtDthRegi=gx.date.nullDate();this.A132CmtCodLeit="";this.Z132CmtCodLeit="";this.O132CmtCodLeit="";this.A133CmtDscCome="";this.Z133CmtDscCome="";this.O133CmtDscCome="";this.Gx_BScreen=0;this.ServerEvents=["e124g2_client","e134g2_client","e144g2_client","e154g126_client","e164g126_client"];this.EnterCtrl=["BTN_ENTER2"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};
this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt088.prototype=new gx.GxObject;gx.setParentObj(new timt088());