gx.evt.autoSkip=false;function himh198(){this.ServerClass="HImh198";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A948UsbNomSemA=gx.fn.getControlValue("USBNOMSEMA")};this.Valid_Usbcod=function(){try{if(gx.fn.currentGridRowImpl(69)===0){return true}var a=gx.util.balloon.getNew("USBCOD",gx.fn.currentGridRowImpl(69));this.AnyError=0;this.StandaloneModal();this.StandaloneNotModal()}catch(b){}try{if(a==null){return true}return a.show()
}catch(b){}return true};this.Valid_Usbnom=function(){try{if(gx.fn.currentGridRowImpl(69)===0){return true}var a=gx.util.balloon.getNew("USBNOM",gx.fn.currentGridRowImpl(69));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Usbturma=function(){try{if(gx.fn.currentGridRowImpl(69)===0){return true}var a=gx.util.balloon.getNew("USBTURMA",gx.fn.currentGridRowImpl(69));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Valid_Usbnombair=function(){try{if(gx.fn.currentGridRowImpl(69)===0){return true}var a=gx.util.balloon.getNew("USBNOMBAIR",gx.fn.currentGridRowImpl(69));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Usbnomcida=function(){try{if(gx.fn.currentGridRowImpl(69)===0){return true}var a=gx.util.balloon.getNew("USBNOMCIDA",gx.fn.currentGridRowImpl(69));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.e19fm1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh054.aspx",[]),[]);this.refreshOutputs([])};this.e18fm1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh020.aspx",[]),[]);this.refreshOutputs([])};this.e16fm2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e12fm2_client=function(){this.executeServerEvent("'GET'",false)};this.e13fm2_client=function(){this.executeServerEvent("'PROXIMO LIVRE'",false)
};this.e14fm2_client=function(){this.executeServerEvent("'FOTOS'",false)};this.e20fm1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,18,20,23,25,27,29,31,33,35,37,40,44,47,49,51,53,55,57,59,61,63,65,67,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,88,91,93,95,96];this.GXLastCtrlId=96;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",69,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh198",[],false,1,true,true,9,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addBitmap("&Imgeditar","vIMGEDITAR",70,0,"px",17,"px",null,"","");this.Subfile1Container.addSingleLineEdit(787,71,"USBCOD","Código","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(786,72,"USBNOM","Nome","","UsbNom","char",0,"px",50,50,"left",null,[],786,"UsbNom",true,0,false,false);this.Subfile1Container.addSingleLineEdit(779,73,"SETCOD","Un.","","SetCod","int",0,"px",6,6,"right",null,[],779,"SetCod",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(883,74,"TIUCOD","Tipo","","TiuCod","char",0,"px",3,3,"left",null,[],883,"TiuCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(960,75,"USBTURMA","Turma","","UsbTurma","char",0,"px",20,20,"left",null,[],960,"UsbTurma",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Grddatvalidade",76,"vGRDDATVALIDADE","Validade","","GrdDatValidade","date",0,"px",8,8,"right",null,[],"Grddatvalidade","GrdDatValidade",true,0,false,false);this.Subfile1Container.addSingleLineEdit(935,77,"USBDESENDE","Endereço","","UsbDesEnde","char",0,"px",45,45,"left",null,[],935,"UsbDesEnde",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(944,78,"USBNOMBAIR","Bairro","","UsbNomBair","char",0,"px",25,25,"left",null,[],944,"UsbNomBair",true,0,false,false);this.Subfile1Container.addSingleLineEdit(945,79,"USBNOMCIDA","Cidade","","UsbNomCida","char",0,"px",25,25,"left",null,[],945,"UsbNomCida",true,0,false,false);this.Subfile1Container.addSingleLineEdit(951,80,"USBNROCPF","CPF / CNPJ","","UsbNroCPF","int",0,"px",15,15,"right",null,[],951,"UsbNroCPF",true,0,false,false);this.Subfile1Container.addSingleLineEdit(941,81,"USBENDELET","E-mail","","UsbEndElet","char",0,"px",100,100,"left",null,[],941,"UsbEndElet",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Grddatatualizacao",82,"vGRDDATATUALIZACAO","Atualização","","GrdDatAtualizacao","date",0,"px",8,8,"right",null,[],"Grddatatualizacao","GrdDatAtualizacao",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Grddatcadastro",83,"vGRDDATCADASTRO","Cadastro","","GrdDatCadastro","date",0,"px",8,8,"right",null,[],"Grddatcadastro","GrdDatCadastro",true,0,false,false);this.Subfile1Container.addComboBox(942,84,"USBINDATIV","Ativo","UsbIndAtiv","char",null,0,true,false,0,"px");
this.Subfile1Container.addSingleLineEdit("Grdqtdreservasativas",85,"vGRDQTDRESERVASATIVAS","Reservas","","GrdQtdReservasAtivas","int",0,"px",3,3,"right",null,[],"Grdqtdreservasativas","GrdQtdReservasAtivas",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMEINICIAL",gxz:"ZV14NomeInicial",gxold:"OV14NomeInicial",gxvar:"AV14NomeInicial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14NomeInicial=a
},v2z:function(a){gx.O.ZV14NomeInicial=a},v2c:function(){gx.fn.setControlValue("vNOMEINICIAL",gx.O.AV14NomeInicial,0)},c2v:function(){gx.O.AV14NomeInicial=this.val()},val:function(){return gx.fn.getControlValue("vNOMEINICIAL")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMECONTENDO",gxz:"ZV11ScrNomeContendo",gxold:"OV11ScrNomeContendo",gxvar:"AV11ScrNomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11ScrNomeContendo=a
},v2z:function(a){gx.O.ZV11ScrNomeContendo=a},v2c:function(){gx.fn.setControlValue("vSCRNOMECONTENDO",gx.O.AV11ScrNomeContendo,0)},c2v:function(){gx.O.AV11ScrNomeContendo=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMECONTENDO")},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Subfile1Container],fld:"vUNDCODSELE",gxz:"ZV23UndCodSele",gxold:"OV23UndCodSele",gxvar:"AV23UndCodSele",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23UndCodSele=gx.num.intval(a)
},v2z:function(a){gx.O.ZV23UndCodSele=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODSELE",gx.O.AV23UndCodSele,0)},c2v:function(){gx.O.AV23UndCodSele=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODSELE",".")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[37]={fld:"TABLE3",grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCODAUX",gxz:"ZV25UsbCodAux",gxold:"OV25UsbCodAux",gxvar:"AV25UsbCodAux",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25UsbCodAux=a
},v2z:function(a){gx.O.ZV25UsbCodAux=a},v2c:function(){gx.fn.setControlValue("vUSBCODAUX",gx.O.AV25UsbCodAux,0)},c2v:function(){gx.O.AV25UsbCodAux=this.val()},val:function(){return gx.fn.getControlValue("vUSBCODAUX")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TB_ANALISE",format:0,grid:0};this.GXValidFnc[47]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"int",len:15,dec:0,sign:false,pic:"ZZZZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Subfile1Container],fld:"vUSBNROCPF",gxz:"ZV30UsbNroCPF",gxold:"OV30UsbNroCPF",gxvar:"AV30UsbNroCPF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30UsbNroCPF=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30UsbNroCPF=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSBNROCPF",gx.O.AV30UsbNroCPF,0)},c2v:function(){gx.O.AV30UsbNroCPF=this.val()},val:function(){return gx.fn.getIntegerValue("vUSBNROCPF",".")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMECIDADE",gxz:"ZV41ScrNomeCidade",gxold:"OV41ScrNomeCidade",gxvar:"AV41ScrNomeCidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41ScrNomeCidade=a
},v2z:function(a){gx.O.ZV41ScrNomeCidade=a},v2c:function(){gx.fn.setControlValue("vSCRNOMECIDADE",gx.O.AV41ScrNomeCidade,0)},c2v:function(){gx.O.AV41ScrNomeCidade=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMECIDADE")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUCODSELE",gxz:"ZV21TiuCodSele",gxold:"OV21TiuCodSele",gxvar:"AV21TiuCodSele",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21TiuCodSele=a
},v2z:function(a){gx.O.ZV21TiuCodSele=a},v2c:function(){gx.fn.setControlValue("vTIUCODSELE",gx.O.AV21TiuCodSele,0)},c2v:function(){gx.O.AV21TiuCodSele=this.val()},val:function(){return gx.fn.getControlValue("vTIUCODSELE")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBNOMBAIRRO",gxz:"ZV26UsbNomBairro",gxold:"OV26UsbNomBairro",gxvar:"AV26UsbNomBairro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26UsbNomBairro=a
},v2z:function(a){gx.O.ZV26UsbNomBairro=a},v2c:function(){gx.fn.setControlValue("vUSBNOMBAIRRO",gx.O.AV26UsbNomBairro,0)},c2v:function(){gx.O.AV26UsbNomBairro=this.val()},val:function(){return gx.fn.getControlValue("vUSBNOMBAIRRO")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[65]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBTURMA",gxz:"ZV43UsbTurma",gxold:"OV43UsbTurma",gxvar:"AV43UsbTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43UsbTurma=a
},v2z:function(a){gx.O.ZV43UsbTurma=a},v2c:function(){gx.fn.setControlValue("vUSBTURMA",gx.O.AV43UsbTurma,0)},c2v:function(){gx.O.AV43UsbTurma=this.val()},val:function(){return gx.fn.getControlValue("vUSBTURMA")},nac:function(){return false}};this.GXValidFnc[67]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDATIVO",gxz:"ZV9IndAtivo",gxold:"OV9IndAtivo",gxvar:"AV9IndAtivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV9IndAtivo=a
},v2z:function(a){gx.O.ZV9IndAtivo=a},v2c:function(){gx.fn.setComboBoxValue("vINDATIVO",gx.O.AV9IndAtivo)},c2v:function(){gx.O.AV9IndAtivo=this.val()},val:function(){return gx.fn.getControlValue("vINDATIVO")},nac:function(){return false}};this.GXValidFnc[70]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV33ImgEditar",gxold:"OV33ImgEditar",gxvar:"AV33ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33ImgEditar=a
},v2z:function(a){gx.O.ZV33ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV33ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[71]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[75,78,79,71,72],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(69),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[72]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbnom,isvalid:null,fld:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a
},v2z:function(a){gx.O.Z786UsbNom=a},v2c:function(){gx.fn.setGridControlValue("USBNOM",gx.fn.currentGridRowImpl(69),gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOM",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[73]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"SETCOD",gxz:"Z779SetCod",gxold:"O779SetCod",gxvar:"A779SetCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A779SetCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z779SetCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SETCOD",gx.fn.currentGridRowImpl(69),gx.O.A779SetCod,0)},c2v:function(){gx.O.A779SetCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("SETCOD",gx.fn.currentGridRowImpl(69),".")},nac:function(){return false}};this.GXValidFnc[74]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"TIUCOD",gxz:"Z883TiuCod",gxold:"O883TiuCod",gxvar:"A883TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A883TiuCod=a
},v2z:function(a){gx.O.Z883TiuCod=a},v2c:function(){gx.fn.setGridControlValue("TIUCOD",gx.fn.currentGridRowImpl(69),gx.O.A883TiuCod,0)},c2v:function(){gx.O.A883TiuCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIUCOD",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[75]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbturma,isvalid:null,fld:"USBTURMA",gxz:"Z960UsbTurma",gxold:"O960UsbTurma",gxvar:"A960UsbTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A960UsbTurma=a
},v2z:function(a){gx.O.Z960UsbTurma=a},v2c:function(){gx.fn.setGridControlValue("USBTURMA",gx.fn.currentGridRowImpl(69),gx.O.A960UsbTurma,0)},c2v:function(){gx.O.A960UsbTurma=this.val()},val:function(){return gx.fn.getGridControlValue("USBTURMA",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[76]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vGRDDATVALIDADE",gxz:"ZV36GrdDatValidade",gxold:"OV36GrdDatValidade",gxvar:"AV36GrdDatValidade",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36GrdDatValidade=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV36GrdDatValidade=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATVALIDADE",gx.fn.currentGridRowImpl(69),gx.O.AV36GrdDatValidade,0)},c2v:function(){gx.O.AV36GrdDatValidade=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATVALIDADE",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[77]={lvl:2,type:"char",len:45,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"USBDESENDE",gxz:"Z935UsbDesEnde",gxold:"O935UsbDesEnde",gxvar:"A935UsbDesEnde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A935UsbDesEnde=a
},v2z:function(a){gx.O.Z935UsbDesEnde=a},v2c:function(){gx.fn.setGridControlValue("USBDESENDE",gx.fn.currentGridRowImpl(69),gx.O.A935UsbDesEnde,0)},c2v:function(){gx.O.A935UsbDesEnde=this.val()},val:function(){return gx.fn.getGridControlValue("USBDESENDE",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[78]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbnombair,isvalid:null,fld:"USBNOMBAIR",gxz:"Z944UsbNomBair",gxold:"O944UsbNomBair",gxvar:"A944UsbNomBair",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A944UsbNomBair=a
},v2z:function(a){gx.O.Z944UsbNomBair=a},v2c:function(){gx.fn.setGridControlValue("USBNOMBAIR",gx.fn.currentGridRowImpl(69),gx.O.A944UsbNomBair,0)},c2v:function(){gx.O.A944UsbNomBair=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOMBAIR",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[79]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbnomcida,isvalid:null,fld:"USBNOMCIDA",gxz:"Z945UsbNomCida",gxold:"O945UsbNomCida",gxvar:"A945UsbNomCida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A945UsbNomCida=a
},v2z:function(a){gx.O.Z945UsbNomCida=a},v2c:function(){gx.fn.setGridControlValue("USBNOMCIDA",gx.fn.currentGridRowImpl(69),gx.O.A945UsbNomCida,0)},c2v:function(){gx.O.A945UsbNomCida=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOMCIDA",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[80]={lvl:2,type:"int",len:15,dec:0,sign:false,pic:"ZZZZZZZZZZZZZZ9",ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"USBNROCPF",gxz:"Z951UsbNroCPF",gxold:"O951UsbNroCPF",gxvar:"A951UsbNroCPF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A951UsbNroCPF=gx.num.intval(a)
},v2z:function(a){gx.O.Z951UsbNroCPF=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("USBNROCPF",gx.fn.currentGridRowImpl(69),gx.O.A951UsbNroCPF,0)},c2v:function(){gx.O.A951UsbNroCPF=this.val()},val:function(){return gx.fn.getGridIntegerValue("USBNROCPF",gx.fn.currentGridRowImpl(69),".")},nac:function(){return false}};this.GXValidFnc[81]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"USBENDELET",gxz:"Z941UsbEndElet",gxold:"O941UsbEndElet",gxvar:"A941UsbEndElet",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A941UsbEndElet=a
},v2z:function(a){gx.O.Z941UsbEndElet=a},v2c:function(){gx.fn.setGridControlValue("USBENDELET",gx.fn.currentGridRowImpl(69),gx.O.A941UsbEndElet,0)},c2v:function(){gx.O.A941UsbEndElet=this.val()},val:function(){return gx.fn.getGridControlValue("USBENDELET",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[82]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vGRDDATATUALIZACAO",gxz:"ZV40GrdDatAtualizacao",gxold:"OV40GrdDatAtualizacao",gxvar:"AV40GrdDatAtualizacao",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV40GrdDatAtualizacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV40GrdDatAtualizacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATATUALIZACAO",gx.fn.currentGridRowImpl(69),gx.O.AV40GrdDatAtualizacao,0)},c2v:function(){gx.O.AV40GrdDatAtualizacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATATUALIZACAO",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[83]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vGRDDATCADASTRO",gxz:"ZV37GrdDatCadastro",gxold:"OV37GrdDatCadastro",gxvar:"AV37GrdDatCadastro",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV37GrdDatCadastro=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV37GrdDatCadastro=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATCADASTRO",gx.fn.currentGridRowImpl(69),gx.O.AV37GrdDatCadastro,0)},c2v:function(){gx.O.AV37GrdDatCadastro=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATCADASTRO",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[84]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"USBINDATIV",gxz:"Z942UsbIndAtiv",gxold:"O942UsbIndAtiv",gxvar:"A942UsbIndAtiv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A942UsbIndAtiv=a
},v2z:function(a){gx.O.Z942UsbIndAtiv=a},v2c:function(){gx.fn.setGridComboBoxValue("USBINDATIV",gx.fn.currentGridRowImpl(69),gx.O.A942UsbIndAtiv)},c2v:function(){gx.O.A942UsbIndAtiv=this.val()},val:function(){return gx.fn.getGridControlValue("USBINDATIV",gx.fn.currentGridRowImpl(69))},nac:function(){return false}};this.GXValidFnc[85]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:69,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDQTDRESERVASATIVAS",gxz:"ZV38GrdQtdReservasAtivas",gxold:"OV38GrdQtdReservasAtivas",gxvar:"AV38GrdQtdReservasAtivas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV38GrdQtdReservasAtivas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV38GrdQtdReservasAtivas=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDQTDRESERVASATIVAS",gx.fn.currentGridRowImpl(69),gx.O.AV38GrdQtdReservasAtivas,0)},c2v:function(){gx.O.AV38GrdQtdReservasAtivas=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDQTDRESERVASATIVAS",gx.fn.currentGridRowImpl(69),".")},nac:function(){return false}};this.GXValidFnc[88]={fld:"TABLE7",grid:0};this.GXValidFnc[91]={fld:"TIPO_NUMERACAO",format:0,grid:0};this.GXValidFnc[93]={fld:"TB_QTDLIDA",format:0,grid:0};
this.GXValidFnc[95]={fld:"PROMPT_UNDCODSELE",grid:0};this.GXValidFnc[96]={fld:"PROMPT_TIUCODSELE",grid:0};this.AV14NomeInicial="";this.ZV14NomeInicial="";this.OV14NomeInicial="";this.AV11ScrNomeContendo="";this.ZV11ScrNomeContendo="";this.OV11ScrNomeContendo="";this.AV23UndCodSele=0;this.ZV23UndCodSele=0;this.OV23UndCodSele=0;this.AV25UsbCodAux="";this.ZV25UsbCodAux="";this.OV25UsbCodAux="";this.AV30UsbNroCPF=0;this.ZV30UsbNroCPF=0;this.OV30UsbNroCPF=0;this.AV41ScrNomeCidade="";this.ZV41ScrNomeCidade="";
this.OV41ScrNomeCidade="";this.AV21TiuCodSele="";this.ZV21TiuCodSele="";this.OV21TiuCodSele="";this.AV26UsbNomBairro="";this.ZV26UsbNomBairro="";this.OV26UsbNomBairro="";this.AV43UsbTurma="";this.ZV43UsbTurma="";this.OV43UsbTurma="";this.AV9IndAtivo="";this.ZV9IndAtivo="";this.OV9IndAtivo="";this.ZV33ImgEditar="";this.OV33ImgEditar="";this.Z787UsbCod="";this.O787UsbCod="";this.Z786UsbNom="";this.O786UsbNom="";this.Z779SetCod=0;this.O779SetCod=0;this.Z883TiuCod="";this.O883TiuCod="";this.Z960UsbTurma="";
this.O960UsbTurma="";this.ZV36GrdDatValidade=gx.date.nullDate();this.OV36GrdDatValidade=gx.date.nullDate();this.Z935UsbDesEnde="";this.O935UsbDesEnde="";this.Z944UsbNomBair="";this.O944UsbNomBair="";this.Z945UsbNomCida="";this.O945UsbNomCida="";this.Z951UsbNroCPF=0;this.O951UsbNroCPF=0;this.Z941UsbEndElet="";this.O941UsbEndElet="";this.ZV40GrdDatAtualizacao=gx.date.nullDate();this.OV40GrdDatAtualizacao=gx.date.nullDate();this.ZV37GrdDatCadastro=gx.date.nullDate();this.OV37GrdDatCadastro=gx.date.nullDate();
this.Z942UsbIndAtiv="";this.O942UsbIndAtiv="";this.ZV38GrdQtdReservasAtivas=0;this.OV38GrdQtdReservasAtivas=0;this.A934UsbDatVali=gx.date.nullDate();this.A929UsbDatCada=gx.date.nullDate();this.A928UsbDatAtua=gx.date.nullDate();this.A948UsbNomSemA="";this.AV33ImgEditar="";this.A787UsbCod="";this.A786UsbNom="";this.A779SetCod=0;this.A883TiuCod="";this.A960UsbTurma="";this.AV36GrdDatValidade=gx.date.nullDate();this.A935UsbDesEnde="";this.A944UsbNomBair="";this.A945UsbNomCida="";this.A951UsbNroCPF=0;
this.A941UsbEndElet="";this.AV40GrdDatAtualizacao=gx.date.nullDate();this.AV37GrdDatCadastro=gx.date.nullDate();this.A942UsbIndAtiv="";this.AV38GrdQtdReservasAtivas=0;this.ServerEvents=["e16fm2_client","e12fm2_client","e13fm2_client","e14fm2_client","e20fm1_client"];this.setPrompt("PROMPT_UNDCODSELE",[33]);this.setPrompt("PROMPT_TIUCODSELE",[57]);this.VarControlMap.A948UsbNomSemA={id:"USBNOMSEMA",grid:0,type:"char"};this.VarControlMap.AV18QtdLida={id:"vQTDLIDA",grid:0,type:"int"};this.VarControlMap.A928UsbDatAtua={id:"USBDATATUA",grid:0,type:"date"};
this.VarControlMap.A929UsbDatCada={id:"USBDATCADA",grid:0,type:"date"};this.VarControlMap.A934UsbDatVali={id:"USBDATVALI",grid:0,type:"date"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[25]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[29]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[33]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[49]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[53]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[57]);
this.Subfile1Container.addRefreshingVar(this.GXValidFnc[61]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[65]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[67]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV18QtdLida"});this.Subfile1Container.addRefreshingVar({rfrVar:"A928UsbDatAtua"});this.Subfile1Container.addRefreshingVar({rfrVar:"A929UsbDatCada"});this.Subfile1Container.addRefreshingVar({rfrVar:"A934UsbDatVali"});this.SetStandaloneVars()}himh198.prototype=new gx.GxObject;
gx.setParentObj(new himh198());