gx.evt.autoSkip=false;function himh106(){this.ServerClass="HImh106";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Usbini=function(){try{var a=gx.util.balloon.getNew("vUSBINI");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115t2_client=function(){this.executeServerEvent("ENTER",true)};this.e135t2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e165t2_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,21,23,26,29,31,34,36,39,41,43,46,48,51,53,55,58,60,62,65,67,70,72,75,77,80,82,85,87,90,92,93,94,95];this.GXLastCtrlId=95;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:140,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vROLUSUARIOS",gxz:"ZV36RolUsuarios",gxold:"OV36RolUsuarios",gxvar:"AV36RolUsuarios",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36RolUsuarios=a
},v2z:function(a){gx.O.ZV36RolUsuarios=a},v2c:function(){gx.fn.setControlValue("vROLUSUARIOS",gx.O.AV36RolUsuarios,0)},c2v:function(){gx.O.AV36RolUsuarios=this.val()},val:function(){return gx.fn.getControlValue("vROLUSUARIOS")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[29]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPUSUARIO",gxz:"ZV5TipUsuario",gxold:"OV5TipUsuario",gxvar:"AV5TipUsuario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5TipUsuario=a
},v2z:function(a){gx.O.ZV5TipUsuario=a},v2c:function(){gx.fn.setControlValue("vTIPUSUARIO",gx.O.AV5TipUsuario,0)},c2v:function(){gx.O.AV5TipUsuario=this.val()},val:function(){return gx.fn.getControlValue("vTIPUSUARIO")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[36]={fld:"TABLE3",grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbini,isvalid:null,fld:"vUSBINI",gxz:"ZV7UsbIni",gxold:"OV7UsbIni",gxvar:"AV7UsbIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7UsbIni=a
},v2z:function(a){gx.O.ZV7UsbIni=a},v2c:function(){gx.fn.setControlValue("vUSBINI",gx.O.AV7UsbIni,0)},c2v:function(){gx.O.AV7UsbIni=this.val()},val:function(){return gx.fn.getControlValue("vUSBINI")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBFIM",gxz:"ZV8UsbFim",gxold:"OV8UsbFim",gxvar:"AV8UsbFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8UsbFim=a
},v2z:function(a){gx.O.ZV8UsbFim=a},v2c:function(){gx.fn.setControlValue("vUSBFIM",gx.O.AV8UsbFim,0)},c2v:function(){gx.O.AV8UsbFim=this.val()},val:function(){return gx.fn.getControlValue("vUSBFIM")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[48]={fld:"TABLE4",grid:0};this.GXValidFnc[51]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATCADINI",gxz:"ZV14DatCadIni",gxold:"OV14DatCadIni",gxvar:"AV14DatCadIni",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DatCadIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV14DatCadIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATCADINI",gx.O.AV14DatCadIni,0)},c2v:function(){gx.O.AV14DatCadIni=this.val()},val:function(){return gx.fn.getControlValue("vDATCADINI")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[55]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATCADFIM",gxz:"ZV15DatCadFim",gxold:"OV15DatCadFim",gxvar:"AV15DatCadFim",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15DatCadFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV15DatCadFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATCADFIM",gx.O.AV15DatCadFim,0)},c2v:function(){gx.O.AV15DatCadFim=this.val()},val:function(){return gx.fn.getControlValue("vDATCADFIM")},nac:function(){return false}};this.GXValidFnc[58]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[60]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBTURMA",gxz:"ZV39UsbTurma",gxold:"OV39UsbTurma",gxvar:"AV39UsbTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV39UsbTurma=a
},v2z:function(a){gx.O.ZV39UsbTurma=a},v2c:function(){gx.fn.setControlValue("vUSBTURMA",gx.O.AV39UsbTurma,0)},c2v:function(){gx.O.AV39UsbTurma=this.val()},val:function(){return gx.fn.getControlValue("vUSBTURMA")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE5",grid:0};this.GXValidFnc[65]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDCLASSI",gxz:"ZV21IndClassi",gxold:"OV21IndClassi",gxvar:"AV21IndClassi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV21IndClassi=a
},v2z:function(a){gx.O.ZV21IndClassi=a},v2c:function(){gx.fn.setComboBoxValue("vINDCLASSI",gx.O.AV21IndClassi)},c2v:function(){gx.O.AV21IndClassi=this.val()},val:function(){return gx.fn.getControlValue("vINDCLASSI")},nac:function(){return false}};this.GXValidFnc[70]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[72]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vINDLAYOUT",gxz:"ZV18IndLayOut",gxold:"OV18IndLayOut",gxvar:"AV18IndLayOut",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV18IndLayOut=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18IndLayOut=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vINDLAYOUT",gx.O.AV18IndLayOut)},c2v:function(){gx.O.AV18IndLayOut=this.val()},val:function(){return gx.fn.getIntegerValue("vINDLAYOUT",".")},nac:function(){return false}};this.GXValidFnc[75]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[77]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLINETQSALT",gxz:"ZV19LinEtqSalt",gxold:"OV19LinEtqSalt",gxvar:"AV19LinEtqSalt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19LinEtqSalt=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19LinEtqSalt=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLINETQSALT",gx.O.AV19LinEtqSalt,0)},c2v:function(){gx.O.AV19LinEtqSalt=this.val()},val:function(){return gx.fn.getIntegerValue("vLINETQSALT",".")},nac:function(){return false}};this.GXValidFnc[80]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[82]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCOLETQSALT",gxz:"ZV23ColEtqSalt",gxold:"OV23ColEtqSalt",gxvar:"AV23ColEtqSalt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23ColEtqSalt=gx.num.intval(a)
},v2z:function(a){gx.O.ZV23ColEtqSalt=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCOLETQSALT",gx.O.AV23ColEtqSalt,0)},c2v:function(){gx.O.AV23ColEtqSalt=this.val()},val:function(){return gx.fn.getIntegerValue("vCOLETQSALT",".")},nac:function(){return false}};this.GXValidFnc[85]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[87]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLINTEXSALT",gxz:"ZV20LinTexSalt",gxold:"OV20LinTexSalt",gxvar:"AV20LinTexSalt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20LinTexSalt=gx.num.intval(a)
},v2z:function(a){gx.O.ZV20LinTexSalt=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLINTEXSALT",gx.O.AV20LinTexSalt,0)},c2v:function(){gx.O.AV20LinTexSalt=this.val()},val:function(){return gx.fn.getIntegerValue("vLINTEXSALT",".")},nac:function(){return false}};this.GXValidFnc[90]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[92]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTEXTOADD",gxz:"ZV22TextoAdd",gxold:"OV22TextoAdd",gxvar:"AV22TextoAdd",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22TextoAdd=a
},v2z:function(a){gx.O.ZV22TextoAdd=a},v2c:function(){gx.fn.setControlValue("vTEXTOADD",gx.O.AV22TextoAdd,0)},c2v:function(){gx.O.AV22TextoAdd=this.val()},val:function(){return gx.fn.getControlValue("vTEXTOADD")},nac:function(){return false}};this.GXValidFnc[93]={fld:"PROMPT_TIPUSUARIO",grid:0};this.GXValidFnc[94]={fld:"PROMPT_USBINI",grid:0};this.GXValidFnc[95]={fld:"PROMPT_USBFIM",grid:0};this.AV36RolUsuarios="";this.ZV36RolUsuarios="";this.OV36RolUsuarios="";this.AV5TipUsuario="";this.ZV5TipUsuario="";
this.OV5TipUsuario="";this.AV7UsbIni="";this.ZV7UsbIni="";this.OV7UsbIni="";this.AV8UsbFim="";this.ZV8UsbFim="";this.OV8UsbFim="";this.AV14DatCadIni=gx.date.nullDate();this.ZV14DatCadIni=gx.date.nullDate();this.OV14DatCadIni=gx.date.nullDate();this.AV15DatCadFim=gx.date.nullDate();this.ZV15DatCadFim=gx.date.nullDate();this.OV15DatCadFim=gx.date.nullDate();this.AV39UsbTurma="";this.ZV39UsbTurma="";this.OV39UsbTurma="";this.AV21IndClassi="";this.ZV21IndClassi="";this.OV21IndClassi="";this.AV18IndLayOut=0;
this.ZV18IndLayOut=0;this.OV18IndLayOut=0;this.AV19LinEtqSalt=0;this.ZV19LinEtqSalt=0;this.OV19LinEtqSalt=0;this.AV23ColEtqSalt=0;this.ZV23ColEtqSalt=0;this.OV23ColEtqSalt=0;this.AV20LinTexSalt=0;this.ZV20LinTexSalt=0;this.OV20LinTexSalt=0;this.AV22TextoAdd="";this.ZV22TextoAdd="";this.OV22TextoAdd="";this.A787UsbCod="";this.A786UsbNom="";this.ServerEvents=["e115t2_client","e135t2_client","e165t2_client"];this.setPrompt("PROMPT_TIPUSUARIO",[31]);this.setPrompt("PROMPT_USBINI",[39]);this.setPrompt("PROMPT_USBFIM",[43]);
this.EnterCtrl=["CONFIRMA"];this.SetStandaloneVars()}himh106.prototype=new gx.GxObject;gx.setParentObj(new himh106());