gx.evt.autoSkip=false;function gx0081(){this.ServerClass="Gx0081";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV9pDpcNroSeq=gx.fn.getIntegerValue("vPDPCNROSEQ",".")};this.e13962_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14961_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,"gx0081",[],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(289,28,"DPCNROSEQ","Sequência","Selecionar","DpcNroSeq","int",0,"px",3,3,"right",null,[],289,"DpcNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(193,29,"PCHNRO","Código da palavra-chave","","PchNro","int",0,"px",6,6,"right",null,[],193,"PchNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(258,30,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",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:"TEXTBLOCKDPCNROSEQ",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDPCNROSEQ",gxz:"ZV6cDpcNroSeq",gxold:"OV6cDpcNroSeq",gxvar:"AV6cDpcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDpcNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cDpcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDPCNROSEQ",gx.O.AV6cDpcNroSeq,0)},c2v:function(){gx.O.AV6cDpcNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCDPCNROSEQ",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPCHNRO",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:"vCPCHNRO",gxz:"ZV7cPchNro",gxold:"OV7cPchNro",gxvar:"AV7cPchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPchNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cPchNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPCHNRO",gx.O.AV7cPchNro,0)
},c2v:function(){gx.O.AV7cPchNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCPCHNRO",".")},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:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DPCNROSEQ",gxz:"Z289DpcNroSeq",gxold:"O289DpcNroSeq",gxvar:"A289DpcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A289DpcNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z289DpcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DPCNROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A289DpcNroSeq,0)},c2v:function(){gx.O.A289DpcNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("DPCNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PCHNRO",gxz:"Z193PchNro",gxold:"O193PchNro",gxvar:"A193PchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A193PchNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z193PchNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PCHNRO",gx.fn.currentGridRowImpl(26),gx.O.A193PchNro,0)},c2v:function(){gx.O.A193PchNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PCHNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(26),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cDpcNroSeq=0;this.ZV6cDpcNroSeq=0;this.OV6cDpcNroSeq=0;this.AV7cPchNro=0;this.ZV7cPchNro=0;this.OV7cPchNro=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z289DpcNroSeq=0;this.O289DpcNroSeq=0;this.Z193PchNro=0;this.O193PchNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.AV8pDocNro=0;this.AV9pDpcNroSeq=0;this.AV5LinkSelection="";this.A289DpcNroSeq=0;this.A193PchNro=0;this.A258DocNro=0;this.ServerEvents=["e13962_client","e14961_client"];this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV9pDpcNroSeq={id:"vPDPCNROSEQ",grid:0,type:"int"};this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pDocNro"});this.SetStandaloneVars()}gx0081.prototype=new gx.GxObject;gx.setParentObj(new gx0081());