/*
               File: Reviews
        Description: Reviews
             Author: GeneXus Java Generator version 10_1_3-34783
       Generated on: September 1, 2010 18:40:34.85
       Program type: Callable routine
          Main DBMS: mysql
*/
gx.evt.autoSkip = false;
function reviews(CmpContext) {
   this.ServerClass =  "Reviews" ;
   this.PackageName =  "" ;
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.ReadonlyForm = true;
   this.hasEnterEvent = false;
   this.autoRefresh = true;
   this.SetStandaloneVars=function()
   {
   };
   this.e131t2_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
   };
   this.e141t2_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
   };
   this.GXValidFnc = [];
   this.GXCtrlIds=[18,19,20];
   this.GXLastCtrlId =20;
   this.TestContainer = new gx.grid.grid(this, 2,"WbpLvl2",17,"Test","Test","TestContainer",this.CmpContext,this.IsMasterPage,"reviews",[],false,1,false,true,5,true,false,false,"",0,"px","New row",true,false,false,null,null,false,"");
   this.TestContainer.addSingleLineEdit(84,18,"TSTDAT","Date","","TstDat","dtime",0,"px",19,10,"right",null,[],84,"TstDat",true,5,false,false);
   this.TestContainer.addSingleLineEdit(85,19,"TSTUSRNIC","User","","TstUsrNic","char",0,"px",12,12,"left",null,[],85,"TstUsrNic",true,0,false,false);
   this.TestContainer.addSingleLineEdit(135,20,"TSTRESNAM","Review","","TstResNam","char",0,"px",100,100,"left",null,[],135,"TstResNam",true,0,false,false);
   this.setGrid(this.TestContainer);
   this.GXValidFnc[18]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:17,gxgrid:this.TestContainer,fnc:null,isvalid:null,fld:"TSTDAT",gxz:"Z84TstDat",gxold:"O84TstDat",gxvar:"A84TstDat",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A84TstDat=gx.fn.toDatetimeValue(Value)},v2z:function(Value){gx.O.Z84TstDat=gx.fn.toDatetimeValue(Value)},v2c:function(){gx.fn.setGridControlValue("TSTDAT",gx.fn.currentGridRowImpl(17),gx.O.A84TstDat,0)},c2v:function(){gx.O.A84TstDat=this.val()},val:function(){return gx.fn.getGridControlValue("TSTDAT",gx.fn.currentGridRowImpl(17))},nac:function(){return  false }};
   this.GXValidFnc[19]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:17,gxgrid:this.TestContainer,fnc:null,isvalid:null,fld:"TSTUSRNIC",gxz:"Z85TstUsrNic",gxold:"O85TstUsrNic",gxvar:"A85TstUsrNic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A85TstUsrNic=Value},v2z:function(Value){gx.O.Z85TstUsrNic=Value},v2c:function(){gx.fn.setGridControlValue("TSTUSRNIC",gx.fn.currentGridRowImpl(17),gx.O.A85TstUsrNic,0)},c2v:function(){gx.O.A85TstUsrNic=this.val()},val:function(){return gx.fn.getGridControlValue("TSTUSRNIC",gx.fn.currentGridRowImpl(17))},nac:function(){return  false }};
   this.GXValidFnc[20]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:17,gxgrid:this.TestContainer,fnc:null,isvalid:null,fld:"TSTRESNAM",gxz:"Z135TstResNam",gxold:"O135TstResNam",gxvar:"A135TstResNam",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A135TstResNam=Value},v2z:function(Value){gx.O.Z135TstResNam=Value},v2c:function(){gx.fn.setGridControlValue("TSTRESNAM",gx.fn.currentGridRowImpl(17),gx.O.A135TstResNam,0)},c2v:function(){gx.O.A135TstResNam=this.val()},val:function(){return gx.fn.getGridControlValue("TSTRESNAM",gx.fn.currentGridRowImpl(17))},nac:function(){return  false }};
   this.Z84TstDat = gx.date.nullDate() ;
   this.O84TstDat = gx.date.nullDate() ;
   this.Z85TstUsrNic = "" ;
   this.O85TstUsrNic = "" ;
   this.Z135TstResNam = "" ;
   this.O135TstResNam = "" ;
   this.A8ProCod = 0 ;
   this.A9VerCod = 0 ;
   this.A86TstUsrCod = 0 ;
   this.A134TstResCod = 0 ;
   this.A84TstDat = gx.date.nullDate() ;
   this.A85TstUsrNic = "" ;
   this.A135TstResNam = "" ;
   this.ServerEvents = ["e131t2_client" ,"e141t2_client"];
   this.VarControlMap["A8ProCod"] = {id:"PROCOD",grid:0,type:"int"};
   this.VarControlMap["A9VerCod"] = {id:"VERCOD",grid:0,type:"int"};
   this.VarControlMap["A86TstUsrCod"] = {id:"TSTUSRCOD",grid:0,type:"int"};
   this.TestContainer.addRefreshingVar({rfrVar:"A8ProCod"});
   this.TestContainer.addRefreshingVar({rfrVar:"A9VerCod"});
   this.TestContainer.addRefreshingVar({rfrVar:"A86TstUsrCod"});
   this.SetStandaloneVars( );
}
