gx.evt.autoSkip=false;function tabt082(){this.ServerClass="TAbt082";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_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_Mtdnroitem=function(){try{var a=gx.util.balloon.getNew("MTDNROITEM");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Mtdnroarti=function(){try{var a=gx.util.balloon.getNew("MTDNROARTI");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Plrtip=function(){try{var a=gx.util.balloon.getNew("PLRTIP");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Plrnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Plrnro",["gx.O.A258DocNro","gx.O.A551MtdNroItem","gx.O.A550MtdNroArti","gx.O.A682PlrTip","gx.O.A681PlrNro"],["Gx_mode","Z258DocNro","Z551MtdNroItem","Z550MtdNroArti","Z682PlrTip","Z681PlrNro",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e111y65_client=function(){this.clearMessages();this.refreshOutputs([])};this.e121y65_client=function(){this.executeServerEvent("ENTER",true)};this.e131y65_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,28,30,33,35,38,40,49];this.GXLastCtrlId=49;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:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,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[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Mtdnroitem,isvalid:null,rgrid:[],fld:"MTDNROITEM",gxz:"Z551MtdNroItem",gxold:"O551MtdNroItem",gxvar:"A551MtdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A551MtdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.Z551MtdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("MTDNROITEM",gx.O.A551MtdNroItem,0)},c2v:function(){gx.O.A551MtdNroItem=this.val()},val:function(){return gx.fn.getIntegerValue("MTDNROITEM",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Mtdnroarti,isvalid:null,rgrid:[],fld:"MTDNROARTI",gxz:"Z550MtdNroArti",gxold:"O550MtdNroArti",gxvar:"A550MtdNroArti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A550MtdNroArti=gx.num.intval(a)
},v2z:function(a){gx.O.Z550MtdNroArti=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("MTDNROARTI",gx.O.A550MtdNroArti,0)},c2v:function(){gx.O.A550MtdNroArti=this.val()},val:function(){return gx.fn.getIntegerValue("MTDNROARTI",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Plrtip,isvalid:null,fld:"PLRTIP",gxz:"Z682PlrTip",gxold:"O682PlrTip",gxvar:"A682PlrTip",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A682PlrTip=a
},v2z:function(a){gx.O.Z682PlrTip=a},v2c:function(){gx.fn.setComboBoxValue("PLRTIP",gx.O.A682PlrTip)},c2v:function(){gx.O.A682PlrTip=this.val()},val:function(){return gx.fn.getControlValue("PLRTIP")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Plrnro,isvalid:null,rgrid:[],fld:"PLRNRO",gxz:"Z681PlrNro",gxold:"O681PlrNro",gxvar:"A681PlrNro",ucs:[],op:[],ip:[40,35,30,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A681PlrNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z681PlrNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PLRNRO",gx.O.A681PlrNro,0)},c2v:function(){gx.O.A681PlrNro=this.val()},val:function(){return gx.fn.getIntegerValue("PLRNRO",".")},nac:function(){return false}};this.GXValidFnc[49]={fld:"PROMPT_258_682_681",grid:65};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A551MtdNroItem=0;this.Z551MtdNroItem=0;this.O551MtdNroItem=0;this.A550MtdNroArti=0;this.Z550MtdNroArti=0;this.O550MtdNroArti=0;this.A682PlrTip="";
this.Z682PlrTip="";this.O682PlrTip="";this.A681PlrNro=0;this.Z681PlrNro=0;this.O681PlrNro=0;this.ServerEvents=["e121y65_client","e131y65_client"];this.setPrompt("PROMPT_258_682_681",[20,35,40]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt082.prototype=new gx.GxObject;gx.setParentObj(new tabt082());