gx.evt.autoSkip=false;function gx00n1(){this.ServerClass="Gx00N1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pInvDat=gx.fn.getDateValue("vPINVDAT");this.AV9pInvNroTombo=gx.fn.getIntegerValue("vPINVNROTOMBO",".")};this.e13az2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14az1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,33];
this.GXLastCtrlId=33;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00n1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(493,28,"INVNROTOMB","Tombo","","InvNroTomb","int",0,"px",9,9,"right",null,[],493,"InvNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit(494,29,"INVVALCAMP","Campo livre","Selecionar","InvValCamp","char",0,"px",6,6,"left",null,[],494,"InvValCamp",true,0,false,false);this.Grid1Container.addSingleLineEdit(492,30,"INVDAT","Data do inventário","","InvDat","date",0,"px",10,10,"right",null,[],492,"InvDat",false,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:"TEXTBLOCKINVNROTOMBO",format:0,grid:0};
this.GXValidFnc[14]={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:"vCINVNROTOMBO",gxz:"ZV6cInvNroTombo",gxold:"OV6cInvNroTombo",gxvar:"AV6cInvNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cInvNroTombo=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cInvNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCINVNROTOMBO",gx.O.AV6cInvNroTombo,0)},c2v:function(){gx.O.AV6cInvNroTombo=this.val()
},val:function(){return gx.fn.getIntegerValue("vCINVNROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKINVVALCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCINVVALCAMPO1LIVRE",gxz:"ZV7cInvValCampo1Livre",gxold:"OV7cInvValCampo1Livre",gxvar:"AV7cInvValCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cInvValCampo1Livre=a},v2z:function(a){gx.O.ZV7cInvValCampo1Livre=a
},v2c:function(){gx.fn.setControlValue("vCINVVALCAMPO1LIVRE",gx.O.AV7cInvValCampo1Livre,0)},c2v:function(){gx.O.AV7cInvValCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCINVVALCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"INVNROTOMB",gxz:"Z493InvNroTomb",gxold:"O493InvNroTomb",gxvar:"A493InvNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A493InvNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z493InvNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("INVNROTOMB",gx.fn.currentGridRowImpl(26),gx.O.A493InvNroTomb,0)},c2v:function(){gx.O.A493InvNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("INVNROTOMB",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"INVVALCAMP",gxz:"Z494InvValCamp",gxold:"O494InvValCamp",gxvar:"A494InvValCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A494InvValCamp=a
},v2z:function(a){gx.O.Z494InvValCamp=a},v2c:function(){gx.fn.setGridControlValue("INVVALCAMP",gx.fn.currentGridRowImpl(26),gx.O.A494InvValCamp,0)},c2v:function(){gx.O.A494InvValCamp=this.val()},val:function(){return gx.fn.getGridControlValue("INVVALCAMP",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"INVDAT",gxz:"Z492InvDat",gxold:"O492InvDat",gxvar:"A492InvDat",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.A492InvDat=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z492InvDat=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("INVDAT",gx.fn.currentGridRowImpl(26),gx.O.A492InvDat,0)},c2v:function(){gx.O.A492InvDat=this.val()},val:function(){return gx.fn.getGridControlValue("INVDAT",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cInvNroTombo=0;this.ZV6cInvNroTombo=0;this.OV6cInvNroTombo=0;this.AV7cInvValCampo1Livre="";this.ZV7cInvValCampo1Livre="";this.OV7cInvValCampo1Livre="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z493InvNroTomb=0;this.O493InvNroTomb=0;this.Z494InvValCamp="";this.O494InvValCamp="";this.Z492InvDat=gx.date.nullDate();this.O492InvDat=gx.date.nullDate();this.AV8pInvDat=gx.date.nullDate();this.AV9pInvNroTombo=0;this.AV5LinkSelection="";this.A493InvNroTomb=0;this.A494InvValCamp="";this.A492InvDat=gx.date.nullDate();this.ServerEvents=["e13az2_client","e14az1_client"];this.VarControlMap.AV8pInvDat={id:"vPINVDAT",grid:0,type:"date"};this.VarControlMap.AV9pInvNroTombo={id:"vPINVNROTOMBO",grid:0,type:"int"};
this.VarControlMap.AV8pInvDat={id:"vPINVDAT",grid:0,type:"date"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pInvDat"});this.SetStandaloneVars()}gx00n1.prototype=new gx.GxObject;gx.setParentObj(new gx00n1());