gx.evt.autoSkip=false;function tabt058(){this.ServerClass="TAbt058";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Mgvnrosequ=function(){gx.ajax.validSrvEvt("dyncall","valid_Mgvnrosequ",["gx.O.A538MgvNroSequ",'gx.date.urlDate(gx.O.A534MgvDatReti,"DMY")',"gx.O.A536MgvHorReti",'gx.date.urlDate(gx.O.A533MgvDatDevo,"DMY")',"gx.O.A535MgvHorDevo","gx.O.A531MgvCodLibe","gx.O.A532MgvCodRece","gx.O.A537MgvIndDevo","gx.O.A530MgvCampo1L","gx.O.A463GvlNro","gx.O.A787UsbCod"],["A534MgvDatReti","A536MgvHorReti","A463GvlNro","A787UsbCod","A533MgvDatDevo","A535MgvHorDevo","A531MgvCodLibe","A532MgvCodRece","A537MgvIndDevo","A530MgvCampo1L","Gx_mode","Z538MgvNroSequ","Z534MgvDatReti","Z536MgvHorReti","Z463GvlNro","Z787UsbCod","Z533MgvDatDevo","Z535MgvHorDevo","Z531MgvCodLibe","Z532MgvCodRece","Z537MgvIndDevo","Z530MgvCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Gvlnro=function(){gx.ajax.validSrvEvt("dyncall","valid_Gvlnro",["gx.O.A463GvlNro"],[]);return true};this.Valid_Usbcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Usbcod",["gx.O.A787UsbCod"],[]);return true};this.e111d44_client=function(){this.clearMessages();this.refreshOutputs([])};this.e121d44_client=function(){this.executeServerEvent("ENTER",true)};this.e131d44_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,49,51,54,56,59,61,64,66,69,71,79,80];
this.GXLastCtrlId=80;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:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Mgvnrosequ,isvalid:null,rgrid:[],fld:"MGVNROSEQU",gxz:"Z538MgvNroSequ",gxold:"O538MgvNroSequ",gxvar:"A538MgvNroSequ",ucs:[],op:[41,36,71,66,61,56,51,46,31,26],ip:[41,36,71,66,61,56,51,46,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A538MgvNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z538MgvNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("MGVNROSEQU",gx.O.A538MgvNroSequ,0)},c2v:function(){gx.O.A538MgvNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("MGVNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVDATRETI",gxz:"Z534MgvDatReti",gxold:"O534MgvDatReti",gxvar:"A534MgvDatReti",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A534MgvDatReti=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z534MgvDatReti=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("MGVDATRETI",gx.O.A534MgvDatReti,0)},c2v:function(){gx.O.A534MgvDatReti=this.val()},val:function(){return gx.fn.getControlValue("MGVDATRETI")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVHORRETI",gxz:"Z536MgvHorReti",gxold:"O536MgvHorReti",gxvar:"A536MgvHorReti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A536MgvHorReti=a
},v2z:function(a){gx.O.Z536MgvHorReti=a},v2c:function(){gx.fn.setControlValue("MGVHORRETI",gx.O.A536MgvHorReti,0)},c2v:function(){gx.O.A536MgvHorReti=this.val()},val:function(){return gx.fn.getControlValue("MGVHORRETI")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Gvlnro,isvalid:null,rgrid:[],fld:"GVLNRO",gxz:"Z463GvlNro",gxold:"O463GvlNro",gxvar:"A463GvlNro",ucs:[],op:[],ip:[36],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A463GvlNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z463GvlNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("GVLNRO",gx.O.A463GvlNro,0)},c2v:function(){gx.O.A463GvlNro=this.val()},val:function(){return gx.fn.getIntegerValue("GVLNRO",".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[41],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setControlValue("USBCOD",gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getControlValue("USBCOD")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVDATDEVO",gxz:"Z533MgvDatDevo",gxold:"O533MgvDatDevo",gxvar:"A533MgvDatDevo",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A533MgvDatDevo=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z533MgvDatDevo=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("MGVDATDEVO",gx.O.A533MgvDatDevo,0)},c2v:function(){gx.O.A533MgvDatDevo=this.val()},val:function(){return gx.fn.getControlValue("MGVDATDEVO")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVHORDEVO",gxz:"Z535MgvHorDevo",gxold:"O535MgvHorDevo",gxvar:"A535MgvHorDevo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A535MgvHorDevo=a
},v2z:function(a){gx.O.Z535MgvHorDevo=a},v2c:function(){gx.fn.setControlValue("MGVHORDEVO",gx.O.A535MgvHorDevo,0)},c2v:function(){gx.O.A535MgvHorDevo=this.val()},val:function(){return gx.fn.getControlValue("MGVHORDEVO")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVCODLIBE",gxz:"Z531MgvCodLibe",gxold:"O531MgvCodLibe",gxvar:"A531MgvCodLibe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A531MgvCodLibe=a
},v2z:function(a){gx.O.Z531MgvCodLibe=a},v2c:function(){gx.fn.setControlValue("MGVCODLIBE",gx.O.A531MgvCodLibe,0)},c2v:function(){gx.O.A531MgvCodLibe=this.val()},val:function(){return gx.fn.getControlValue("MGVCODLIBE")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVCODRECE",gxz:"Z532MgvCodRece",gxold:"O532MgvCodRece",gxvar:"A532MgvCodRece",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A532MgvCodRece=a
},v2z:function(a){gx.O.Z532MgvCodRece=a},v2c:function(){gx.fn.setControlValue("MGVCODRECE",gx.O.A532MgvCodRece,0)},c2v:function(){gx.O.A532MgvCodRece=this.val()},val:function(){return gx.fn.getControlValue("MGVCODRECE")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVINDDEVO",gxz:"Z537MgvIndDevo",gxold:"O537MgvIndDevo",gxvar:"A537MgvIndDevo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A537MgvIndDevo=a
},v2z:function(a){gx.O.Z537MgvIndDevo=a},v2c:function(){gx.fn.setControlValue("MGVINDDEVO",gx.O.A537MgvIndDevo,0)},c2v:function(){gx.O.A537MgvIndDevo=this.val()},val:function(){return gx.fn.getControlValue("MGVINDDEVO")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"MGVCAMPO1L",gxz:"Z530MgvCampo1L",gxold:"O530MgvCampo1L",gxvar:"A530MgvCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A530MgvCampo1L=a
},v2z:function(a){gx.O.Z530MgvCampo1L=a},v2c:function(){gx.fn.setControlValue("MGVCAMPO1L",gx.O.A530MgvCampo1L,0)},c2v:function(){gx.O.A530MgvCampo1L=this.val()},val:function(){return gx.fn.getControlValue("MGVCAMPO1L")},nac:function(){return false}};this.GXValidFnc[79]={fld:"PROMPT_463",grid:44};this.GXValidFnc[80]={fld:"PROMPT_787",grid:44};this.A538MgvNroSequ=0;this.Z538MgvNroSequ=0;this.O538MgvNroSequ=0;this.A534MgvDatReti=gx.date.nullDate();this.Z534MgvDatReti=gx.date.nullDate();this.O534MgvDatReti=gx.date.nullDate();
this.A536MgvHorReti="";this.Z536MgvHorReti="";this.O536MgvHorReti="";this.A463GvlNro=0;this.Z463GvlNro=0;this.O463GvlNro=0;this.A787UsbCod="";this.Z787UsbCod="";this.O787UsbCod="";this.A533MgvDatDevo=gx.date.nullDate();this.Z533MgvDatDevo=gx.date.nullDate();this.O533MgvDatDevo=gx.date.nullDate();this.A535MgvHorDevo="";this.Z535MgvHorDevo="";this.O535MgvHorDevo="";this.A531MgvCodLibe="";this.Z531MgvCodLibe="";this.O531MgvCodLibe="";this.A532MgvCodRece="";this.Z532MgvCodRece="";this.O532MgvCodRece="";
this.A537MgvIndDevo="";this.Z537MgvIndDevo="";this.O537MgvIndDevo="";this.A530MgvCampo1L="";this.Z530MgvCampo1L="";this.O530MgvCampo1L="";this.ServerEvents=["e121d44_client","e131d44_client"];this.setPrompt("PROMPT_463",[36]);this.setPrompt("PROMPT_787",[41]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt058.prototype=new gx.GxObject;gx.setParentObj(new tabt058());