gx.evt.autoSkip=false;function hgsh005(){this.ServerClass="HGsh005";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e113k2_client=function(){this.executeServerEvent("ENTER",true)};this.e123k2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e163k2_client=function(){this.executeServerEvent("'HOME'",true,arguments[0])};this.e133k2_client=function(){this.executeServerEvent("'APAGAR'",false)};this.e183k2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,32,33,34,35,38,43,45,47];this.GXLastCtrlId=47;this.Grid2Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"hgsh005",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid2Container.addSingleLineEdit(986,32,"VNCCODORIG","Origem","","VncCodOrig","char",0,"px",15,15,"left",null,[],986,"VncCodOrig",true,0,false,false);
this.Grid2Container.addSingleLineEdit(989,33,"VNCNRO","Nr. vínculo","","VncNro","int",0,"px",8,8,"right",null,[],989,"VncNro",true,0,false,false);this.Grid2Container.addSingleLineEdit(988,34,"VNCNOMARQU","Nome arquivo","","VncNomArqu","char",0,"px",100,100,"left",null,[],988,"VncNomArqu",true,0,false,false);this.Grid2Container.addSingleLineEdit(985,35,"VNCCODEXTE","Extensão","","VncCodExte","char",0,"px",10,10,"left",null,[],985,"VncCodExte",true,0,false,false);this.setGrid(this.Grid2Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};
this.GXValidFnc[12]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPENTIDADE",gxz:"ZV15TipEntidade",gxold:"OV15TipEntidade",gxvar:"AV15TipEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV15TipEntidade=a},v2z:function(a){gx.O.ZV15TipEntidade=a},v2c:function(){gx.fn.setComboBoxValue("vTIPENTIDADE",gx.O.AV15TipEntidade)
},c2v:function(){gx.O.AV15TipEntidade=this.val()},val:function(){return gx.fn.getControlValue("vTIPENTIDADE")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vENTCOD",gxz:"ZV16EntCod",gxold:"OV16EntCod",gxvar:"AV16EntCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16EntCod=a},v2z:function(a){gx.O.ZV16EntCod=a},v2c:function(){gx.fn.setControlValue("vENTCOD",gx.O.AV16EntCod,0)
},c2v:function(){gx.O.AV16EntCod=this.val()},val:function(){return gx.fn.getControlValue("vENTCOD")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCCODORIG",gxz:"Z986VncCodOrig",gxold:"O986VncCodOrig",gxvar:"A986VncCodOrig",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A986VncCodOrig=a},v2z:function(a){gx.O.Z986VncCodOrig=a
},v2c:function(){gx.fn.setGridControlValue("VNCCODORIG",gx.fn.currentGridRowImpl(31),gx.O.A986VncCodOrig,0)},c2v:function(){gx.O.A986VncCodOrig=this.val()},val:function(){return gx.fn.getGridControlValue("VNCCODORIG",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"VNCNRO",gxz:"Z989VncNro",gxold:"O989VncNro",gxvar:"A989VncNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A989VncNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z989VncNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("VNCNRO",gx.fn.currentGridRowImpl(31),gx.O.A989VncNro,0)},c2v:function(){gx.O.A989VncNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("VNCNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCNOMARQU",gxz:"Z988VncNomArqu",gxold:"O988VncNomArqu",gxvar:"A988VncNomArqu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A988VncNomArqu=a
},v2z:function(a){gx.O.Z988VncNomArqu=a},v2c:function(){gx.fn.setGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(31),gx.O.A988VncNomArqu,0)},c2v:function(){gx.O.A988VncNomArqu=this.val()},val:function(){return gx.fn.getGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCCODEXTE",gxz:"Z985VncCodExte",gxold:"O985VncCodExte",gxvar:"A985VncCodExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A985VncCodExte=a
},v2z:function(a){gx.O.Z985VncCodExte=a},v2c:function(){gx.fn.setGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(31),gx.O.A985VncCodExte,0)},c2v:function(){gx.O.A985VncCodExte=this.val()},val:function(){return gx.fn.getGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.GXValidFnc[43]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVNCCODORIGEMAPAGAR",gxz:"ZV18VncCodOrigemApagar",gxold:"OV18VncCodOrigemApagar",gxvar:"AV18VncCodOrigemApagar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18VncCodOrigemApagar=a
},v2z:function(a){gx.O.ZV18VncCodOrigemApagar=a},v2c:function(){gx.fn.setControlValue("vVNCCODORIGEMAPAGAR",gx.O.AV18VncCodOrigemApagar,0)},c2v:function(){gx.O.AV18VncCodOrigemApagar=this.val()},val:function(){return gx.fn.getControlValue("vVNCCODORIGEMAPAGAR")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK1",format:0,grid:0};this.AV15TipEntidade="";this.ZV15TipEntidade="";this.OV15TipEntidade="";this.AV16EntCod="";this.ZV16EntCod="";this.OV16EntCod="";this.Z986VncCodOrig="";this.O986VncCodOrig="";
this.Z989VncNro=0;this.O989VncNro=0;this.Z988VncNomArqu="";this.O988VncNomArqu="";this.Z985VncCodExte="";this.O985VncCodExte="";this.AV18VncCodOrigemApagar="";this.ZV18VncCodOrigemApagar="";this.OV18VncCodOrigemApagar="";this.A986VncCodOrig="";this.A989VncNro=0;this.A988VncNomArqu="";this.A985VncCodExte="";this.ServerEvents=["e113k2_client","e123k2_client","e163k2_client","e133k2_client","e183k2_client"];this.EnterCtrl=["OK"];this.SetStandaloneVars()}hgsh005.prototype=new gx.GxObject;gx.setParentObj(new hgsh005());