gx.evt.autoSkip=false;function hmih070(){this.ServerClass="HMih070";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV15DatDsiInicio=gx.fn.getDateValue("vDATDSIINICIO");this.AV16DatDsiFim=gx.fn.getDateValue("vDATDSIFIM")};this.s114_client=function(){this.AV21IndTemRegistro="N";this.AV20i=1;while(this.AV20i<=this.AV18QtdEntidadesPerfil){if(this.AV22CodEntidade==this.AV19VetEntidades[this.AV20i-1]){this.AV21IndTemRegistro="S";
this.AV20i=this.AV18QtdEntidadesPerfil}this.AV20i=this.AV20i+1}};this.e12852_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14852_client=function(){this.executeServerEvent("'VOLTAR'",true,arguments[0])};this.e15852_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[4,5,6,7];this.GXLastCtrlId=7;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",3,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih070",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Chamada",4,"vCHAMADA","Chamada","","Chamada","char",210,"px",40,40,"left",null,[],"Chamada","Chamada",true,0,false,false);this.Grid1Container.addSingleLineEdit("Linha",5,"vLINHA","Informações","","Linha","vchar",410,"px",200,200,"left",null,[],"Linha","Linha",true,200,false,false);this.Grid1Container.addSingleLineEdit("Tiddes",6,"vTIDDES","Material","","TidDes","char",185,"px",35,35,"left",null,[],"Tiddes","TidDes",true,0,false,false);this.Grid1Container.addComboBox("Tidindmodopublicacao",7,"vTIDINDMODOPUBLICACAO","Modo de publicação","TidIndModoPublicacao","char",null,0,true,false,129,"px");
this.setGrid(this.Grid1Container);this.GXValidFnc[4]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCHAMADA",gxz:"ZV23Chamada",gxold:"OV23Chamada",gxvar:"AV23Chamada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23Chamada=a},v2z:function(a){gx.O.ZV23Chamada=a},v2c:function(){gx.fn.setGridControlValue("vCHAMADA",gx.fn.currentGridRowImpl(3),gx.O.AV23Chamada,0)},c2v:function(){gx.O.AV23Chamada=this.val()},val:function(){return gx.fn.getGridControlValue("vCHAMADA",gx.fn.currentGridRowImpl(3))
},nac:function(){return false}};this.GXValidFnc[5]={lvl:2,type:"vchar",len:200,dec:200,sign:false,ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINHA",gxz:"ZV24Linha",gxold:"OV24Linha",gxvar:"AV24Linha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24Linha=a},v2z:function(a){gx.O.ZV24Linha=a},v2c:function(){gx.fn.setGridControlValue("vLINHA",gx.fn.currentGridRowImpl(3),gx.O.AV24Linha,0)},c2v:function(){gx.O.AV24Linha=this.val()},val:function(){return gx.fn.getGridControlValue("vLINHA",gx.fn.currentGridRowImpl(3))
},nac:function(){return false}};this.GXValidFnc[6]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTIDDES",gxz:"ZV26TidDes",gxold:"OV26TidDes",gxvar:"AV26TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26TidDes=a},v2z:function(a){gx.O.ZV26TidDes=a},v2c:function(){gx.fn.setGridControlValue("vTIDDES",gx.fn.currentGridRowImpl(3),gx.O.AV26TidDes,0)},c2v:function(){gx.O.AV26TidDes=this.val()},val:function(){return gx.fn.getGridControlValue("vTIDDES",gx.fn.currentGridRowImpl(3))
},nac:function(){return false}};this.GXValidFnc[7]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTIDINDMODOPUBLICACAO",gxz:"ZV27TidIndModoPublicacao",gxold:"OV27TidIndModoPublicacao",gxvar:"AV27TidIndModoPublicacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV27TidIndModoPublicacao=a},v2z:function(a){gx.O.ZV27TidIndModoPublicacao=a},v2c:function(){gx.fn.setGridComboBoxValue("vTIDINDMODOPUBLICACAO",gx.fn.currentGridRowImpl(3),gx.O.AV27TidIndModoPublicacao)
},c2v:function(){gx.O.AV27TidIndModoPublicacao=this.val()},val:function(){return gx.fn.getGridControlValue("vTIDINDMODOPUBLICACAO",gx.fn.currentGridRowImpl(3))},nac:function(){return false}};this.ZV23Chamada="";this.OV23Chamada="";this.ZV24Linha="";this.OV24Linha="";this.ZV26TidDes="";this.OV26TidDes="";this.ZV27TidIndModoPublicacao="";this.OV27TidIndModoPublicacao="";this.AV15DatDsiInicio=gx.date.nullDate();this.AV16DatDsiFim=gx.date.nullDate();this.AV23Chamada="";this.AV24Linha="";this.AV26TidDes="";
this.AV27TidIndModoPublicacao="";this.A787UsbCod="";this.A292DseTipAuto="";this.A290DseCodAuto=0;this.A317DvoNroVolu=0;this.A868TidDes="";this.A871TidIndModo="";this.A223DitNroEdic="";this.A220DitAnoEdic="";this.A227DitValExte="";this.A224DitNroTomo="";this.A225DitNroVolu="";this.A242DocDesL1Ti="";this.A222DitDatPubl=gx.date.nullDate();this.A226DitTipFasc="";this.A258DocNro=0;this.A307DvoDatCada=gx.date.nullDate();this.A316DvoNroTomo=0;this.A281DoeNroSequ=0;this.A922UndCod=0;this.A863TidCod="";this.A112CedNroArti=0;
this.A113CedNroItem=0;this.A768ScdTipEnti="";this.A764ScdCodEnti="";this.AV19VetEntidades=[];this.AV22CodEntidade=0;this.AV18QtdEntidadesPerfil=0;this.AV20i=0;this.AV21IndTemRegistro="";this.ServerEvents=["e12852_client","e14852_client","e15852_client"];this.VarControlMap.AV15DatDsiInicio={id:"vDATDSIINICIO",grid:0,type:"date"};this.VarControlMap.AV16DatDsiFim={id:"vDATDSIFIM",grid:0,type:"date"};this.VarControlMap.AV16DatDsiFim={id:"vDATDSIFIM",grid:0,type:"date"};this.VarControlMap.AV15DatDsiInicio={id:"vDATDSIINICIO",grid:0,type:"date"};
this.VarControlMap.AV38DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV35QtdDocsLoad={id:"vQTDDOCSLOAD",grid:0,type:"int"};this.VarControlMap.AV22CodEntidade={id:"vCODENTIDADE",grid:0,type:"int"};this.VarControlMap.AV18QtdEntidadesPerfil={id:"vQTDENTIDADESPERFIL",grid:0,type:"int"};this.VarControlMap.A226DitTipFasc={id:"DITTIPFASC",grid:0,type:"char"};this.VarControlMap.A222DitDatPubl={id:"DITDATPUBL",grid:0,type:"date"};this.VarControlMap.A242DocDesL1Ti={id:"DOCDESL1TI",grid:0,type:"char"};
this.VarControlMap.AV31IdItem={id:"vIDITEM",grid:0,type:"char"};this.VarControlMap.A223DitNroEdic={id:"DITNROEDIC",grid:0,type:"char"};this.VarControlMap.A220DitAnoEdic={id:"DITANOEDIC",grid:0,type:"char"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:0,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};this.VarControlMap.A868TidDes={id:"TIDDES",grid:0,type:"char"};this.VarControlMap.A764ScdCodEnti={id:"SCDCODENTI",grid:0,type:"char"};
this.VarControlMap.A768ScdTipEnti={id:"SCDTIPENTI",grid:0,type:"char"};this.VarControlMap.A112CedNroArti={id:"CEDNROARTI",grid:0,type:"int"};this.VarControlMap.A113CedNroItem={id:"CEDNROITEM",grid:0,type:"int"};this.VarControlMap.A871TidIndModo={id:"TIDINDMODO",grid:0,type:"char"};this.VarControlMap.A316DvoNroTomo={id:"DVONROTOMO",grid:0,type:"int"};this.VarControlMap.A317DvoNroVolu={id:"DVONROVOLU",grid:0,type:"int"};this.VarControlMap.A281DoeNroSequ={id:"DOENROSEQU",grid:0,type:"int"};this.VarControlMap.A922UndCod={id:"UNDCOD",grid:0,type:"int"};
this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A307DvoDatCada={id:"DVODATCADA",grid:0,type:"date"};this.Grid1Container.addRefreshingVar({rfrVar:"AV16DatDsiFim"});this.Grid1Container.addRefreshingVar({rfrVar:"AV15DatDsiInicio"});this.Grid1Container.addRefreshingVar({rfrVar:"AV38DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV35QtdDocsLoad"});this.Grid1Container.addRefreshingVar({rfrVar:"AV22CodEntidade"});this.Grid1Container.addRefreshingVar({rfrVar:"AV18QtdEntidadesPerfil"});
this.Grid1Container.addRefreshingVar({rfrVar:"A226DitTipFasc"});this.Grid1Container.addRefreshingVar({rfrVar:"A222DitDatPubl"});this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti"});this.Grid1Container.addRefreshingVar({rfrVar:"AV31IdItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A223DitNroEdic"});this.Grid1Container.addRefreshingVar({rfrVar:"A220DitAnoEdic"});this.Grid1Container.addRefreshingVar({rfrVar:"A227DitValExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A224DitNroTomo"});
this.Grid1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A868TidDes"});this.Grid1Container.addRefreshingVar({rfrVar:"A764ScdCodEnti"});this.Grid1Container.addRefreshingVar({rfrVar:"A768ScdTipEnti"});this.Grid1Container.addRefreshingVar({rfrVar:"A112CedNroArti"});this.Grid1Container.addRefreshingVar({rfrVar:"A113CedNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A871TidIndModo"});this.Grid1Container.addRefreshingVar({rfrVar:"A316DvoNroTomo"});
this.Grid1Container.addRefreshingVar({rfrVar:"A317DvoNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A281DoeNroSequ"});this.Grid1Container.addRefreshingVar({rfrVar:"A922UndCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A307DvoDatCada"});this.SetStandaloneVars()}hmih070.prototype=new gx.GxObject;gx.setParentObj(new hmih070());