gx.evt.autoSkip=false;function himh150(){this.ServerClass="HImh150";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e126s2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e116s2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e156s2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,19,20,21,22,23,24,25];this.GXLastCtrlId=25;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",18,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh150",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Grdnrodocumento",19,"vGRDNRODOCUMENTO","Doc","","GrdNroDocumento","int",0,"px",6,6,"right",null,[],"Grdnrodocumento","GrdNroDocumento",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsctitulo",20,"vGRDDSCTITULO","Título","","GrdDscTitulo","char",0,"px",200,200,"left",null,[],"Grddsctitulo","GrdDscTitulo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnomautor",21,"vGRDNOMAUTOR","Autor","","GrdNomAutor","char",0,"px",100,100,"left",null,[],"Grdnomautor","GrdNomAutor",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomeditora",22,"vGRDNOMEDITORA","Editora","","GrdNomEditora","char",0,"px",100,100,"left",null,[],"Grdnomeditora","GrdNomEditora",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdanoedicao",23,"vGRDANOEDICAO","Ano","","GrdAnoEdicao","char",0,"px",20,20,"left",null,[],"Grdanoedicao","GrdAnoEdicao",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddscpaginacao",24,"vGRDDSCPAGINACAO","Pag","","GrdDscPaginacao","char",0,"px",20,20,"left",null,[],"Grddscpaginacao","GrdDscPaginacao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdqtdexemplares",25,"vGRDQTDEXEMPLARES","Exemp","","GrdQtdExemplares","int",0,"px",4,4,"right",null,[],"Grdqtdexemplares","GrdQtdExemplares",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE2",grid:0};
this.GXValidFnc[19]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNRODOCUMENTO",gxz:"ZV11GrdNroDocumento",gxold:"OV11GrdNroDocumento",gxvar:"AV11GrdNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11GrdNroDocumento=gx.num.intval(a)},v2z:function(a){gx.O.ZV11GrdNroDocumento=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNRODOCUMENTO",gx.fn.currentGridRowImpl(18),gx.O.AV11GrdNroDocumento,0)
},c2v:function(){gx.O.AV11GrdNroDocumento=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNRODOCUMENTO",gx.fn.currentGridRowImpl(18),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:200,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTITULO",gxz:"ZV12GrdDscTitulo",gxold:"OV12GrdDscTitulo",gxvar:"AV12GrdDscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12GrdDscTitulo=a},v2z:function(a){gx.O.ZV12GrdDscTitulo=a
},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(18),gx.O.AV12GrdDscTitulo,0)},c2v:function(){gx.O.AV12GrdDscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMAUTOR",gxz:"ZV13GrdNomAutor",gxold:"OV13GrdNomAutor",gxvar:"AV13GrdNomAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13GrdNomAutor=a
},v2z:function(a){gx.O.ZV13GrdNomAutor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMAUTOR",gx.fn.currentGridRowImpl(18),gx.O.AV13GrdNomAutor,0)},c2v:function(){gx.O.AV13GrdNomAutor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMAUTOR",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMEDITORA",gxz:"ZV14GrdNomEditora",gxold:"OV14GrdNomEditora",gxvar:"AV14GrdNomEditora",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14GrdNomEditora=a
},v2z:function(a){gx.O.ZV14GrdNomEditora=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMEDITORA",gx.fn.currentGridRowImpl(18),gx.O.AV14GrdNomEditora,0)},c2v:function(){gx.O.AV14GrdNomEditora=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMEDITORA",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDANOEDICAO",gxz:"ZV15GrdAnoEdicao",gxold:"OV15GrdAnoEdicao",gxvar:"AV15GrdAnoEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15GrdAnoEdicao=a
},v2z:function(a){gx.O.ZV15GrdAnoEdicao=a},v2c:function(){gx.fn.setGridControlValue("vGRDANOEDICAO",gx.fn.currentGridRowImpl(18),gx.O.AV15GrdAnoEdicao,0)},c2v:function(){gx.O.AV15GrdAnoEdicao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDANOEDICAO",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCPAGINACAO",gxz:"ZV25GrdDscPaginacao",gxold:"OV25GrdDscPaginacao",gxvar:"AV25GrdDscPaginacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25GrdDscPaginacao=a
},v2z:function(a){gx.O.ZV25GrdDscPaginacao=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCPAGINACAO",gx.fn.currentGridRowImpl(18),gx.O.AV25GrdDscPaginacao,0)},c2v:function(){gx.O.AV25GrdDscPaginacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCPAGINACAO",gx.fn.currentGridRowImpl(18))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:18,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDQTDEXEMPLARES",gxz:"ZV16GrdQtdExemplares",gxold:"OV16GrdQtdExemplares",gxvar:"AV16GrdQtdExemplares",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16GrdQtdExemplares=gx.num.intval(a)
},v2z:function(a){gx.O.ZV16GrdQtdExemplares=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDQTDEXEMPLARES",gx.fn.currentGridRowImpl(18),gx.O.AV16GrdQtdExemplares,0)},c2v:function(){gx.O.AV16GrdQtdExemplares=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDQTDEXEMPLARES",gx.fn.currentGridRowImpl(18),".")},nac:function(){return false}};this.ZV11GrdNroDocumento=0;this.OV11GrdNroDocumento=0;this.ZV12GrdDscTitulo="";this.OV12GrdDscTitulo="";this.ZV13GrdNomAutor="";this.OV13GrdNomAutor="";
this.ZV14GrdNomEditora="";this.OV14GrdNomEditora="";this.ZV15GrdAnoEdicao="";this.OV15GrdAnoEdicao="";this.ZV25GrdDscPaginacao="";this.OV25GrdDscPaginacao="";this.ZV16GrdQtdExemplares=0;this.OV16GrdQtdExemplares=0;this.AV11GrdNroDocumento=0;this.AV12GrdDscTitulo="";this.AV13GrdNomAutor="";this.AV14GrdNomEditora="";this.AV15GrdAnoEdicao="";this.AV25GrdDscPaginacao="";this.AV16GrdQtdExemplares=0;this.A922UndCod=0;this.A509LocCod=0;this.A269DoeCodCent="";this.A281DoeNroSequ=0;this.A258DocNro=0;this.ServerEvents=["e126s2_client","e116s2_client","e156s2_client"];
this.VarControlMap.AV17DocNroAnt={id:"vDOCNROANT",grid:0,type:"int"};this.VarControlMap.A269DoeCodCent={id:"DOECODCENT",grid:0,type:"char"};this.VarControlMap.A281DoeNroSequ={id:"DOENROSEQU",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A509LocCod={id:"LOCCOD",grid:0,type:"int"};this.VarControlMap.A922UndCod={id:"UNDCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV17DocNroAnt"});this.Grid1Container.addRefreshingVar({rfrVar:"A269DoeCodCent"});
this.Grid1Container.addRefreshingVar({rfrVar:"A281DoeNroSequ"});this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A509LocCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A922UndCod"});this.SetStandaloneVars()}himh150.prototype=new gx.GxObject;gx.setParentObj(new himh150());