gx.evt.autoSkip=false;function himh195(){this.ServerClass="HImh195";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.Valid_Strnom=function(){try{if(gx.fn.currentGridRowImpl(30)===0){return true}var a=gx.util.balloon.getNew("STRNOM",gx.fn.currentGridRowImpl(30));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e15fc1_client=function(){this.clearMessages();
this.addMessage("Função aguardando desenvolvimento ...");this.refreshOutputs([])};this.e11fc2_client=function(){this.executeServerEvent("'NOVA'",false)};this.e12fc2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e16fc2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e17fc2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,16,19,22,24,27,31,32,33,34,35,36];this.GXLastCtrlId=36;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",30,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh195",[],false,1,false,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Grdlinkeditar","vGRDLINKEDITAR",31,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1068,32,"TTDNROSEQU","Nro","","TtdNroSequ","int",0,"px",4,4,"right",null,[],1068,"TtdNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1071,33,"STRNOM","Setor","","StrNom","char",0,"px",50,50,"left",null,[],1071,"StrNom",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddscespeciedocumental",34,"vGRDDSCESPECIEDOCUMENTAL","Espécie documental","","GrdDscEspecieDocumental","char",0,"px",90,90,"left",null,[],"Grddscespeciedocumental","GrdDscEspecieDocumental",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddsctempoguardaac",35,"vGRDDSCTEMPOGUARDAAC","Tempo guarda AC","","GrdDscTempoGuardaAC","char",0,"px",50,50,"left",null,[],"Grddsctempoguardaac","GrdDscTempoGuardaAC",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsctempoguardaai",36,"vGRDDSCTEMPOGUARDAAI","Tempo guarda AI","","GrdDscTempoGuardaAI","char",0,"px",50,50,"left",null,[],"Grddsctempoguardaai","GrdDscTempoGuardaAI",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};
this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMSETOR",gxz:"ZV19ScrNomSetor",gxold:"OV19ScrNomSetor",gxvar:"AV19ScrNomSetor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19ScrNomSetor=a},v2z:function(a){gx.O.ZV19ScrNomSetor=a},v2c:function(){gx.fn.setControlValue("vSCRNOMSETOR",gx.O.AV19ScrNomSetor,0)
},c2v:function(){gx.O.AV19ScrNomSetor=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMSETOR")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TABLE1",grid:0};this.GXValidFnc[31]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:30,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKEDITAR",gxz:"ZV18GrdLinkEditar",gxold:"OV18GrdLinkEditar",gxvar:"AV18GrdLinkEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18GrdLinkEditar=a},v2z:function(a){gx.O.ZV18GrdLinkEditar=a
},v2c:function(){},c2v:function(){gx.O.AV18GrdLinkEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKEDITAR",gx.fn.currentGridRowImpl(30))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:30,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"TTDNROSEQU",gxz:"Z1068TtdNroSequ",gxold:"O1068TtdNroSequ",gxvar:"A1068TtdNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1068TtdNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1068TtdNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("TTDNROSEQU",gx.fn.currentGridRowImpl(30),gx.O.A1068TtdNroSequ,0)},c2v:function(){gx.O.A1068TtdNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("TTDNROSEQU",gx.fn.currentGridRowImpl(30),".")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:30,gxgrid:this.Grid1Container,fnc:this.Valid_Strnom,isvalid:null,fld:"STRNOM",gxz:"Z1071StrNom",gxold:"O1071StrNom",gxvar:"A1071StrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1071StrNom=a
},v2z:function(a){gx.O.Z1071StrNom=a},v2c:function(){gx.fn.setGridControlValue("STRNOM",gx.fn.currentGridRowImpl(30),gx.O.A1071StrNom,0)},c2v:function(){gx.O.A1071StrNom=this.val()},val:function(){return gx.fn.getGridControlValue("STRNOM",gx.fn.currentGridRowImpl(30))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:90,dec:0,sign:false,ro:1,grid:30,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCESPECIEDOCUMENTAL",gxz:"ZV20GrdDscEspecieDocumental",gxold:"OV20GrdDscEspecieDocumental",gxvar:"AV20GrdDscEspecieDocumental",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20GrdDscEspecieDocumental=a
},v2z:function(a){gx.O.ZV20GrdDscEspecieDocumental=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCESPECIEDOCUMENTAL",gx.fn.currentGridRowImpl(30),gx.O.AV20GrdDscEspecieDocumental,0)},c2v:function(){gx.O.AV20GrdDscEspecieDocumental=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCESPECIEDOCUMENTAL",gx.fn.currentGridRowImpl(30))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:30,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTEMPOGUARDAAC",gxz:"ZV21GrdDscTempoGuardaAC",gxold:"OV21GrdDscTempoGuardaAC",gxvar:"AV21GrdDscTempoGuardaAC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21GrdDscTempoGuardaAC=a
},v2z:function(a){gx.O.ZV21GrdDscTempoGuardaAC=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTEMPOGUARDAAC",gx.fn.currentGridRowImpl(30),gx.O.AV21GrdDscTempoGuardaAC,0)},c2v:function(){gx.O.AV21GrdDscTempoGuardaAC=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTEMPOGUARDAAC",gx.fn.currentGridRowImpl(30))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:30,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTEMPOGUARDAAI",gxz:"ZV22GrdDscTempoGuardaAI",gxold:"OV22GrdDscTempoGuardaAI",gxvar:"AV22GrdDscTempoGuardaAI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22GrdDscTempoGuardaAI=a
},v2z:function(a){gx.O.ZV22GrdDscTempoGuardaAI=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTEMPOGUARDAAI",gx.fn.currentGridRowImpl(30),gx.O.AV22GrdDscTempoGuardaAI,0)},c2v:function(){gx.O.AV22GrdDscTempoGuardaAI=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTEMPOGUARDAAI",gx.fn.currentGridRowImpl(30))},nac:function(){return false}};this.AV19ScrNomSetor="";this.ZV19ScrNomSetor="";this.OV19ScrNomSetor="";this.ZV18GrdLinkEditar="";this.OV18GrdLinkEditar="";this.Z1068TtdNroSequ=0;
this.O1068TtdNroSequ=0;this.Z1071StrNom="";this.O1071StrNom="";this.ZV20GrdDscEspecieDocumental="";this.OV20GrdDscEspecieDocumental="";this.ZV21GrdDscTempoGuardaAC="";this.OV21GrdDscTempoGuardaAC="";this.ZV22GrdDscTempoGuardaAI="";this.OV22GrdDscTempoGuardaAI="";this.A1070StrCod=0;this.AV18GrdLinkEditar="";this.A1068TtdNroSequ=0;this.A1071StrNom="";this.AV20GrdDscEspecieDocumental="";this.AV21GrdDscTempoGuardaAC="";this.AV22GrdDscTempoGuardaAI="";this.ServerEvents=["e11fc2_client","e12fc2_client","e16fc2_client","e17fc2_client"];
this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}himh195.prototype=new gx.GxObject;gx.setParentObj(new himh195());