gx.evt.autoSkip=false;function gx0071(){this.ServerClass="Gx0071";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV9pDonNroSeq=gx.fn.getIntegerValue("vPDONNROSEQ",".")};this.e13932_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14931_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,"gx0071",[],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(288,28,"DONNROSEQ","Sequência","","DonNroSeq","int",0,"px",4,4,"right",null,[],288,"DonNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(287,29,"DONDESLINH","Linha","Selecionar","DonDesLinh","char",0,"px",70,70,"left",null,[],287,"DonDesLinh",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:"TEXTBLOCKDONNROSEQ",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDONNROSEQ",gxz:"ZV6cDonNroSeq",gxold:"OV6cDonNroSeq",gxvar:"AV6cDonNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDonNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cDonNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDONNROSEQ",gx.O.AV6cDonNroSeq,0)},c2v:function(){gx.O.AV6cDonNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCDONNROSEQ",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDONDESLINHA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDONDESLINHA",gxz:"ZV7cDonDesLinha",gxold:"OV7cDonDesLinha",gxvar:"AV7cDonDesLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDonDesLinha=a},v2z:function(a){gx.O.ZV7cDonDesLinha=a},v2c:function(){gx.fn.setControlValue("vCDONDESLINHA",gx.O.AV7cDonDesLinha,0)},c2v:function(){gx.O.AV7cDonDesLinha=this.val()
},val:function(){return gx.fn.getControlValue("vCDONDESLINHA")},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:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DONNROSEQ",gxz:"Z288DonNroSeq",gxold:"O288DonNroSeq",gxvar:"A288DonNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A288DonNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z288DonNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DONNROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A288DonNroSeq,0)},c2v:function(){gx.O.A288DonNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("DONNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DONDESLINH",gxz:"Z287DonDesLinh",gxold:"O287DonDesLinh",gxvar:"A287DonDesLinh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A287DonDesLinh=a
},v2z:function(a){gx.O.Z287DonDesLinh=a},v2c:function(){gx.fn.setGridControlValue("DONDESLINH",gx.fn.currentGridRowImpl(26),gx.O.A287DonDesLinh,0)},c2v:function(){gx.O.A287DonDesLinh=this.val()},val:function(){return gx.fn.getGridControlValue("DONDESLINH",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.AV6cDonNroSeq=0;this.ZV6cDonNroSeq=0;this.OV6cDonNroSeq=0;this.AV7cDonDesLinha="";this.ZV7cDonDesLinha="";this.OV7cDonDesLinha="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z288DonNroSeq=0;this.O288DonNroSeq=0;this.Z287DonDesLinh="";this.O287DonDesLinh="";this.Z258DocNro=0;this.O258DocNro=0;this.AV8pDocNro=0;this.AV9pDonNroSeq=0;this.AV5LinkSelection="";this.A288DonNroSeq=0;this.A287DonDesLinh="";this.A258DocNro=0;this.ServerEvents=["e13932_client","e14931_client"];this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV9pDonNroSeq={id:"vPDONNROSEQ",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()}gx0071.prototype=new gx.GxObject;gx.setParentObj(new gx0071());