gx.evt.autoSkip=false;function gx00l0(){this.ServerClass="Gx00L0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pCarNro=gx.fn.getIntegerValue("vPCARNRO",".")};this.e139k2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149k1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00l0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(86,33,"CARNRO","Nro da carta","","CarNro","int",0,"px",3,3,"right",null,[],86,"CarNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(85,34,"CARNOM","Nome da carta","Selecionar","CarNom","char",0,"px",30,30,"left",null,[],85,"CarNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(87,35,"CARULTSEQ","Ultima sequencia","","CarUltSeq","int",0,"px",3,3,"right",null,[],87,"CarUltSeq",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:"TEXTBLOCKCARNRO",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:"vCCARNRO",gxz:"ZV6cCarNro",gxold:"OV6cCarNro",gxvar:"AV6cCarNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCarNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cCarNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCARNRO",gx.O.AV6cCarNro,0)},c2v:function(){gx.O.AV6cCarNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCCARNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCARNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCARNOM",gxz:"ZV7cCarNom",gxold:"OV7cCarNom",gxvar:"AV7cCarNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCarNom=a
},v2z:function(a){gx.O.ZV7cCarNom=a},v2c:function(){gx.fn.setControlValue("vCCARNOM",gx.O.AV7cCarNom,0)},c2v:function(){gx.O.AV7cCarNom=this.val()},val:function(){return gx.fn.getControlValue("vCCARNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKCARULTSEQ",format:0,grid:0};this.GXValidFnc[24]={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:"vCCARULTSEQ",gxz:"ZV8cCarUltSeq",gxold:"OV8cCarUltSeq",gxvar:"AV8cCarUltSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cCarUltSeq=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cCarUltSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCARULTSEQ",gx.O.AV8cCarUltSeq,0)},c2v:function(){gx.O.AV8cCarUltSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCCARULTSEQ",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CARNRO",gxz:"Z86CarNro",gxold:"O86CarNro",gxvar:"A86CarNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A86CarNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z86CarNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CARNRO",gx.fn.currentGridRowImpl(31),gx.O.A86CarNro,0)},c2v:function(){gx.O.A86CarNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("CARNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CARNOM",gxz:"Z85CarNom",gxold:"O85CarNom",gxvar:"A85CarNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A85CarNom=a
},v2z:function(a){gx.O.Z85CarNom=a},v2c:function(){gx.fn.setGridControlValue("CARNOM",gx.fn.currentGridRowImpl(31),gx.O.A85CarNom,0)},c2v:function(){gx.O.A85CarNom=this.val()},val:function(){return gx.fn.getGridControlValue("CARNOM",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CARULTSEQ",gxz:"Z87CarUltSeq",gxold:"O87CarUltSeq",gxvar:"A87CarUltSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A87CarUltSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z87CarUltSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CARULTSEQ",gx.fn.currentGridRowImpl(31),gx.O.A87CarUltSeq,0)},c2v:function(){gx.O.A87CarUltSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("CARULTSEQ",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cCarNro=0;this.ZV6cCarNro=0;this.OV6cCarNro=0;this.AV7cCarNom="";this.ZV7cCarNom="";this.OV7cCarNom="";this.AV8cCarUltSeq=0;
this.ZV8cCarUltSeq=0;this.OV8cCarUltSeq=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z86CarNro=0;this.O86CarNro=0;this.Z85CarNom="";this.O85CarNom="";this.Z87CarUltSeq=0;this.O87CarUltSeq=0;this.AV9pCarNro=0;this.AV5LinkSelection="";this.A86CarNro=0;this.A85CarNom="";this.A87CarUltSeq=0;this.ServerEvents=["e139k2_client","e149k1_client"];this.VarControlMap.AV9pCarNro={id:"vPCARNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx00l0.prototype=new gx.GxObject;gx.setParentObj(new gx00l0());