gx.evt.autoSkip=false;function tabt086(){this.ServerClass="TAbt086";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.addKeyListener("2",'"LISTA"');this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Crcnroseq=function(){gx.ajax.validSrvEvt("dyncall","Valid_Crcnroseq",["gx.O.A157CrcNroSeq"],[]);return true};this.Valid_Crbnroseq=function(){gx.ajax.validSrvEvt("dyncall","Valid_Crbnroseq",["gx.O.A157CrcNroSeq","gx.O.A144CrbNroSeq",'gx.date.urlDateTime(gx.O.A141CrbDatBaix,"DMY")',"gx.num.urlDecimal(gx.O.A146CrbValBaix,'.',',')","gx.num.urlDecimal(gx.O.A147CrbValDedu,'.',',')","gx.num.urlDecimal(gx.O.A145CrbValAcre,'.',',')","gx.O.A143CrbIndCanc","gx.O.A142CrbDscBaix","gx.O.A140CrbCodUsua","gx.O.A139CrbCodUnid","gx.O.A528MbaCod"],["A141CrbDatBaix","A146CrbValBaix","A147CrbValDedu","A145CrbValAcre","A143CrbIndCanc","A528MbaCod","A142CrbDscBaix","A140CrbCodUsua","A139CrbCodUnid","A529MbaDes","Gx_mode","Z157CrcNroSeq","Z144CrbNroSeq","Z141CrbDatBaix","Z146CrbValBaix","Z147CrbValDedu","Z145CrbValAcre","Z143CrbIndCanc","Z528MbaCod","Z142CrbDscBaix","Z140CrbCodUsua","Z139CrbCodUnid","Z529MbaDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Mbacod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Mbacod",["gx.O.A528MbaCod","gx.O.A529MbaDes"],["A529MbaDes"]);return true};this.e112170_client=function(){this.clearMessages();this.refreshOutputs([])};this.e122170_client=function(){this.executeServerEvent("ENTER",true)};this.e132170_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,29,31,34,36,39,41,44,46,49,51,54,56,59,61,64,66,69,71,74,76,84,85];this.GXLastCtrlId=85;
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:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Crcnroseq,isvalid:null,rgrid:[],fld:"CRCNROSEQ",gxz:"Z157CrcNroSeq",gxold:"O157CrcNroSeq",gxvar:"A157CrcNroSeq",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A157CrcNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.Z157CrcNroSeq=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("CRCNROSEQ",gx.O.A157CrcNroSeq,0)},c2v:function(){gx.O.A157CrcNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("CRCNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Crbnroseq,isvalid:null,rgrid:[],fld:"CRBNROSEQ",gxz:"Z144CrbNroSeq",gxold:"O144CrbNroSeq",gxvar:"A144CrbNroSeq",ucs:[],op:[56,76,71,66,51,46,41,36,31],ip:[56,76,71,66,51,46,41,36,31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A144CrbNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z144CrbNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("CRBNROSEQ",gx.O.A144CrbNroSeq,0)},c2v:function(){gx.O.A144CrbNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("CRBNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CRBDATBAIX",gxz:"Z141CrbDatBaix",gxold:"O141CrbDatBaix",gxvar:"A141CrbDatBaix",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A141CrbDatBaix=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z141CrbDatBaix=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("CRBDATBAIX",gx.O.A141CrbDatBaix,0)},c2v:function(){gx.O.A141CrbDatBaix=this.val()},val:function(){return gx.fn.getControlValue("CRBDATBAIX")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"CRBVALBAIX",gxz:"Z146CrbValBaix",gxold:"O146CrbValBaix",gxvar:"A146CrbValBaix",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A146CrbValBaix=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z146CrbValBaix=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("CRBVALBAIX",gx.O.A146CrbValBaix,2,",")},c2v:function(){gx.O.A146CrbValBaix=this.val()},val:function(){return gx.fn.getDecimalValue("CRBVALBAIX",".",",")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"CRBVALDEDU",gxz:"Z147CrbValDedu",gxold:"O147CrbValDedu",gxvar:"A147CrbValDedu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A147CrbValDedu=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z147CrbValDedu=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("CRBVALDEDU",gx.O.A147CrbValDedu,2,",")},c2v:function(){gx.O.A147CrbValDedu=this.val()},val:function(){return gx.fn.getDecimalValue("CRBVALDEDU",".",",")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"CRBVALACRE",gxz:"Z145CrbValAcre",gxold:"O145CrbValAcre",gxvar:"A145CrbValAcre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A145CrbValAcre=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z145CrbValAcre=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("CRBVALACRE",gx.O.A145CrbValAcre,2,",")},c2v:function(){gx.O.A145CrbValAcre=this.val()},val:function(){return gx.fn.getDecimalValue("CRBVALACRE",".",",")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CRBINDCANC",gxz:"Z143CrbIndCanc",gxold:"O143CrbIndCanc",gxvar:"A143CrbIndCanc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A143CrbIndCanc=a
},v2z:function(a){gx.O.Z143CrbIndCanc=a},v2c:function(){gx.fn.setComboBoxValue("CRBINDCANC",gx.O.A143CrbIndCanc)},c2v:function(){gx.O.A143CrbIndCanc=this.val()},val:function(){return gx.fn.getControlValue("CRBINDCANC")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Mbacod,isvalid:null,rgrid:[],fld:"MBACOD",gxz:"Z528MbaCod",gxold:"O528MbaCod",gxvar:"A528MbaCod",ucs:[],op:[61],ip:[61,56],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A528MbaCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z528MbaCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("MBACOD",gx.O.A528MbaCod,0)},c2v:function(){gx.O.A528MbaCod=this.val()},val:function(){return gx.fn.getIntegerValue("MBACOD",".")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MBADES",gxz:"Z529MbaDes",gxold:"O529MbaDes",gxvar:"A529MbaDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A529MbaDes=a
},v2z:function(a){gx.O.Z529MbaDes=a},v2c:function(){gx.fn.setControlValue("MBADES",gx.O.A529MbaDes,0)},c2v:function(){gx.O.A529MbaDes=this.val()},val:function(){return gx.fn.getControlValue("MBADES")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"vchar",len:10240,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CRBDSCBAIX",gxz:"Z142CrbDscBaix",gxold:"O142CrbDscBaix",gxvar:"A142CrbDscBaix",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A142CrbDscBaix=a
},v2z:function(a){gx.O.Z142CrbDscBaix=a},v2c:function(){gx.fn.setControlValue("CRBDSCBAIX",gx.O.A142CrbDscBaix,0)},c2v:function(){gx.O.A142CrbDscBaix=this.val()},val:function(){return gx.fn.getControlValue("CRBDSCBAIX")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CRBCODUSUA",gxz:"Z140CrbCodUsua",gxold:"O140CrbCodUsua",gxvar:"A140CrbCodUsua",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A140CrbCodUsua=a
},v2z:function(a){gx.O.Z140CrbCodUsua=a},v2c:function(){gx.fn.setControlValue("CRBCODUSUA",gx.O.A140CrbCodUsua,0)},c2v:function(){gx.O.A140CrbCodUsua=this.val()},val:function(){return gx.fn.getControlValue("CRBCODUSUA")},nac:function(){return false}};this.GXValidFnc[74]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"CRBCODUNID",gxz:"Z139CrbCodUnid",gxold:"O139CrbCodUnid",gxvar:"A139CrbCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A139CrbCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z139CrbCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("CRBCODUNID",gx.O.A139CrbCodUnid,0)},c2v:function(){gx.O.A139CrbCodUnid=this.val()},val:function(){return gx.fn.getIntegerValue("CRBCODUNID",".")},nac:function(){return false}};this.GXValidFnc[84]={fld:"PROMPT_157",grid:70};this.GXValidFnc[85]={fld:"PROMPT_528",grid:70};this.A157CrcNroSeq=0;this.Z157CrcNroSeq=0;this.O157CrcNroSeq=0;this.A144CrbNroSeq=0;this.Z144CrbNroSeq=0;this.O144CrbNroSeq=0;this.A141CrbDatBaix=gx.date.nullDate();
this.Z141CrbDatBaix=gx.date.nullDate();this.O141CrbDatBaix=gx.date.nullDate();this.A146CrbValBaix=0;this.Z146CrbValBaix=0;this.O146CrbValBaix=0;this.A147CrbValDedu=0;this.Z147CrbValDedu=0;this.O147CrbValDedu=0;this.A145CrbValAcre=0;this.Z145CrbValAcre=0;this.O145CrbValAcre=0;this.A143CrbIndCanc="";this.Z143CrbIndCanc="";this.O143CrbIndCanc="";this.A528MbaCod=0;this.Z528MbaCod=0;this.O528MbaCod=0;this.A529MbaDes="";this.Z529MbaDes="";this.O529MbaDes="";this.A142CrbDscBaix="";this.Z142CrbDscBaix="";
this.O142CrbDscBaix="";this.A140CrbCodUsua="";this.Z140CrbCodUsua="";this.O140CrbCodUsua="";this.A139CrbCodUnid=0;this.Z139CrbCodUnid=0;this.O139CrbCodUnid=0;this.ServerEvents=["e122170_client","e132170_client"];this.setPrompt("PROMPT_157",[20]);this.setPrompt("PROMPT_528",[56]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt086.prototype=new gx.GxObject;gx.setParentObj(new tabt086());