gx.evt.autoSkip=false;function gx04f0(){this.ServerClass="Gx04F0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pRdoNroSequencia=gx.fn.getIntegerValue("vPRDONROSEQUENCIA",".")};this.e13f22_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14f21_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,43,47,48,49,50,51,52,53,56];
this.GXLastCtrlId=56;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04f0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1038,48,"RDONROSEQU","Número","","RdoNroSequ","int",0,"px",6,6,"right",null,[],1038,"RdoNroSequ",true,0,false,false);
this.Grid1Container.addComboBox(1039,49,"RDOTIPMOVI","Tipo","RdoTipMovi","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(787,50,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(1040,51,"RDODATMOVI","Data","","RdoDatMovi","date",0,"px",10,10,"right",null,[],1040,"RdoDatMovi",true,0,false,false);this.Grid1Container.addSingleLineEdit(1042,52,"RDOCAMPO1L","live","","RdoCampo1L","char",0,"px",20,20,"left",null,[],1042,"RdoCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1043,53,"RDOIND1","livre","","RdoInd1","char",0,"px",1,1,"left",null,[],1043,"RdoInd1",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKRDONROSEQUENCIA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCRDONROSEQUENCIA",gxz:"ZV6cRdoNroSequencia",gxold:"OV6cRdoNroSequencia",gxvar:"AV6cRdoNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cRdoNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cRdoNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRDONROSEQUENCIA",gx.O.AV6cRdoNroSequencia,0)},c2v:function(){gx.O.AV6cRdoNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCRDONROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKRDOTIPMOVIMENTO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRDOTIPMOVIMENTO",gxz:"ZV7cRdoTipMovimento",gxold:"OV7cRdoTipMovimento",gxvar:"AV7cRdoTipMovimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cRdoTipMovimento=a
},v2z:function(a){gx.O.ZV7cRdoTipMovimento=a},v2c:function(){gx.fn.setComboBoxValue("vCRDOTIPMOVIMENTO",gx.O.AV7cRdoTipMovimento)},c2v:function(){gx.O.AV7cRdoTipMovimento=this.val()},val:function(){return gx.fn.getControlValue("vCRDOTIPMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUSBCOD",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSBCOD",gxz:"ZV8cUsbCod",gxold:"OV8cUsbCod",gxvar:"AV8cUsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cUsbCod=a
},v2z:function(a){gx.O.ZV8cUsbCod=a},v2c:function(){gx.fn.setControlValue("vCUSBCOD",gx.O.AV8cUsbCod,0)},c2v:function(){gx.O.AV8cUsbCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSBCOD")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKRDODATMOVIMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRDODATMOVIMENTO",gxz:"ZV9cRdoDatMovimento",gxold:"OV9cRdoDatMovimento",gxvar:"AV9cRdoDatMovimento",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.AV9cRdoDatMovimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cRdoDatMovimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCRDODATMOVIMENTO",gx.O.AV9cRdoDatMovimento,0)},c2v:function(){gx.O.AV9cRdoDatMovimento=this.val()},val:function(){return gx.fn.getControlValue("vCRDODATMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKRDOCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRDOCAMPO1LIVRE",gxz:"ZV10cRdoCampo1Livre",gxold:"OV10cRdoCampo1Livre",gxvar:"AV10cRdoCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cRdoCampo1Livre=a
},v2z:function(a){gx.O.ZV10cRdoCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCRDOCAMPO1LIVRE",gx.O.AV10cRdoCampo1Livre,0)},c2v:function(){gx.O.AV10cRdoCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCRDOCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKRDOIND1",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRDOIND1",gxz:"ZV11cRdoInd1",gxold:"OV11cRdoInd1",gxvar:"AV11cRdoInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cRdoInd1=a
},v2z:function(a){gx.O.ZV11cRdoInd1=a},v2c:function(){gx.fn.setControlValue("vCRDOIND1",gx.O.AV11cRdoInd1,0)},c2v:function(){gx.O.AV11cRdoInd1=this.val()},val:function(){return gx.fn.getControlValue("vCRDOIND1")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RDONROSEQU",gxz:"Z1038RdoNroSequ",gxold:"O1038RdoNroSequ",gxvar:"A1038RdoNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1038RdoNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1038RdoNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RDONROSEQU",gx.fn.currentGridRowImpl(46),gx.O.A1038RdoNroSequ,0)},c2v:function(){gx.O.A1038RdoNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RDONROSEQU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDOTIPMOVI",gxz:"Z1039RdoTipMovi",gxold:"O1039RdoTipMovi",gxvar:"A1039RdoTipMovi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1039RdoTipMovi=a
},v2z:function(a){gx.O.Z1039RdoTipMovi=a},v2c:function(){gx.fn.setGridComboBoxValue("RDOTIPMOVI",gx.fn.currentGridRowImpl(46),gx.O.A1039RdoTipMovi)},c2v:function(){gx.O.A1039RdoTipMovi=this.val()},val:function(){return gx.fn.getGridControlValue("RDOTIPMOVI",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(46),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDODATMOVI",gxz:"Z1040RdoDatMovi",gxold:"O1040RdoDatMovi",gxvar:"A1040RdoDatMovi",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.A1040RdoDatMovi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1040RdoDatMovi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("RDODATMOVI",gx.fn.currentGridRowImpl(46),gx.O.A1040RdoDatMovi,0)},c2v:function(){gx.O.A1040RdoDatMovi=this.val()},val:function(){return gx.fn.getGridControlValue("RDODATMOVI",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDOCAMPO1L",gxz:"Z1042RdoCampo1L",gxold:"O1042RdoCampo1L",gxvar:"A1042RdoCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1042RdoCampo1L=a
},v2z:function(a){gx.O.Z1042RdoCampo1L=a},v2c:function(){gx.fn.setGridControlValue("RDOCAMPO1L",gx.fn.currentGridRowImpl(46),gx.O.A1042RdoCampo1L,0)},c2v:function(){gx.O.A1042RdoCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("RDOCAMPO1L",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDOIND1",gxz:"Z1043RdoInd1",gxold:"O1043RdoInd1",gxvar:"A1043RdoInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1043RdoInd1=a
},v2z:function(a){gx.O.Z1043RdoInd1=a},v2c:function(){gx.fn.setGridControlValue("RDOIND1",gx.fn.currentGridRowImpl(46),gx.O.A1043RdoInd1,0)},c2v:function(){gx.O.A1043RdoInd1=this.val()},val:function(){return gx.fn.getGridControlValue("RDOIND1",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE4",grid:0};this.AV6cRdoNroSequencia=0;this.ZV6cRdoNroSequencia=0;this.OV6cRdoNroSequencia=0;this.AV7cRdoTipMovimento="";this.ZV7cRdoTipMovimento="";this.OV7cRdoTipMovimento="";
this.AV8cUsbCod="";this.ZV8cUsbCod="";this.OV8cUsbCod="";this.AV9cRdoDatMovimento=gx.date.nullDate();this.ZV9cRdoDatMovimento=gx.date.nullDate();this.OV9cRdoDatMovimento=gx.date.nullDate();this.AV10cRdoCampo1Livre="";this.ZV10cRdoCampo1Livre="";this.OV10cRdoCampo1Livre="";this.AV11cRdoInd1="";this.ZV11cRdoInd1="";this.OV11cRdoInd1="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z1038RdoNroSequ=0;this.O1038RdoNroSequ=0;this.Z1039RdoTipMovi="";this.O1039RdoTipMovi="";this.Z787UsbCod="";this.O787UsbCod="";
this.Z1040RdoDatMovi=gx.date.nullDate();this.O1040RdoDatMovi=gx.date.nullDate();this.Z1042RdoCampo1L="";this.O1042RdoCampo1L="";this.Z1043RdoInd1="";this.O1043RdoInd1="";this.AV12pRdoNroSequencia=0;this.AV5LinkSelection="";this.A1038RdoNroSequ=0;this.A1039RdoTipMovi="";this.A787UsbCod="";this.A1040RdoDatMovi=gx.date.nullDate();this.A1042RdoCampo1L="";this.A1043RdoInd1="";this.ServerEvents=["e13f22_client","e14f21_client"];this.VarControlMap.AV12pRdoNroSequencia={id:"vPRDONROSEQUENCIA",grid:0,type:"int"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.SetStandaloneVars()}gx04f0.prototype=new gx.GxObject;gx.setParentObj(new gx04f0());