gx.evt.autoSkip=false;function himh221(){this.ServerClass="HImh221";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e12h62_client=function(){this.executeServerEvent("ENTER",true)};this.e13h62_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15h62_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,11,14,17,19,22,24,26,29,31,34,36,38,41,43,46,48,51,53,55,56,57];
this.GXLastCtrlId=57;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[14]={fld:"TABLE2",grid:0};this.GXValidFnc[17]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROUNIDADEDEPOSITARIA",gxz:"ZV5ScrNroUnidadeDepositaria",gxold:"OV5ScrNroUnidadeDepositaria",gxvar:"AV5ScrNroUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ScrNroUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5ScrNroUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROUNIDADEDEPOSITARIA",gx.O.AV5ScrNroUnidadeDepositaria,0)},c2v:function(){gx.O.AV5ScrNroUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROLOCALIZACAO",gxz:"ZV6ScrNroLocalizacao",gxold:"OV6ScrNroLocalizacao",gxvar:"AV6ScrNroLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6ScrNroLocalizacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6ScrNroLocalizacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROLOCALIZACAO",gx.O.AV6ScrNroLocalizacao,0)},c2v:function(){gx.O.AV6ScrNroLocalizacao=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROLOCALIZACAO",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[31]={fld:"TABLE4",grid:0};this.GXValidFnc[34]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDATINICIAL",gxz:"ZV7ScrDatInicial",gxold:"OV7ScrDatInicial",gxvar:"AV7ScrDatInicial",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.AV7ScrDatInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV7ScrDatInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDATINICIAL",gx.O.AV7ScrDatInicial,0)},c2v:function(){gx.O.AV7ScrDatInicial=this.val()},val:function(){return gx.fn.getControlValue("vSCRDATINICIAL")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDATFINAL",gxz:"ZV8ScrDatFinal",gxold:"OV8ScrDatFinal",gxvar:"AV8ScrDatFinal",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.AV8ScrDatFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV8ScrDatFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDATFINAL",gx.O.AV8ScrDatFinal,0)},c2v:function(){gx.O.AV8ScrDatFinal=this.val()},val:function(){return gx.fn.getControlValue("vSCRDATFINAL")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRROLTIPODOCUMENTO",gxz:"ZV9ScrRolTipoDocumento",gxold:"OV9ScrRolTipoDocumento",gxvar:"AV9ScrRolTipoDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9ScrRolTipoDocumento=a
},v2z:function(a){gx.O.ZV9ScrRolTipoDocumento=a},v2c:function(){gx.fn.setControlValue("vSCRROLTIPODOCUMENTO",gx.O.AV9ScrRolTipoDocumento,0)},c2v:function(){gx.O.AV9ScrRolTipoDocumento=this.val()},val:function(){return gx.fn.getControlValue("vSCRROLTIPODOCUMENTO")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDDETALHAREXEMPLARES",gxz:"ZV10ScrIndDetalharExemplares",gxold:"OV10ScrIndDetalharExemplares",gxvar:"AV10ScrIndDetalharExemplares",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV10ScrIndDetalharExemplares=a
},v2z:function(a){gx.O.ZV10ScrIndDetalharExemplares=a},v2c:function(){gx.fn.setRadioValue("vSCRINDDETALHAREXEMPLARES",gx.O.AV10ScrIndDetalharExemplares)},c2v:function(){gx.O.AV10ScrIndDetalharExemplares=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDDETALHAREXEMPLARES")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDORDEMEXIBICAO",gxz:"ZV11ScrIndOrdemExibicao",gxold:"OV11ScrIndOrdemExibicao",gxvar:"AV11ScrIndOrdemExibicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV11ScrIndOrdemExibicao=a
},v2z:function(a){gx.O.ZV11ScrIndOrdemExibicao=a},v2c:function(){gx.fn.setComboBoxValue("vSCRINDORDEMEXIBICAO",gx.O.AV11ScrIndOrdemExibicao)},c2v:function(){gx.O.AV11ScrIndOrdemExibicao=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDORDEMEXIBICAO")},nac:function(){return false}};this.GXValidFnc[55]={fld:"PROMPT_SCRNROUNIDADEDEPOSITARIA",grid:0};this.GXValidFnc[56]={fld:"PROMPT_SCRNROLOCALIZACAO",grid:0};this.GXValidFnc[57]={fld:"PROMPT_SCRROLTIPODOCUMENTO",grid:0};this.AV5ScrNroUnidadeDepositaria=0;
this.ZV5ScrNroUnidadeDepositaria=0;this.OV5ScrNroUnidadeDepositaria=0;this.AV6ScrNroLocalizacao=0;this.ZV6ScrNroLocalizacao=0;this.OV6ScrNroLocalizacao=0;this.AV7ScrDatInicial=gx.date.nullDate();this.ZV7ScrDatInicial=gx.date.nullDate();this.OV7ScrDatInicial=gx.date.nullDate();this.AV8ScrDatFinal=gx.date.nullDate();this.ZV8ScrDatFinal=gx.date.nullDate();this.OV8ScrDatFinal=gx.date.nullDate();this.AV9ScrRolTipoDocumento="";this.ZV9ScrRolTipoDocumento="";this.OV9ScrRolTipoDocumento="";this.AV10ScrIndDetalharExemplares="";
this.ZV10ScrIndDetalharExemplares="";this.OV10ScrIndDetalharExemplares="";this.AV11ScrIndOrdemExibicao="";this.ZV11ScrIndOrdemExibicao="";this.OV11ScrIndOrdemExibicao="";this.ServerEvents=["e12h62_client","e13h62_client","e15h62_client"];this.setPrompt("PROMPT_SCRNROUNIDADEDEPOSITARIA",[22]);this.setPrompt("PROMPT_SCRNROLOCALIZACAO",[26]);this.setPrompt("PROMPT_SCRROLTIPODOCUMENTO",[43]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh221.prototype=new gx.GxObject;gx.setParentObj(new himh221());