gx.evt.autoSkip=false;function top100(){this.setObjectType("web");this.hasEnterEvent=false;this.addKeyListener("5",'"RFR"');this.autoRefresh=true;this.SetStandaloneVars=function(){this.A241recdat=gx.fn.getDateValue("RECDATACAS")};this.Valid_Reccod=function(){try{if(gx.fn.currentGridRowImpl(18)===0){return true}var a=gx.util.balloon.getNew("RECCOD",gx.fn.currentGridRowImpl(18));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Reccod=function(){try{if(gx.fn.currentGridRowImpl(18)===0){return true
}var a=gx.util.balloon.getNew("RECCOD",gx.fn.currentGridRowImpl(18));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e16362_client=function(){this.executeServerEvent("ENTER",true,arguments[0]);this.refreshServerOutputs([])};this.e17362_client=function(){this.executeServerEvent("CANCEL",true,arguments[0]);this.refreshServerOutputs([])};this.GXValidFnc=[];this.GXCtrlIds=[12,17,21,23,24];this.GXLastCtrlId=24;this.Grid2Container=new gx.grid.grid(this,6,"WbpLvl6",18,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"top100",[],true,1,true,true,0,false,false,false,"",100,"%","Novo registro",false,false,false);
this.Grid2Container.startRow("","","","","","");this.Grid2Container.startCell("","","","","","","","","","");this.Grid2Container.addSingleLineEdit(236,21,"RECCOD","","","reccod","int",4,"chr",4,4,"right",null,[],236,"reccod",true,0,false,false);this.Grid2Container.addHtmlCode("&nbsp;&nbsp; ");this.Grid2Container.addBitmap("Image1","IMAGE1",22,12,"px",11,"px",null,"");this.Grid2Container.addHtmlCode("&nbsp;");this.Grid2Container.addSingleLineEdit(155,23,"MUSART","","","musart","char",80,"chr",100,100,"right",null,[],155,"musart",true,0,false,false);
this.Grid2Container.addHtmlCode("&nbsp;- ");this.Grid2Container.addSingleLineEdit(157,24,"MUSTEM","","","mustem","char",80,"chr",100,100,"right",null,[],157,"mustem",true,0,false,false);this.Grid2Container.endCell();this.Grid2Container.endRow();this.Grid3Container=new gx.grid.grid(this,4,"WbpLvl4",13,"Grid3","Grid3","Grid3Container",this.CmpContext,this.IsMasterPage,"top100",[],true,1,true,true,0,false,false,false,"",100,"%","Novo registro",false,false,false);this.Grid3Container.startRow("","","","","","");
this.Grid3Container.startCell("","","","","","","","","","");this.Grid3Container.addBitmap("Image3","IMAGE3",16,0,"px",0,"px",null,"");this.Grid3Container.addHtmlCode("&nbsp;");this.Grid3Container.addSingleLineEdit(91,17,"ESTILODES","","","Estilodes","char",50,"chr",50,50,"right",null,[],91,"Estilodes",true,0,false,false);this.Grid3Container.addGrid(this.Grid2Container);this.Grid3Container.endCell();this.Grid3Container.endRow();this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",9,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"top100",[],true,1,true,true,3,true,false,false,"",100,"%","Novo registro",true,false,false);
this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","top","","","","","","","");this.Grid1Container.addHtmlCode('<P align="left">');this.Grid1Container.addSingleLineEdit(24,12,"CLINOMNOV","","","clinomnov","char",50,"chr",50,50,"right",null,[],24,"clinomnov",true,0,false,false);this.Grid1Container.addHtmlCode("</P>");this.Grid1Container.addGrid(this.Grid3Container);this.Grid1Container.endCell();this.Grid1Container.endRow();this.setGrid(this.Grid1Container);this.GXValidFnc[12]={lvl:2,type:"char",len:50,dec:0,ro:1,grid:9,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CLINOMNOV",gxz:"Z24clinomn",gxold:"O24clinomn",gxvar:"A24clinomn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A24clinomn=a
},v2z:function(a){gx.O.Z24clinomn=a},v2c:function(){gx.fn.setGridControlValue("CLINOMNOV",gx.fn.currentGridRowImpl(9),gx.O.A24clinomn,0)},c2v:function(){gx.O.A24clinomn=this.val()},val:function(){return gx.fn.getGridControlValue("CLINOMNOV",gx.fn.currentGridRowImpl(9))},nac:function(){return false}};this.GXValidFnc[17]={lvl:4,type:"char",len:50,dec:0,ro:1,grid:13,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"ESTILODES",gxz:"Z91Estilod",gxold:"O91Estilod",gxvar:"A91Estilod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A91Estilod=a
},v2z:function(a){gx.O.Z91Estilod=a},v2c:function(){gx.fn.setGridControlValue("ESTILODES",gx.fn.currentGridRowImpl(13),gx.O.A91Estilod,0)},c2v:function(){gx.O.A91Estilod=this.val()},val:function(){return gx.fn.getGridControlValue("ESTILODES",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[21]={lvl:6,type:"int",len:4,dec:0,pic:"ZZZ9",ro:1,grid:18,gxgrid:this.Grid2Container,fnc:this.Valid_Reccod,isvalid:null,rgrid:[this.Grid3Container],fld:"RECCOD",gxz:"Z236reccod",gxold:"O236reccod",gxvar:"A236reccod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A236reccod=gx.num.intval(a)
},v2z:function(a){gx.O.Z236reccod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RECCOD",gx.fn.currentGridRowImpl(18),gx.O.A236reccod,0)},c2v:function(){gx.O.A236reccod=this.val()},val:function(){return gx.fn.getGridIntegerValue("RECCOD",gx.fn.currentGridRowImpl(18),".")},nac:function(){return false}};this.GXValidFnc[23]={lvl:6,type:"char",len:100,dec:0,ro:1,grid:18,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"MUSART",gxz:"Z155musart",gxold:"O155musart",gxvar:"A155musart",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A155musart=a
},v2z:function(a){gx.O.Z155musart=a},v2c:function(){gx.fn.setGridControlValue("MUSART",gx.fn.currentGridRowImpl(18),gx.O.A155musart,0)},c2v:function(){gx.O.A155musart=this.val()},val:function(){return gx.fn.getGridControlValue("MUSART",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[24]={lvl:6,type:"char",len:100,dec:0,ro:1,grid:18,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"MUSTEM",gxz:"Z157mustem",gxold:"O157mustem",gxvar:"A157mustem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A157mustem=a
},v2z:function(a){gx.O.Z157mustem=a},v2c:function(){gx.fn.setGridControlValue("MUSTEM",gx.fn.currentGridRowImpl(18),gx.O.A157mustem,0)},c2v:function(){gx.O.A157mustem=this.val()},val:function(){return gx.fn.getGridControlValue("MUSTEM",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.Z24clinomn="";this.O24clinomn="";this.Z91Estilod="";this.O91Estilod="";this.Z236reccod=0;this.O236reccod=0;this.Z155musart="";this.O155musart="";this.Z157mustem="";this.O157mustem="";this.A236reccod=0;
this.A260ressts=0;this.A241recdat=gx.date.nullDate();this.A24clinomn="";this.A90Estiloc=0;this.A91Estilod="";this.A157mustem="";this.A155musart="";this.A156muscod=0;this.VarControlMap.A241recdat={id:"RECDATACAS",type:"date"};this.VarControlMap.A90Estiloc={id:"ESTILOCOD",type:"int"};this.Grid2Container.addRefreshingVar({rfrVar:"A90Estiloc"});this.SetStandaloneVars();this.ServerClass="top100"}top100.prototype=new gx.GxObject;gx.setParentObj(new top100());