gx.evt.autoSkip=false;function gx00m1(){this.ServerClass="Gx00M1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pCarNro=gx.fn.getIntegerValue("vPCARNRO",".");this.AV9pCadNroSeq=gx.fn.getIntegerValue("vPCADNROSEQ",".")};this.e139l2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149l1_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,"gx00m1",[],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(77,28,"CADNROSEQ","Nro de sequencia","","CadNroSeq","int",0,"px",3,3,"right",null,[],77,"CadNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(76,29,"CADDESCRIC","Descrição da carta","Selecionar","CadDescric","char",0,"px",80,80,"left",null,[],76,"CadDescric",true,0,false,false);this.Grid1Container.addSingleLineEdit(86,30,"CARNRO","Nro da carta","","CarNro","int",0,"px",3,3,"right",null,[],86,"CarNro",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:"TEXTBLOCKCADNROSEQ",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:"vCCADNROSEQ",gxz:"ZV6cCadNroSeq",gxold:"OV6cCadNroSeq",gxvar:"AV6cCadNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCadNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cCadNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCADNROSEQ",gx.O.AV6cCadNroSeq,0)},c2v:function(){gx.O.AV6cCadNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCCADNROSEQ",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCADDESCRICAO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCADDESCRICAO",gxz:"ZV7cCadDescricao",gxold:"OV7cCadDescricao",gxvar:"AV7cCadDescricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCadDescricao=a},v2z:function(a){gx.O.ZV7cCadDescricao=a},v2c:function(){gx.fn.setControlValue("vCCADDESCRICAO",gx.O.AV7cCadDescricao,0)
},c2v:function(){gx.O.AV7cCadDescricao=this.val()},val:function(){return gx.fn.getControlValue("vCCADDESCRICAO")},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:"CADNROSEQ",gxz:"Z77CadNroSeq",gxold:"O77CadNroSeq",gxvar:"A77CadNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A77CadNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z77CadNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CADNROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A77CadNroSeq,0)},c2v:function(){gx.O.A77CadNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("CADNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:80,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CADDESCRIC",gxz:"Z76CadDescric",gxold:"O76CadDescric",gxvar:"A76CadDescric",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A76CadDescric=a
},v2z:function(a){gx.O.Z76CadDescric=a},v2c:function(){gx.fn.setGridControlValue("CADDESCRIC",gx.fn.currentGridRowImpl(26),gx.O.A76CadDescric,0)},c2v:function(){gx.O.A76CadDescric=this.val()},val:function(){return gx.fn.getGridControlValue("CADDESCRIC",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={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:"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(26),gx.O.A86CarNro,0)},c2v:function(){gx.O.A86CarNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("CARNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cCadNroSeq=0;this.ZV6cCadNroSeq=0;this.OV6cCadNroSeq=0;this.AV7cCadDescricao="";this.ZV7cCadDescricao="";this.OV7cCadDescricao="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z77CadNroSeq=0;this.O77CadNroSeq=0;this.Z76CadDescric="";this.O76CadDescric="";this.Z86CarNro=0;this.O86CarNro=0;this.AV8pCarNro=0;this.AV9pCadNroSeq=0;this.AV5LinkSelection="";this.A77CadNroSeq=0;this.A76CadDescric="";this.A86CarNro=0;this.ServerEvents=["e139l2_client","e149l1_client"];this.VarControlMap.AV8pCarNro={id:"vPCARNRO",grid:0,type:"int"};this.VarControlMap.AV9pCadNroSeq={id:"vPCADNROSEQ",grid:0,type:"int"};this.VarControlMap.AV8pCarNro={id:"vPCARNRO",grid:0,type:"int"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pCarNro"});this.SetStandaloneVars()}gx00m1.prototype=new gx.GxObject;gx.setParentObj(new gx00m1());