gx.evt.autoSkip=false;function himh190(){this.ServerClass="Himh190";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e11f32_client=function(){this.executeServerEvent("ENTER",true)};this.e12f32_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e13f32_client=function(){this.executeServerEvent("'CANCELAR'",false)};this.e16f32_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];
this.GXCtrlIds=[2,5,16,22,25,27,32,34,43,45,47,49,51,53,55,57,61,62,63,64,65,66,67];this.GXLastCtrlId=67;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",60,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh190",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Editar","vEDITAR",61,37,"px",17,"px",null,"","Editar");this.Grid1Container.addBitmap("&Eliminar","vELIMINAR",62,53,"px",17,"px",null,"","Eliminar");
this.Grid1Container.addSingleLineEdit("Grdtipdocumento",63,"vGRDTIPDOCUMENTO","Tipo","","GrdTipDocumento","char",43,"px",3,3,"left",null,[],"Grdtipdocumento","GrdTipDocumento",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsctitulo",64,"vGRDDSCTITULO","Titulo","","GrdDscTitulo","char",0,"px",70,70,"left",null,[],"Grddsctitulo","GrdDscTitulo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomautor",65,"vGRDNOMAUTOR","Autor","","GrdNomAutor","char",0,"px",50,50,"left",null,[],"Grdnomautor","GrdNomAutor",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnrotombo",66,"vGRDNROTOMBO","Tombo","","GrdNroTombo","int",0,"px",9,9,"right",null,[],"Grdnrotombo","GrdNroTombo",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[5]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE4",grid:0};this.GXValidFnc[25]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBNOM",gxz:"ZV30UsbNom",gxold:"OV30UsbNom",gxvar:"AV30UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30UsbNom=a
},v2z:function(a){gx.O.ZV30UsbNom=a},v2c:function(){gx.fn.setControlValue("vUSBNOM",gx.O.AV30UsbNom,0)},c2v:function(){gx.O.AV30UsbNom=this.val()},val:function(){return gx.fn.getControlValue("vUSBNOM")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPFUNCAO",gxz:"ZV15ScrTipFuncao",gxold:"OV15ScrTipFuncao",gxvar:"AV15ScrTipFuncao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15ScrTipFuncao=a
},v2z:function(a){gx.O.ZV15ScrTipFuncao=a},v2c:function(){gx.fn.setControlValue("vSCRTIPFUNCAO",gx.O.AV15ScrTipFuncao,0)},c2v:function(){gx.O.AV15ScrTipFuncao=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPFUNCAO")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROTOMBO",gxz:"ZV32ScrNroTombo",gxold:"OV32ScrNroTombo",gxvar:"AV32ScrNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32ScrNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV32ScrNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROTOMBO",gx.O.AV32ScrNroTombo,0)},c2v:function(){gx.O.AV32ScrNroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPDOCUMENTO",gxz:"ZV7ScrTipDocumento",gxold:"OV7ScrTipDocumento",gxvar:"AV7ScrTipDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7ScrTipDocumento=a
},v2z:function(a){gx.O.ZV7ScrTipDocumento=a},v2c:function(){gx.fn.setControlValue("vSCRTIPDOCUMENTO",gx.O.AV7ScrTipDocumento,0)},c2v:function(){gx.O.AV7ScrTipDocumento=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPDOCUMENTO")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCTITULO",gxz:"ZV9ScrDscTitulo",gxold:"OV9ScrDscTitulo",gxvar:"AV9ScrDscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9ScrDscTitulo=a
},v2z:function(a){gx.O.ZV9ScrDscTitulo=a},v2c:function(){gx.fn.setControlValue("vSCRDSCTITULO",gx.O.AV9ScrDscTitulo,0)},c2v:function(){gx.O.AV9ScrDscTitulo=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCTITULO")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMAUTOR",gxz:"ZV10ScrNomAutor",gxold:"OV10ScrNomAutor",gxvar:"AV10ScrNomAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10ScrNomAutor=a
},v2z:function(a){gx.O.ZV10ScrNomAutor=a},v2c:function(){gx.fn.setControlValue("vSCRNOMAUTOR",gx.O.AV10ScrNomAutor,0)},c2v:function(){gx.O.AV10ScrNomAutor=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMAUTOR")},nac:function(){return false}};this.GXValidFnc[61]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:60,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vEDITAR",gxz:"ZV14Editar",gxold:"OV14Editar",gxvar:"AV14Editar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14Editar=a
},v2z:function(a){gx.O.ZV14Editar=a},v2c:function(){},c2v:function(){gx.O.AV14Editar=this.val()},val:function(){return gx.fn.getGridControlValue("vEDITAR",gx.fn.currentGridRowImpl(60))},nac:function(){return false}};this.GXValidFnc[62]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:60,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vELIMINAR",gxz:"ZV18Eliminar",gxold:"OV18Eliminar",gxvar:"AV18Eliminar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18Eliminar=a},v2z:function(a){gx.O.ZV18Eliminar=a
},v2c:function(){},c2v:function(){gx.O.AV18Eliminar=this.val()},val:function(){return gx.fn.getGridControlValue("vELIMINAR",gx.fn.currentGridRowImpl(60))},nac:function(){return false}};this.GXValidFnc[63]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:60,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDTIPDOCUMENTO",gxz:"ZV11GrdTipDocumento",gxold:"OV11GrdTipDocumento",gxvar:"AV11GrdTipDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11GrdTipDocumento=a
},v2z:function(a){gx.O.ZV11GrdTipDocumento=a},v2c:function(){gx.fn.setGridControlValue("vGRDTIPDOCUMENTO",gx.fn.currentGridRowImpl(60),gx.O.AV11GrdTipDocumento,0)},c2v:function(){gx.O.AV11GrdTipDocumento=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPDOCUMENTO",gx.fn.currentGridRowImpl(60))},nac:function(){return false}};this.GXValidFnc[64]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:60,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(60),gx.O.AV12GrdDscTitulo,0)},c2v:function(){gx.O.AV12GrdDscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(60))},nac:function(){return false}};this.GXValidFnc[65]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:60,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(60),gx.O.AV13GrdNomAutor,0)},c2v:function(){gx.O.AV13GrdNomAutor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMAUTOR",gx.fn.currentGridRowImpl(60))},nac:function(){return false}};this.GXValidFnc[66]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:60,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTOMBO",gxz:"ZV38GrdNroTombo",gxold:"OV38GrdNroTombo",gxvar:"AV38GrdNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV38GrdNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV38GrdNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(60),gx.O.AV38GrdNroTombo,0)},c2v:function(){gx.O.AV38GrdNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(60),".")},nac:function(){return false}};this.GXValidFnc[67]={fld:"PROMPT_SCRTIPDOCUMENTO",grid:0};this.AV30UsbNom="";this.ZV30UsbNom="";this.OV30UsbNom="";this.AV15ScrTipFuncao="";this.ZV15ScrTipFuncao="";
this.OV15ScrTipFuncao="";this.AV32ScrNroTombo=0;this.ZV32ScrNroTombo=0;this.OV32ScrNroTombo=0;this.AV7ScrTipDocumento="";this.ZV7ScrTipDocumento="";this.OV7ScrTipDocumento="";this.AV9ScrDscTitulo="";this.ZV9ScrDscTitulo="";this.OV9ScrDscTitulo="";this.AV10ScrNomAutor="";this.ZV10ScrNomAutor="";this.OV10ScrNomAutor="";this.ZV14Editar="";this.OV14Editar="";this.ZV18Eliminar="";this.OV18Eliminar="";this.ZV11GrdTipDocumento="";this.OV11GrdTipDocumento="";this.ZV12GrdDscTitulo="";this.OV12GrdDscTitulo="";
this.ZV13GrdNomAutor="";this.OV13GrdNomAutor="";this.ZV38GrdNroTombo=0;this.OV38GrdNroTombo=0;this.AV14Editar="";this.AV18Eliminar="";this.AV11GrdTipDocumento="";this.AV12GrdDscTitulo="";this.AV13GrdNomAutor="";this.AV38GrdNroTombo=0;this.A1038RdoNroSequ=0;this.A1045RdiNroTomb=0;this.A1044RdiNroSequ=0;this.A1040RdoDatMovi=gx.date.nullDate();this.A1039RdoTipMovi="";this.A787UsbCod="";this.ServerEvents=["e11f32_client","e12f32_client","e13f32_client","e16f32_client"];this.setPrompt("PROMPT_SCRTIPDOCUMENTO",[49]);
this.EnterCtrl=["BUTTON1"];this.VarControlMap.A1045RdiNroTomb={id:"RDINROTOMB",grid:0,type:"int"};this.VarControlMap.A1044RdiNroSequ={id:"RDINROSEQU",grid:0,type:"int"};this.VarControlMap.A1038RdoNroSequ={id:"RDONROSEQU",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"A1045RdiNroTomb"});this.Grid1Container.addRefreshingVar({rfrVar:"A1044RdiNroSequ"});this.Grid1Container.addRefreshingVar({rfrVar:"A1038RdoNroSequ"});this.SetStandaloneVars()}himh190.prototype=new gx.GxObject;gx.setParentObj(new himh190());