gx.evt.autoSkip=false;function gx0200(){this.ServerClass="Gx0200";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pSlcNro=gx.fn.getIntegerValue("vPSLCNRO",".")};this.e13aa2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14aa1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,60,61,64];
this.GXLastCtrlId=64;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0200",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(819,53,"SLCNRO","Nro da solicitação","","SlcNro","int",0,"px",6,6,"right",null,[],819,"SlcNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(433,54,"FORCOD","Código","","ForCod","int",0,"px",6,6,"right",null,[],433,"ForCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(808,55,"SLCDATSOLI","Data da solicítação","Selecionar","SlcDatSoli","date",0,"px",10,10,"right",null,[],808,"SlcDatSoli",true,0,false,false);this.Grid1Container.addSingleLineEdit(806,56,"SLCDATPRER","Previsão de recebimento","","SlcDatPreR","date",0,"px",10,10,"right",null,[],806,"SlcDatPreR",true,0,false,false);this.Grid1Container.addSingleLineEdit(803,57,"SLCCODASSU","Codigo do assunto","","SlcCodAssu","char",0,"px",25,25,"left",null,[],803,"SlcCodAssu",true,0,false,false);
this.Grid1Container.addSingleLineEdit(804,58,"SLCCODAUTO","Código do autor","","SlcCodAuto","char",0,"px",5,5,"left",null,[],804,"SlcCodAuto",true,0,false,false);this.Grid1Container.addSingleLineEdit(334,59,"EDINRO","Editora","","EdiNro","int",0,"px",5,5,"right",null,[],334,"EdiNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(480,60,"IDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],480,"IdiCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(863,61,"TIDCOD","Código","","TidCod","char",0,"px",3,3,"left",null,[],863,"TidCod",true,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:"TEXTBLOCKFORCOD",format:0,grid:0};this.GXValidFnc[19]={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:"vCFORCOD",gxz:"ZV7cForCod",gxold:"OV7cForCod",gxvar:"AV7cForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cForCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCFORCOD",gx.O.AV7cForCod,0)},c2v:function(){gx.O.AV7cForCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCFORCOD",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKSLCDATSOLICITACAO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLCDATSOLICITACAO",gxz:"ZV8cSlcDatSolicitacao",gxold:"OV8cSlcDatSolicitacao",gxvar:"AV8cSlcDatSolicitacao",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.AV8cSlcDatSolicitacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV8cSlcDatSolicitacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCSLCDATSOLICITACAO",gx.O.AV8cSlcDatSolicitacao,0)},c2v:function(){gx.O.AV8cSlcDatSolicitacao=this.val()},val:function(){return gx.fn.getControlValue("vCSLCDATSOLICITACAO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKSLCDATPRERECEBIMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLCDATPRERECEBIMENTO",gxz:"ZV9cSlcDatPreRecebimento",gxold:"OV9cSlcDatPreRecebimento",gxvar:"AV9cSlcDatPreRecebimento",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.AV9cSlcDatPreRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cSlcDatPreRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCSLCDATPRERECEBIMENTO",gx.O.AV9cSlcDatPreRecebimento,0)},c2v:function(){gx.O.AV9cSlcDatPreRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vCSLCDATPRERECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKSLCCODASSUNTO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLCCODASSUNTO",gxz:"ZV10cSlcCodAssunto",gxold:"OV10cSlcCodAssunto",gxvar:"AV10cSlcCodAssunto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cSlcCodAssunto=a
},v2z:function(a){gx.O.ZV10cSlcCodAssunto=a},v2c:function(){gx.fn.setControlValue("vCSLCCODASSUNTO",gx.O.AV10cSlcCodAssunto,0)},c2v:function(){gx.O.AV10cSlcCodAssunto=this.val()},val:function(){return gx.fn.getControlValue("vCSLCCODASSUNTO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKSLCCODAUTOR",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLCCODAUTOR",gxz:"ZV11cSlcCodAutor",gxold:"OV11cSlcCodAutor",gxvar:"AV11cSlcCodAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cSlcCodAutor=a
},v2z:function(a){gx.O.ZV11cSlcCodAutor=a},v2c:function(){gx.fn.setControlValue("vCSLCCODAUTOR",gx.O.AV11cSlcCodAutor,0)},c2v:function(){gx.O.AV11cSlcCodAutor=this.val()},val:function(){return gx.fn.getControlValue("vCSLCCODAUTOR")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKEDINRO",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEDINRO",gxz:"ZV12cEdiNro",gxold:"OV12cEdiNro",gxvar:"AV12cEdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cEdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV12cEdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEDINRO",gx.O.AV12cEdiNro,0)},c2v:function(){gx.O.AV12cEdiNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCEDINRO",".")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,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(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:51,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(51),gx.O.A819SlcNro,0)},c2v:function(){gx.O.A819SlcNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A433ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z433ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FORCOD",gx.fn.currentGridRowImpl(51),gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FORCOD",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATSOLI",gxz:"Z808SlcDatSoli",gxold:"O808SlcDatSoli",gxvar:"A808SlcDatSoli",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.A808SlcDatSoli=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z808SlcDatSoli=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(51),gx.O.A808SlcDatSoli,0)},c2v:function(){gx.O.A808SlcDatSoli=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATPRER",gxz:"Z806SlcDatPreR",gxold:"O806SlcDatPreR",gxvar:"A806SlcDatPreR",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.A806SlcDatPreR=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z806SlcDatPreR=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(51),gx.O.A806SlcDatPreR,0)},c2v:function(){gx.O.A806SlcDatPreR=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCCODASSU",gxz:"Z803SlcCodAssu",gxold:"O803SlcCodAssu",gxvar:"A803SlcCodAssu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A803SlcCodAssu=a
},v2z:function(a){gx.O.Z803SlcCodAssu=a},v2c:function(){gx.fn.setGridControlValue("SLCCODASSU",gx.fn.currentGridRowImpl(51),gx.O.A803SlcCodAssu,0)},c2v:function(){gx.O.A803SlcCodAssu=this.val()},val:function(){return gx.fn.getGridControlValue("SLCCODASSU",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCCODAUTO",gxz:"Z804SlcCodAuto",gxold:"O804SlcCodAuto",gxvar:"A804SlcCodAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A804SlcCodAuto=a
},v2z:function(a){gx.O.Z804SlcCodAuto=a},v2c:function(){gx.fn.setGridControlValue("SLCCODAUTO",gx.fn.currentGridRowImpl(51),gx.O.A804SlcCodAuto,0)},c2v:function(){gx.O.A804SlcCodAuto=this.val()},val:function(){return gx.fn.getGridControlValue("SLCCODAUTO",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EDINRO",gxz:"Z334EdiNro",gxold:"O334EdiNro",gxvar:"A334EdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A334EdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z334EdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EDINRO",gx.fn.currentGridRowImpl(51),gx.O.A334EdiNro,0)},c2v:function(){gx.O.A334EdiNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("EDINRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[60]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDICOD",gxz:"Z480IdiCod",gxold:"O480IdiCod",gxvar:"A480IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A480IdiCod=a
},v2z:function(a){gx.O.Z480IdiCod=a},v2c:function(){gx.fn.setGridControlValue("IDICOD",gx.fn.currentGridRowImpl(51),gx.O.A480IdiCod,0)},c2v:function(){gx.O.A480IdiCod=this.val()},val:function(){return gx.fn.getGridControlValue("IDICOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[61]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a
},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(51),gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[64]={fld:"TABLE4",grid:0};this.AV6cSlcNro=0;this.ZV6cSlcNro=0;this.OV6cSlcNro=0;this.AV7cForCod=0;this.ZV7cForCod=0;this.OV7cForCod=0;this.AV8cSlcDatSolicitacao=gx.date.nullDate();this.ZV8cSlcDatSolicitacao=gx.date.nullDate();
this.OV8cSlcDatSolicitacao=gx.date.nullDate();this.AV9cSlcDatPreRecebimento=gx.date.nullDate();this.ZV9cSlcDatPreRecebimento=gx.date.nullDate();this.OV9cSlcDatPreRecebimento=gx.date.nullDate();this.AV10cSlcCodAssunto="";this.ZV10cSlcCodAssunto="";this.OV10cSlcCodAssunto="";this.AV11cSlcCodAutor="";this.ZV11cSlcCodAutor="";this.OV11cSlcCodAutor="";this.AV12cEdiNro=0;this.ZV12cEdiNro=0;this.OV12cEdiNro=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z819SlcNro=0;this.O819SlcNro=0;this.Z433ForCod=0;
this.O433ForCod=0;this.Z808SlcDatSoli=gx.date.nullDate();this.O808SlcDatSoli=gx.date.nullDate();this.Z806SlcDatPreR=gx.date.nullDate();this.O806SlcDatPreR=gx.date.nullDate();this.Z803SlcCodAssu="";this.O803SlcCodAssu="";this.Z804SlcCodAuto="";this.O804SlcCodAuto="";this.Z334EdiNro=0;this.O334EdiNro=0;this.Z480IdiCod="";this.O480IdiCod="";this.Z863TidCod="";this.O863TidCod="";this.AV13pSlcNro=0;this.AV5LinkSelection="";this.A819SlcNro=0;this.A433ForCod=0;this.A808SlcDatSoli=gx.date.nullDate();this.A806SlcDatPreR=gx.date.nullDate();
this.A803SlcCodAssu="";this.A804SlcCodAuto="";this.A334EdiNro=0;this.A480IdiCod="";this.A863TidCod="";this.ServerEvents=["e13aa2_client","e14aa1_client"];this.VarControlMap.AV13pSlcNro={id:"vPSLCNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx0200.prototype=new gx.GxObject;gx.setParentObj(new gx0200());