gx.evt.autoSkip=false;function gx04o0(){this.ServerClass="Gx04O0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pMbiNroSequencia=gx.fn.getIntegerValue("vPMBINROSEQUENCIA",".")};this.e11j72_client=function(){this.executeServerEvent("ENTER",true)};this.e14j71_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,10,13,16,18,21,23,26,28,31,33,36,38,41,43,46,47,48,49,50,51,52];
this.GXLastCtrlId=52;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",45,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04o0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(1116,46,"MBINROSEQU","Nro. sequência","","MbiNroSequ","int",0,"px",8,8,"right",null,[],1116,"MbiNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1117,47,"MBINROTOMB","Tombo","Selecionar","MbiNroTomb","int",0,"px",9,9,"right",null,[],1117,"MbiNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1118,48,"MBICODORIG","Und. origem","","MbiCodOrig","int",0,"px",3,3,"right",null,[],1118,"MbiCodOrig",true,0,false,false);this.Grid1Container.addSingleLineEdit(1119,49,"MBICODDEST","Und. destino","","MbiCodDest","int",0,"px",3,3,"right",null,[],1119,"MbiCodDest",true,0,false,false);this.Grid1Container.addSingleLineEdit(1120,50,"MBICODOPER","Operador","","MbiCodOper","char",0,"px",6,6,"left",null,[],1120,"MbiCodOper",true,0,false,false);this.Grid1Container.addComboBox(1121,51,"MBITIPMOVI","Tipo","MbiTipMovi","char",null,0,true,false,0,"px");
this.Grid1Container.addSingleLineEdit(1122,52,"MBIDTHMOVI","Data","","MbiDthMovi","dtime",0,"px",14,8,"right",null,[],1122,"MbiDthMovi",true,5,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCKMBINROTOMBO",format:0,grid:0};this.GXValidFnc[18]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCMBINROTOMBO",gxz:"ZV7cMbiNroTombo",gxold:"OV7cMbiNroTombo",gxvar:"AV7cMbiNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cMbiNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cMbiNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMBINROTOMBO",gx.O.AV7cMbiNroTombo,0)},c2v:function(){gx.O.AV7cMbiNroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vCMBINROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[21]={fld:"TEXTBLOCKMBICODORIGEMUNIDADEDEPOSITARIA",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCMBICODORIGEMUNIDADEDEPOSITARIA",gxz:"ZV8cMbiCodOrigemUnidadeDepositaria",gxold:"OV8cMbiCodOrigemUnidadeDepositaria",gxvar:"AV8cMbiCodOrigemUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cMbiCodOrigemUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cMbiCodOrigemUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMBICODORIGEMUNIDADEDEPOSITARIA",gx.O.AV8cMbiCodOrigemUnidadeDepositaria,0)},c2v:function(){gx.O.AV8cMbiCodOrigemUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vCMBICODORIGEMUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCKMBICODDESTINOUNIDADEDEPOSITARIA",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCMBICODDESTINOUNIDADEDEPOSITARIA",gxz:"ZV9cMbiCodDestinoUnidadeDepositaria",gxold:"OV9cMbiCodDestinoUnidadeDepositaria",gxvar:"AV9cMbiCodDestinoUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cMbiCodDestinoUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cMbiCodDestinoUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMBICODDESTINOUNIDADEDEPOSITARIA",gx.O.AV9cMbiCodDestinoUnidadeDepositaria,0)},c2v:function(){gx.O.AV9cMbiCodDestinoUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vCMBICODDESTINOUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCKMBICODOPERADOR",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMBICODOPERADOR",gxz:"ZV10cMbiCodOperador",gxold:"OV10cMbiCodOperador",gxvar:"AV10cMbiCodOperador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cMbiCodOperador=a
},v2z:function(a){gx.O.ZV10cMbiCodOperador=a},v2c:function(){gx.fn.setControlValue("vCMBICODOPERADOR",gx.O.AV10cMbiCodOperador,0)},c2v:function(){gx.O.AV10cMbiCodOperador=this.val()},val:function(){return gx.fn.getControlValue("vCMBICODOPERADOR")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCKMBITIPMOVIMENTO",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMBITIPMOVIMENTO",gxz:"ZV11cMbiTipMovimento",gxold:"OV11cMbiTipMovimento",gxvar:"AV11cMbiTipMovimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV11cMbiTipMovimento=a
},v2z:function(a){gx.O.ZV11cMbiTipMovimento=a},v2c:function(){gx.fn.setComboBoxValue("vCMBITIPMOVIMENTO",gx.O.AV11cMbiTipMovimento)},c2v:function(){gx.O.AV11cMbiTipMovimento=this.val()},val:function(){return gx.fn.getControlValue("vCMBITIPMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCKMBIDTHMOVIMENTO",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"dtime",len:8,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMBIDTHMOVIMENTO",gxz:"ZV12cMbiDthMovimento",gxold:"OV12cMbiDthMovimento",gxvar:"AV12cMbiDthMovimento",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cMbiDthMovimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV12cMbiDthMovimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCMBIDTHMOVIMENTO",gx.O.AV12cMbiDthMovimento,0)},c2v:function(){gx.O.AV12cMbiDthMovimento=this.val()},val:function(){return gx.fn.getControlValue("vCMBIDTHMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MBINROSEQU",gxz:"Z1116MbiNroSequ",gxold:"O1116MbiNroSequ",gxvar:"A1116MbiNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1116MbiNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1116MbiNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MBINROSEQU",gx.fn.currentGridRowImpl(45),gx.O.A1116MbiNroSequ,0)},c2v:function(){gx.O.A1116MbiNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("MBINROSEQU",gx.fn.currentGridRowImpl(45),".")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MBINROTOMB",gxz:"Z1117MbiNroTomb",gxold:"O1117MbiNroTomb",gxvar:"A1117MbiNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1117MbiNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z1117MbiNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MBINROTOMB",gx.fn.currentGridRowImpl(45),gx.O.A1117MbiNroTomb,0)},c2v:function(){gx.O.A1117MbiNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("MBINROTOMB",gx.fn.currentGridRowImpl(45),".")},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MBICODORIG",gxz:"Z1118MbiCodOrig",gxold:"O1118MbiCodOrig",gxvar:"A1118MbiCodOrig",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1118MbiCodOrig=gx.num.intval(a)
},v2z:function(a){gx.O.Z1118MbiCodOrig=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MBICODORIG",gx.fn.currentGridRowImpl(45),gx.O.A1118MbiCodOrig,0)},c2v:function(){gx.O.A1118MbiCodOrig=this.val()},val:function(){return gx.fn.getGridIntegerValue("MBICODORIG",gx.fn.currentGridRowImpl(45),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MBICODDEST",gxz:"Z1119MbiCodDest",gxold:"O1119MbiCodDest",gxvar:"A1119MbiCodDest",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1119MbiCodDest=gx.num.intval(a)
},v2z:function(a){gx.O.Z1119MbiCodDest=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MBICODDEST",gx.fn.currentGridRowImpl(45),gx.O.A1119MbiCodDest,0)},c2v:function(){gx.O.A1119MbiCodDest=this.val()},val:function(){return gx.fn.getGridIntegerValue("MBICODDEST",gx.fn.currentGridRowImpl(45),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MBICODOPER",gxz:"Z1120MbiCodOper",gxold:"O1120MbiCodOper",gxvar:"A1120MbiCodOper",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1120MbiCodOper=a
},v2z:function(a){gx.O.Z1120MbiCodOper=a},v2c:function(){gx.fn.setGridControlValue("MBICODOPER",gx.fn.currentGridRowImpl(45),gx.O.A1120MbiCodOper,0)},c2v:function(){gx.O.A1120MbiCodOper=this.val()},val:function(){return gx.fn.getGridControlValue("MBICODOPER",gx.fn.currentGridRowImpl(45))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MBITIPMOVI",gxz:"Z1121MbiTipMovi",gxold:"O1121MbiTipMovi",gxvar:"A1121MbiTipMovi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1121MbiTipMovi=a
},v2z:function(a){gx.O.Z1121MbiTipMovi=a},v2c:function(){gx.fn.setGridComboBoxValue("MBITIPMOVI",gx.fn.currentGridRowImpl(45),gx.O.A1121MbiTipMovi)},c2v:function(){gx.O.A1121MbiTipMovi=this.val()},val:function(){return gx.fn.getGridControlValue("MBITIPMOVI",gx.fn.currentGridRowImpl(45))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"dtime",len:8,dec:5,sign:false,ro:1,grid:45,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MBIDTHMOVI",gxz:"Z1122MbiDthMovi",gxold:"O1122MbiDthMovi",gxvar:"A1122MbiDthMovi",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1122MbiDthMovi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1122MbiDthMovi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("MBIDTHMOVI",gx.fn.currentGridRowImpl(45),gx.O.A1122MbiDthMovi,0)},c2v:function(){gx.O.A1122MbiDthMovi=this.val()},val:function(){return gx.fn.getGridControlValue("MBIDTHMOVI",gx.fn.currentGridRowImpl(45))},nac:function(){return false}};this.AV7cMbiNroTombo=0;this.ZV7cMbiNroTombo=0;this.OV7cMbiNroTombo=0;this.AV8cMbiCodOrigemUnidadeDepositaria=0;this.ZV8cMbiCodOrigemUnidadeDepositaria=0;this.OV8cMbiCodOrigemUnidadeDepositaria=0;
this.AV9cMbiCodDestinoUnidadeDepositaria=0;this.ZV9cMbiCodDestinoUnidadeDepositaria=0;this.OV9cMbiCodDestinoUnidadeDepositaria=0;this.AV10cMbiCodOperador="";this.ZV10cMbiCodOperador="";this.OV10cMbiCodOperador="";this.AV11cMbiTipMovimento="";this.ZV11cMbiTipMovimento="";this.OV11cMbiTipMovimento="";this.AV12cMbiDthMovimento=gx.date.nullDate();this.ZV12cMbiDthMovimento=gx.date.nullDate();this.OV12cMbiDthMovimento=gx.date.nullDate();this.Z1116MbiNroSequ=0;this.O1116MbiNroSequ=0;this.Z1117MbiNroTomb=0;
this.O1117MbiNroTomb=0;this.Z1118MbiCodOrig=0;this.O1118MbiCodOrig=0;this.Z1119MbiCodDest=0;this.O1119MbiCodDest=0;this.Z1120MbiCodOper="";this.O1120MbiCodOper="";this.Z1121MbiTipMovi="";this.O1121MbiTipMovi="";this.Z1122MbiDthMovi=gx.date.nullDate();this.O1122MbiDthMovi=gx.date.nullDate();this.AV13pMbiNroSequencia=0;this.A1116MbiNroSequ=0;this.A1117MbiNroTomb=0;this.A1118MbiCodOrig=0;this.A1119MbiCodDest=0;this.A1120MbiCodOper="";this.A1121MbiTipMovi="";this.A1122MbiDthMovi=gx.date.nullDate();this.ServerEvents=["e11j72_client","e14j71_client"];
this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV13pMbiNroSequencia={id:"vPMBINROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[18]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[23]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[28]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[33]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[38]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[43]);this.SetStandaloneVars()}gx04o0.prototype=new gx.GxObject;
gx.setParentObj(new gx04o0());