gx.evt.autoSkip=false;function tabt067(){this.ServerClass="TAbt067";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;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_Prfcodunid=function(){try{var a=gx.util.balloon.getNew("PRFCODUNID");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.Valid_Prfnroassi=function(){try{var a=gx.util.balloon.getNew("PRFNROASSI");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Prfnrofasc=function(){try{var a=gx.util.balloon.getNew("PRFNROFASC");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Plrnro=function(){try{var a=gx.util.balloon.getNew("PLRNRO");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.Valid_Plrtip=function(){gx.ajax.validSrvEvt("dyncall","valid_Plrtip",["gx.O.A258DocNro","gx.O.A690PrfCodUnid","gx.O.A691PrfNroAssi","gx.O.A692PrfNroFasc","gx.O.A681PlrNro","gx.O.A682PlrTip"],["Gx_mode","Z258DocNro","Z690PrfCodUnid","Z691PrfNroAssi","Z692PrfNroFasc","Z681PlrNro","Z682PlrTip",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);return true};this.e111o49_client=function(){this.clearMessages();this.refreshOutputs([])};this.e121o49_client=function(){this.executeServerEvent("ENTER",true)
};this.e131o49_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,28,30,33,35,38,40,43,45];this.GXLastCtrlId=45;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:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Prfcodunid,isvalid:null,rgrid:[],fld:"PRFCODUNID",gxz:"Z690PrfCodUnid",gxold:"O690PrfCodUnid",gxvar:"A690PrfCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A690PrfCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z690PrfCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PRFCODUNID",gx.O.A690PrfCodUnid,0)},c2v:function(){gx.O.A690PrfCodUnid=this.val()},val:function(){return gx.fn.getIntegerValue("PRFCODUNID",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Prfnroassi,isvalid:null,rgrid:[],fld:"PRFNROASSI",gxz:"Z691PrfNroAssi",gxold:"O691PrfNroAssi",gxvar:"A691PrfNroAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A691PrfNroAssi=gx.num.intval(a)
},v2z:function(a){gx.O.Z691PrfNroAssi=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PRFNROASSI",gx.O.A691PrfNroAssi,0)},c2v:function(){gx.O.A691PrfNroAssi=this.val()},val:function(){return gx.fn.getIntegerValue("PRFNROASSI",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Prfnrofasc,isvalid:null,rgrid:[],fld:"PRFNROFASC",gxz:"Z692PrfNroFasc",gxold:"O692PrfNroFasc",gxvar:"A692PrfNroFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A692PrfNroFasc=gx.num.intval(a)
},v2z:function(a){gx.O.Z692PrfNroFasc=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PRFNROFASC",gx.O.A692PrfNroFasc,0)},c2v:function(){gx.O.A692PrfNroFasc=this.val()},val:function(){return gx.fn.getIntegerValue("PRFNROFASC",".")},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:[],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[43]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[45]={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:[45,40,35,30,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A682PlrTip=a
},v2z:function(a){gx.O.Z682PlrTip=a},v2c:function(){gx.fn.setControlValue("PLRTIP",gx.O.A682PlrTip,0)},c2v:function(){gx.O.A682PlrTip=this.val()},val:function(){return gx.fn.getControlValue("PLRTIP")},nac:function(){return false}};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A690PrfCodUnid=0;this.Z690PrfCodUnid=0;this.O690PrfCodUnid=0;this.A691PrfNroAssi=0;this.Z691PrfNroAssi=0;this.O691PrfNroAssi=0;this.A692PrfNroFasc=0;this.Z692PrfNroFasc=0;this.O692PrfNroFasc=0;this.A681PlrNro=0;
this.Z681PlrNro=0;this.O681PlrNro=0;this.A682PlrTip="";this.Z682PlrTip="";this.O682PlrTip="";this.ServerEvents=["e121o49_client","e131o49_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt067.prototype=new gx.GxObject;gx.setParentObj(new tabt067());