gx.evt.autoSkip=false;function tabt057(){this.ServerClass="TAbt057";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.addKeyListener("2",'"ZOOM"');this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Gvlnro=function(){gx.ajax.validSrvEvt("dyncall","valid_Gvlnro",["gx.O.A463GvlNro","gx.O.A462GvlIndAtiv","gx.O.A467GvlValUnit","gx.O.A466GvlTipUnid","gx.O.A461GvlDesNota","gx.O.A460GvlCampo1L","gx.O.A465GvlQtdUnid","gx.O.A464GvlQtdMini"],["A462GvlIndAtiv","A467GvlValUnit","A466GvlTipUnid","A461GvlDesNota","A460GvlCampo1L","A465GvlQtdUnid","A464GvlQtdMini","Gx_mode","Z463GvlNro","Z462GvlIndAtiv","Z467GvlValUnit","Z466GvlTipUnid","Z461GvlDesNota","Z460GvlCampo1L","Z465GvlQtdUnid","Z464GvlQtdMini",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e121c43_client=function(){this.clearMessages();this.refreshOutputs([])};this.e131c43_client=function(){this.executeServerEvent("ENTER",true)};this.e141c43_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];this.GXLastCtrlId=56;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: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:[20,56,51,46,41,36,31,26],ip:[56,51,46,41,36,31,26,20],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[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"GVLINDATIV",gxz:"Z462GvlIndAtiv",gxold:"O462GvlIndAtiv",gxvar:"A462GvlIndAtiv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A462GvlIndAtiv=a
},v2z:function(a){gx.O.Z462GvlIndAtiv=a},v2c:function(){gx.fn.setComboBoxValue("GVLINDATIV",gx.O.A462GvlIndAtiv)},c2v:function(){gx.O.A462GvlIndAtiv=this.val()},val:function(){return gx.fn.getControlValue("GVLINDATIV")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"decimal",len:10,dec:4,sign:false,pic:"ZZ,ZZ9.9999",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"GVLVALUNIT",gxz:"Z467GvlValUnit",gxold:"O467GvlValUnit",gxvar:"A467GvlValUnit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A467GvlValUnit=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z467GvlValUnit=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("GVLVALUNIT",gx.O.A467GvlValUnit,4,",")},c2v:function(){gx.O.A467GvlValUnit=this.val()},val:function(){return gx.fn.getDecimalValue("GVLVALUNIT",".",",")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"GVLTIPUNID",gxz:"Z466GvlTipUnid",gxold:"O466GvlTipUnid",gxvar:"A466GvlTipUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A466GvlTipUnid=a
},v2z:function(a){gx.O.Z466GvlTipUnid=a},v2c:function(){gx.fn.setComboBoxValue("GVLTIPUNID",gx.O.A466GvlTipUnid)},c2v:function(){gx.O.A466GvlTipUnid=this.val()},val:function(){return gx.fn.getControlValue("GVLTIPUNID")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"GVLDESNOTA",gxz:"Z461GvlDesNota",gxold:"O461GvlDesNota",gxvar:"A461GvlDesNota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A461GvlDesNota=a
},v2z:function(a){gx.O.Z461GvlDesNota=a},v2c:function(){gx.fn.setControlValue("GVLDESNOTA",gx.O.A461GvlDesNota,0)},c2v:function(){gx.O.A461GvlDesNota=this.val()},val:function(){return gx.fn.getControlValue("GVLDESNOTA")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"GVLCAMPO1L",gxz:"Z460GvlCampo1L",gxold:"O460GvlCampo1L",gxvar:"A460GvlCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A460GvlCampo1L=a
},v2z:function(a){gx.O.Z460GvlCampo1L=a},v2c:function(){gx.fn.setControlValue("GVLCAMPO1L",gx.O.A460GvlCampo1L,0)},c2v:function(){gx.O.A460GvlCampo1L=this.val()},val:function(){return gx.fn.getControlValue("GVLCAMPO1L")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"GVLQTDUNID",gxz:"Z465GvlQtdUnid",gxold:"O465GvlQtdUnid",gxvar:"A465GvlQtdUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A465GvlQtdUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z465GvlQtdUnid=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("GVLQTDUNID",gx.O.A465GvlQtdUnid,0)},c2v:function(){gx.O.A465GvlQtdUnid=this.val()},val:function(){return gx.fn.getIntegerValue("GVLQTDUNID",".")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"GVLQTDMINI",gxz:"Z464GvlQtdMini",gxold:"O464GvlQtdMini",gxvar:"A464GvlQtdMini",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A464GvlQtdMini=gx.num.intval(a)
},v2z:function(a){gx.O.Z464GvlQtdMini=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("GVLQTDMINI",gx.O.A464GvlQtdMini,0)},c2v:function(){gx.O.A464GvlQtdMini=this.val()},val:function(){return gx.fn.getIntegerValue("GVLQTDMINI",".")},nac:function(){return false}};this.A463GvlNro=0;this.Z463GvlNro=0;this.O463GvlNro=0;this.A462GvlIndAtiv="";this.Z462GvlIndAtiv="";this.O462GvlIndAtiv="";this.A467GvlValUnit=0;this.Z467GvlValUnit=0;this.O467GvlValUnit=0;this.A466GvlTipUnid="";this.Z466GvlTipUnid="";
this.O466GvlTipUnid="";this.A461GvlDesNota="";this.Z461GvlDesNota="";this.O461GvlDesNota="";this.A460GvlCampo1L="";this.Z460GvlCampo1L="";this.O460GvlCampo1L="";this.A465GvlQtdUnid=0;this.Z465GvlQtdUnid=0;this.O465GvlQtdUnid=0;this.A464GvlQtdMini=0;this.Z464GvlQtdMini=0;this.O464GvlQtdMini=0;this.AV7UsuCodCorr="";this.AV10UsuCodUnidDepositaria=0;this.AV11UsuTipAcesso="";this.AV8IndLiber="";this.Gx_BScreen=0;this.ServerEvents=["e131c43_client","e141c43_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];
this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt057.prototype=new gx.GxObject;gx.setParentObj(new tabt057());