gx.evt.autoSkip=false;function gx0221(){this.ServerClass="Gx0221";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7pPedNro=gx.fn.getIntegerValue("vPPEDNRO",".");this.AV8pSlcNro=gx.fn.getIntegerValue("vPSLCNRO",".")};this.e13ac2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ac1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,18,22,23,24,27];
this.GXLastCtrlId=27;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0221",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",22,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(819,23,"SLCNRO","Nro da solicitação","Selecionar","SlcNro","int",0,"px",6,6,"right",null,[],819,"SlcNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(627,24,"PEDNRO","Número do pedido","","PedNro","int",0,"px",6,6,"right",null,[],627,"PedNro",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:"TEXTBLOCKSLCNRO",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:"vCSLCNRO",gxz:"ZV6cSlcNro",gxold:"OV6cSlcNro",gxvar:"AV6cSlcNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cSlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cSlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSLCNRO",gx.O.AV6cSlcNro,0)},c2v:function(){gx.O.AV6cSlcNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCSLCNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"GROUP2",grid:0};this.GXValidFnc[18]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:21,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(21))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCNRO",gxz:"Z819SlcNro",gxold:"O819SlcNro",gxvar:"A819SlcNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A819SlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z819SlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNRO",gx.fn.currentGridRowImpl(21),gx.O.A819SlcNro,0)},c2v:function(){gx.O.A819SlcNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRO",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEDNRO",gxz:"Z627PedNro",gxold:"O627PedNro",gxvar:"A627PedNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A627PedNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z627PedNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEDNRO",gx.fn.currentGridRowImpl(21),gx.O.A627PedNro,0)},c2v:function(){gx.O.A627PedNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEDNRO",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TABLE4",grid:0};this.AV6cSlcNro=0;this.ZV6cSlcNro=0;this.OV6cSlcNro=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z819SlcNro=0;this.O819SlcNro=0;this.Z627PedNro=0;
this.O627PedNro=0;this.AV7pPedNro=0;this.AV8pSlcNro=0;this.AV5LinkSelection="";this.A819SlcNro=0;this.A627PedNro=0;this.ServerEvents=["e13ac2_client","e14ac1_client"];this.VarControlMap.AV7pPedNro={id:"vPPEDNRO",grid:0,type:"int"};this.VarControlMap.AV8pSlcNro={id:"vPSLCNRO",grid:0,type:"int"};this.VarControlMap.AV7pPedNro={id:"vPPEDNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar({rfrVar:"AV7pPedNro"});this.SetStandaloneVars()
}gx0221.prototype=new gx.GxObject;gx.setParentObj(new gx0221());