gx.evt.autoSkip=false;function himh178(){this.ServerClass="HImh178";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV26DocNro=gx.fn.getIntegerValue("vDOCNRO",".")};this.Validv_Usrnroitem=function(){try{var a=gx.util.balloon.getNew("vUSRNROITEM");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Usrcodunidadedepositaria=function(){try{var a=gx.util.balloon.getNew("vUSRCODUNIDADEDEPOSITARIA");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Usrnroexemplar=function(){try{var a=gx.util.balloon.getNew("vUSRNROEXEMPLAR");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Grdcodunidadedepositaria=function(){try{var a=gx.util.balloon.getNew("vGRDCODUNIDADEDEPOSITARIA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Grdnroexemplar=function(){try{var a=gx.util.balloon.getNew("vGRDNROEXEMPLAR");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Grdnroitem=function(){try{var a=gx.util.balloon.getNew("vGRDNROITEM");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e22eh2_client=function(){this.clearMessages();if(this.AV122GrdIndPodeAcessar=="S"){gx.popup.openUrl(gx.http.formatLink("timt019",[this.AV26DocNro,this.AV54GrdCodUnidadeDepositaria,this.AV55GrdNroExemplar]),["AV26DocNro","AV54GrdCodUnidadeDepositaria","AV55GrdNroExemplar"])
}else{this.addMessage("Operador sem permissão de acesso")}this.refreshOutputs([])};this.e21eh2_client=function(){this.clearMessages();if(this.AV122GrdIndPodeAcessar=="S"){gx.popup.openUrl(gx.http.formatLink("timt080",[this.AV26DocNro,this.AV54GrdCodUnidadeDepositaria,this.AV55GrdNroExemplar]),["AV26DocNro","AV54GrdCodUnidadeDepositaria","AV55GrdNroExemplar"])}else{this.addMessage("Operador sem permissão de acesso")}this.refreshOutputs([])};this.e20eh1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("habw029",[]),[]);
this.refreshOutputs([])};this.e11eh2_client=function(){this.executeServerEvent("ENTER",true)};this.e12eh2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e13eh2_client=function(){this.executeServerEvent("'INSERçãO EM LOTE'",false)};this.e14eh2_client=function(){this.executeServerEvent("'CANCELAR'",false)};this.e15eh2_client=function(){this.executeServerEvent("'REGISTRO MARC'",false)};this.e19eh2_client=function(){this.executeServerEvent("VGRDIMGLINKEXEMPLAR.CLICK",true,arguments[0])
};this.e23eh2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,18,21,24,27,29,32,35,37,39,41,43,45,47,49,51,53,55,57,59,62,64,66,68,70,72,74,76,78,80,82,84,86,89,92,94,96,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,126,129,131,133,134,135,136,137];this.GXLastCtrlId=137;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",99,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh178",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Imgeditar","vIMGEDITAR",100,0,"px",17,"px",null,"","");this.Grid1Container.addBitmap("&Imgexcluir","vIMGEXCLUIR",101,0,"px",17,"px",null,"","");this.Grid1Container.addBitmap("&Imgreplicar","vIMGREPLICAR",102,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit("Grdcodunidadedepositaria",103,"vGRDCODUNIDADEDEPOSITARIA","Un","","GrdCodUnidadeDepositaria","int",0,"px",3,3,"right",null,[],"Grdcodunidadedepositaria","GrdCodUnidadeDepositaria",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnroexemplar",104,"vGRDNROEXEMPLAR","Ex","","GrdNroExemplar","int",0,"px",4,4,"right",null,[],"Grdnroexemplar","GrdNroExemplar",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnrovolume",105,"vGRDNROVOLUME","Vol","","GrdNroVolume","char",0,"px",5,5,"left",null,[],"Grdnrovolume","GrdNroVolume",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnrotomo",106,"vGRDNROTOMO","Tomo","","GrdNroTomo","char",0,"px",3,3,"left",null,[],"Grdnrotomo","GrdNroTomo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddscextensao",107,"vGRDDSCEXTENSAO","Extensão","","GrdDscExtensao","char",0,"px",20,20,"left",null,[],"Grddscextensao","GrdDscExtensao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdtipaquisicao",108,"vGRDTIPAQUISICAO","Tipo","","GrdTipAquisicao","char",135,"px",25,25,"left",null,[],"Grdtipaquisicao","GrdTipAquisicao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomlocalizacao",109,"vGRDNOMLOCALIZACAO","Localização","","GrdNomLocalizacao","char",0,"px",45,45,"left",null,[],"Grdnomlocalizacao","GrdNomLocalizacao",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdcodproprietario",110,"vGRDCODPROPRIETARIO","Propr.","","GrdCodProprietario","char",0,"px",3,3,"left",null,[],"Grdcodproprietario","GrdCodProprietario",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnroitem",111,"vGRDNROITEM","Item","","GrdNroItem","int",0,"px",6,6,"right",null,[],"Grdnroitem","GrdNroItem",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnrotombo",112,"vGRDNROTOMBO","Tombo","","GrdNroTombo","int",64,"px",9,9,"right",null,[],"Grdnrotombo","GrdNroTombo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddatcadastramento",113,"vGRDDATCADASTRAMENTO","Cadastro","","GrdDatCadastramento","date",68,"px",10,10,"right",null,[],"Grddatcadastramento","GrdDatCadastramento",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddataquisicao",114,"vGRDDATAQUISICAO","Aquisição","","GrdDatAquisicao","date",68,"px",10,10,"right",null,[],"Grddataquisicao","GrdDatAquisicao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsccategoriaemprestimo",115,"vGRDDSCCATEGORIAEMPRESTIMO","Cat.empréstimo","","GrdDscCategoriaEmprestimo","char",0,"px",30,30,"left",null,[],"Grddsccategoriaemprestimo","GrdDscCategoriaEmprestimo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddscsituacao",116,"vGRDDSCSITUACAO","Situação","","GrdDscSituacao","char",0,"px",25,25,"left",null,[],"Grddscsituacao","GrdDscSituacao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddatbaixa",117,"vGRDDATBAIXA","Baixa","","GrdDatBaixa","date",68,"px",10,10,"right",null,[],"Grddatbaixa","GrdDatBaixa",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddscmotivobaixa",118,"vGRDDSCMOTIVOBAIXA","Motivo","","GrdDscMotivoBaixa","char",0,"px",25,25,"left",null,[],"Grddscmotivobaixa","GrdDscMotivoBaixa",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddscsituacaotombo",119,"vGRDDSCSITUACAOTOMBO","","","GrdDscSituacaoTombo","char",0,"px",31,31,"left",null,[],"Grddscsituacaotombo","GrdDscSituacaoTombo",true,0,false,false);this.Grid1Container.addBitmap("&Grdimglinkexemplar","vGRDIMGLINKEXEMPLAR",120,0,"px",17,"px","e19eh2_client","","");this.Grid1Container.addBitmap("&Grdimglinkacademico","vGRDIMGLINKACADEMICO",121,0,"px",17,"px","e21eh2_client","","");this.Grid1Container.addBitmap("&Grdimglinkcentrocusto","vGRDIMGLINKCENTROCUSTO",122,0,"px",17,"px","e22eh2_client","","");
this.Grid1Container.addSingleLineEdit("Grdindpodeacessar",123,"vGRDINDPODEACESSAR","","","GrdIndPodeAcessar","char",0,"px",1,1,"left",null,[],"Grdindpodeacessar","GrdIndPodeAcessar",false,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[21]={fld:"TABLE1",grid:0};this.GXValidFnc[24]={fld:"TABLE6",grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:9,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRDSCFUNCAO",gxz:"ZV71UsrDscFuncao",gxold:"OV71UsrDscFuncao",gxvar:"AV71UsrDscFuncao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV71UsrDscFuncao=a
},v2z:function(a){gx.O.ZV71UsrDscFuncao=a},v2c:function(){gx.fn.setControlValue("vUSRDSCFUNCAO",gx.O.AV71UsrDscFuncao,0)},c2v:function(){gx.O.AV71UsrDscFuncao=this.val()},val:function(){return gx.fn.getControlValue("vUSRDSCFUNCAO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE3",grid:0};this.GXValidFnc[35]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[37]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[39]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[41]={fld:"TEXTBLOCK7",format:0,grid:0};
this.GXValidFnc[43]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[45]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[47]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[49]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[51]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[53]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[55]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[57]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[59]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usrnroitem,isvalid:null,rgrid:[],fld:"vUSRNROITEM",gxz:"ZV75UsrNroItem",gxold:"OV75UsrNroItem",gxvar:"AV75UsrNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV75UsrNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV75UsrNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRNROITEM",gx.O.AV75UsrNroItem,0)},c2v:function(){gx.O.AV75UsrNroItem=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRNROITEM",".")},nac:function(){return false}};this.GXValidFnc[62]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usrcodunidadedepositaria,isvalid:null,rgrid:[],fld:"vUSRCODUNIDADEDEPOSITARIA",gxz:"ZV72UsrCodUnidadeDepositaria",gxold:"OV72UsrCodUnidadeDepositaria",gxvar:"AV72UsrCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV72UsrCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV72UsrCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODUNIDADEDEPOSITARIA",gx.O.AV72UsrCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV72UsrCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[64]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usrnroexemplar,isvalid:null,rgrid:[],fld:"vUSRNROEXEMPLAR",gxz:"ZV73UsrNroExemplar",gxold:"OV73UsrNroExemplar",gxvar:"AV73UsrNroExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV73UsrNroExemplar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV73UsrNroExemplar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRNROEXEMPLAR",gx.O.AV73UsrNroExemplar,0)},c2v:function(){gx.O.AV73UsrNroExemplar=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRNROEXEMPLAR",".")},nac:function(){return false}};this.GXValidFnc[66]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRNROVOLUME",gxz:"ZV76UsrNroVolume",gxold:"OV76UsrNroVolume",gxvar:"AV76UsrNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV76UsrNroVolume=a
},v2z:function(a){gx.O.ZV76UsrNroVolume=a},v2c:function(){gx.fn.setControlValue("vUSRNROVOLUME",gx.O.AV76UsrNroVolume,0)},c2v:function(){gx.O.AV76UsrNroVolume=this.val()},val:function(){return gx.fn.getControlValue("vUSRNROVOLUME")},nac:function(){return false}};this.GXValidFnc[68]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRNROTOMO",gxz:"ZV77UsrNroTomo",gxold:"OV77UsrNroTomo",gxvar:"AV77UsrNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV77UsrNroTomo=a
},v2z:function(a){gx.O.ZV77UsrNroTomo=a},v2c:function(){gx.fn.setControlValue("vUSRNROTOMO",gx.O.AV77UsrNroTomo,0)},c2v:function(){gx.O.AV77UsrNroTomo=this.val()},val:function(){return gx.fn.getControlValue("vUSRNROTOMO")},nac:function(){return false}};this.GXValidFnc[70]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRVALEXTENSAO",gxz:"ZV78UsrValExtensao",gxold:"OV78UsrValExtensao",gxvar:"AV78UsrValExtensao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV78UsrValExtensao=a
},v2z:function(a){gx.O.ZV78UsrValExtensao=a},v2c:function(){gx.fn.setControlValue("vUSRVALEXTENSAO",gx.O.AV78UsrValExtensao,0)},c2v:function(){gx.O.AV78UsrValExtensao=this.val()},val:function(){return gx.fn.getControlValue("vUSRVALEXTENSAO")},nac:function(){return false}};this.GXValidFnc[72]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRNROTOMBO",gxz:"ZV117UsrNroTombo",gxold:"OV117UsrNroTombo",gxvar:"AV117UsrNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV117UsrNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV117UsrNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRNROTOMBO",gx.O.AV117UsrNroTombo,0)},c2v:function(){gx.O.AV117UsrNroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRNROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[74]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRDATAQUISICAO",gxz:"ZV81UsrDatAquisicao",gxold:"OV81UsrDatAquisicao",gxvar:"AV81UsrDatAquisicao",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.AV81UsrDatAquisicao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV81UsrDatAquisicao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vUSRDATAQUISICAO",gx.O.AV81UsrDatAquisicao,0)},c2v:function(){gx.O.AV81UsrDatAquisicao=this.val()},val:function(){return gx.fn.getControlValue("vUSRDATAQUISICAO")},nac:function(){return false}};this.GXValidFnc[76]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRCODPROPRIETARIO",gxz:"ZV108UsrCodProprietario",gxold:"OV108UsrCodProprietario",gxvar:"AV108UsrCodProprietario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV108UsrCodProprietario=a
},v2z:function(a){gx.O.ZV108UsrCodProprietario=a},v2c:function(){gx.fn.setControlValue("vUSRCODPROPRIETARIO",gx.O.AV108UsrCodProprietario,0)},c2v:function(){gx.O.AV108UsrCodProprietario=this.val()},val:function(){return gx.fn.getControlValue("vUSRCODPROPRIETARIO")},nac:function(){return false}};this.GXValidFnc[78]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRCODTIPAQUISICAO",gxz:"ZV82UsrCodTipAquisicao",gxold:"OV82UsrCodTipAquisicao",gxvar:"AV82UsrCodTipAquisicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV82UsrCodTipAquisicao=a
},v2z:function(a){gx.O.ZV82UsrCodTipAquisicao=a},v2c:function(){gx.fn.setControlValue("vUSRCODTIPAQUISICAO",gx.O.AV82UsrCodTipAquisicao,0)},c2v:function(){gx.O.AV82UsrCodTipAquisicao=this.val()},val:function(){return gx.fn.getControlValue("vUSRCODTIPAQUISICAO")},nac:function(){return false}};this.GXValidFnc[80]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRCODLOCALIZACAO",gxz:"ZV83UsrCodLocalizacao",gxold:"OV83UsrCodLocalizacao",gxvar:"AV83UsrCodLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV83UsrCodLocalizacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV83UsrCodLocalizacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODLOCALIZACAO",gx.O.AV83UsrCodLocalizacao,0)},c2v:function(){gx.O.AV83UsrCodLocalizacao=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODLOCALIZACAO",".")},nac:function(){return false}};this.GXValidFnc[82]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRCODCATEGORIAEMPRESTIMO",gxz:"ZV84UsrCodCategoriaEmprestimo",gxold:"OV84UsrCodCategoriaEmprestimo",gxvar:"AV84UsrCodCategoriaEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV84UsrCodCategoriaEmprestimo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV84UsrCodCategoriaEmprestimo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODCATEGORIAEMPRESTIMO",gx.O.AV84UsrCodCategoriaEmprestimo,0)},c2v:function(){gx.O.AV84UsrCodCategoriaEmprestimo=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODCATEGORIAEMPRESTIMO",".")},nac:function(){return false}};this.GXValidFnc[84]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRTIPSITUACAO",gxz:"ZV130UsrTipSituacao",gxold:"OV130UsrTipSituacao",gxvar:"AV130UsrTipSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV130UsrTipSituacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV130UsrTipSituacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRTIPSITUACAO",gx.O.AV130UsrTipSituacao,0)},c2v:function(){gx.O.AV130UsrTipSituacao=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRTIPSITUACAO",".")},nac:function(){return false}};this.GXValidFnc[86]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDASSUMETOMBOLIVRE",gxz:"ZV33IndAssumeTomboLivre",gxold:"OV33IndAssumeTomboLivre",gxvar:"AV33IndAssumeTomboLivre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV33IndAssumeTomboLivre=a
},v2z:function(a){gx.O.ZV33IndAssumeTomboLivre=a},v2c:function(){gx.fn.setCheckBoxValue("vINDASSUMETOMBOLIVRE",gx.O.AV33IndAssumeTomboLivre,"S")},c2v:function(){gx.O.AV33IndAssumeTomboLivre=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDASSUMETOMBOLIVRE","S","N")},nac:function(){return false}};this.GXValidFnc[89]={fld:"TABLE4",grid:0};this.GXValidFnc[92]={fld:"DOCUMENTO",format:0,grid:0};this.GXValidFnc[94]={fld:"CHAMADA",format:0,grid:0};this.GXValidFnc[96]={fld:"QTDEXEMPLAR",format:0,grid:0};
this.GXValidFnc[100]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV68ImgEditar",gxold:"OV68ImgEditar",gxvar:"AV68ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV68ImgEditar=a},v2z:function(a){gx.O.ZV68ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV68ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(99))},nac:function(){return false
}};this.GXValidFnc[101]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEXCLUIR",gxz:"ZV69ImgExcluir",gxold:"OV69ImgExcluir",gxvar:"AV69ImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV69ImgExcluir=a},v2z:function(a){gx.O.ZV69ImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV69ImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEXCLUIR",gx.fn.currentGridRowImpl(99))},nac:function(){return false
}};this.GXValidFnc[102]={lvl:2,type:"bits",len:1,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGREPLICAR",gxz:"ZV104ImgReplicar",gxold:"OV104ImgReplicar",gxvar:"AV104ImgReplicar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV104ImgReplicar=a},v2z:function(a){gx.O.ZV104ImgReplicar=a},v2c:function(){},c2v:function(){gx.O.AV104ImgReplicar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGREPLICAR",gx.fn.currentGridRowImpl(99))
},nac:function(){return false}};this.GXValidFnc[103]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:99,gxgrid:this.Grid1Container,fnc:this.Validv_Grdcodunidadedepositaria,isvalid:null,rgrid:[],fld:"vGRDCODUNIDADEDEPOSITARIA",gxz:"ZV54GrdCodUnidadeDepositaria",gxold:"OV54GrdCodUnidadeDepositaria",gxvar:"AV54GrdCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV54GrdCodUnidadeDepositaria=gx.num.intval(a)},v2z:function(a){gx.O.ZV54GrdCodUnidadeDepositaria=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(99),gx.O.AV54GrdCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV54GrdCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(99),".")},nac:function(){return false}};this.GXValidFnc[104]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:99,gxgrid:this.Grid1Container,fnc:this.Validv_Grdnroexemplar,isvalid:null,rgrid:[],fld:"vGRDNROEXEMPLAR",gxz:"ZV55GrdNroExemplar",gxold:"OV55GrdNroExemplar",gxvar:"AV55GrdNroExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV55GrdNroExemplar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV55GrdNroExemplar=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROEXEMPLAR",gx.fn.currentGridRowImpl(99),gx.O.AV55GrdNroExemplar,0)},c2v:function(){gx.O.AV55GrdNroExemplar=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROEXEMPLAR",gx.fn.currentGridRowImpl(99),".")},nac:function(){return false}};this.GXValidFnc[105]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNROVOLUME",gxz:"ZV57GrdNroVolume",gxold:"OV57GrdNroVolume",gxvar:"AV57GrdNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV57GrdNroVolume=a
},v2z:function(a){gx.O.ZV57GrdNroVolume=a},v2c:function(){gx.fn.setGridControlValue("vGRDNROVOLUME",gx.fn.currentGridRowImpl(99),gx.O.AV57GrdNroVolume,0)},c2v:function(){gx.O.AV57GrdNroVolume=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNROVOLUME",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[106]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNROTOMO",gxz:"ZV58GrdNroTomo",gxold:"OV58GrdNroTomo",gxvar:"AV58GrdNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV58GrdNroTomo=a
},v2z:function(a){gx.O.ZV58GrdNroTomo=a},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMO",gx.fn.currentGridRowImpl(99),gx.O.AV58GrdNroTomo,0)},c2v:function(){gx.O.AV58GrdNroTomo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNROTOMO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[107]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCEXTENSAO",gxz:"ZV59GrdDscExtensao",gxold:"OV59GrdDscExtensao",gxvar:"AV59GrdDscExtensao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV59GrdDscExtensao=a
},v2z:function(a){gx.O.ZV59GrdDscExtensao=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCEXTENSAO",gx.fn.currentGridRowImpl(99),gx.O.AV59GrdDscExtensao,0)},c2v:function(){gx.O.AV59GrdDscExtensao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCEXTENSAO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[108]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDTIPAQUISICAO",gxz:"ZV63GrdTipAquisicao",gxold:"OV63GrdTipAquisicao",gxvar:"AV63GrdTipAquisicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV63GrdTipAquisicao=a
},v2z:function(a){gx.O.ZV63GrdTipAquisicao=a},v2c:function(){gx.fn.setGridControlValue("vGRDTIPAQUISICAO",gx.fn.currentGridRowImpl(99),gx.O.AV63GrdTipAquisicao,0)},c2v:function(){gx.O.AV63GrdTipAquisicao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPAQUISICAO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[109]={lvl:2,type:"char",len:45,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMLOCALIZACAO",gxz:"ZV64GrdNomLocalizacao",gxold:"OV64GrdNomLocalizacao",gxvar:"AV64GrdNomLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64GrdNomLocalizacao=a
},v2z:function(a){gx.O.ZV64GrdNomLocalizacao=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMLOCALIZACAO",gx.fn.currentGridRowImpl(99),gx.O.AV64GrdNomLocalizacao,0)},c2v:function(){gx.O.AV64GrdNomLocalizacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMLOCALIZACAO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[110]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODPROPRIETARIO",gxz:"ZV109GrdCodProprietario",gxold:"OV109GrdCodProprietario",gxvar:"AV109GrdCodProprietario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV109GrdCodProprietario=a
},v2z:function(a){gx.O.ZV109GrdCodProprietario=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODPROPRIETARIO",gx.fn.currentGridRowImpl(99),gx.O.AV109GrdCodProprietario,0)},c2v:function(){gx.O.AV109GrdCodProprietario=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODPROPRIETARIO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[111]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:99,gxgrid:this.Grid1Container,fnc:this.Validv_Grdnroitem,isvalid:null,rgrid:[],fld:"vGRDNROITEM",gxz:"ZV56GrdNroItem",gxold:"OV56GrdNroItem",gxvar:"AV56GrdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV56GrdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV56GrdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROITEM",gx.fn.currentGridRowImpl(99),gx.O.AV56GrdNroItem,0)},c2v:function(){gx.O.AV56GrdNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROITEM",gx.fn.currentGridRowImpl(99),".")},nac:function(){return false}};this.GXValidFnc[112]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTOMBO",gxz:"ZV60GrdNroTombo",gxold:"OV60GrdNroTombo",gxvar:"AV60GrdNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV60GrdNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV60GrdNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(99),gx.O.AV60GrdNroTombo,0)},c2v:function(){gx.O.AV60GrdNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(99),".")},nac:function(){return false}};this.GXValidFnc[113]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATCADASTRAMENTO",gxz:"ZV61GrdDatCadastramento",gxold:"OV61GrdDatCadastramento",gxvar:"AV61GrdDatCadastramento",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.AV61GrdDatCadastramento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV61GrdDatCadastramento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATCADASTRAMENTO",gx.fn.currentGridRowImpl(99),gx.O.AV61GrdDatCadastramento,0)},c2v:function(){gx.O.AV61GrdDatCadastramento=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATCADASTRAMENTO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[114]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATAQUISICAO",gxz:"ZV62GrdDatAquisicao",gxold:"OV62GrdDatAquisicao",gxvar:"AV62GrdDatAquisicao",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.AV62GrdDatAquisicao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV62GrdDatAquisicao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATAQUISICAO",gx.fn.currentGridRowImpl(99),gx.O.AV62GrdDatAquisicao,0)},c2v:function(){gx.O.AV62GrdDatAquisicao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATAQUISICAO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[115]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCCATEGORIAEMPRESTIMO",gxz:"ZV65GrdDscCategoriaEmprestimo",gxold:"OV65GrdDscCategoriaEmprestimo",gxvar:"AV65GrdDscCategoriaEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65GrdDscCategoriaEmprestimo=a
},v2z:function(a){gx.O.ZV65GrdDscCategoriaEmprestimo=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCCATEGORIAEMPRESTIMO",gx.fn.currentGridRowImpl(99),gx.O.AV65GrdDscCategoriaEmprestimo,0)},c2v:function(){gx.O.AV65GrdDscCategoriaEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCCATEGORIAEMPRESTIMO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[116]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCSITUACAO",gxz:"ZV131GrdDscSituacao",gxold:"OV131GrdDscSituacao",gxvar:"AV131GrdDscSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV131GrdDscSituacao=a
},v2z:function(a){gx.O.ZV131GrdDscSituacao=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCSITUACAO",gx.fn.currentGridRowImpl(99),gx.O.AV131GrdDscSituacao,0)},c2v:function(){gx.O.AV131GrdDscSituacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCSITUACAO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[117]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATBAIXA",gxz:"ZV66GrdDatBaixa",gxold:"OV66GrdDatBaixa",gxvar:"AV66GrdDatBaixa",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.AV66GrdDatBaixa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV66GrdDatBaixa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATBAIXA",gx.fn.currentGridRowImpl(99),gx.O.AV66GrdDatBaixa,0)},c2v:function(){gx.O.AV66GrdDatBaixa=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATBAIXA",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[118]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCMOTIVOBAIXA",gxz:"ZV67GrdDscMotivoBaixa",gxold:"OV67GrdDscMotivoBaixa",gxvar:"AV67GrdDscMotivoBaixa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV67GrdDscMotivoBaixa=a
},v2z:function(a){gx.O.ZV67GrdDscMotivoBaixa=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCMOTIVOBAIXA",gx.fn.currentGridRowImpl(99),gx.O.AV67GrdDscMotivoBaixa,0)},c2v:function(){gx.O.AV67GrdDscMotivoBaixa=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCMOTIVOBAIXA",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[119]={lvl:2,type:"char",len:31,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCSITUACAOTOMBO",gxz:"ZV129GrdDscSituacaoTombo",gxold:"OV129GrdDscSituacaoTombo",gxvar:"AV129GrdDscSituacaoTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV129GrdDscSituacaoTombo=a
},v2z:function(a){gx.O.ZV129GrdDscSituacaoTombo=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCSITUACAOTOMBO",gx.fn.currentGridRowImpl(99),gx.O.AV129GrdDscSituacaoTombo,0)},c2v:function(){gx.O.AV129GrdDscSituacaoTombo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCSITUACAOTOMBO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[120]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGLINKEXEMPLAR",gxz:"ZV118GrdImgLinkExemplar",gxold:"OV118GrdImgLinkExemplar",gxvar:"AV118GrdImgLinkExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV118GrdImgLinkExemplar=a
},v2z:function(a){gx.O.ZV118GrdImgLinkExemplar=a},v2c:function(){},c2v:function(){gx.O.AV118GrdImgLinkExemplar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGLINKEXEMPLAR",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[121]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGLINKACADEMICO",gxz:"ZV120GrdImgLinkAcademico",gxold:"OV120GrdImgLinkAcademico",gxvar:"AV120GrdImgLinkAcademico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV120GrdImgLinkAcademico=a
},v2z:function(a){gx.O.ZV120GrdImgLinkAcademico=a},v2c:function(){},c2v:function(){gx.O.AV120GrdImgLinkAcademico=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGLINKACADEMICO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[122]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGLINKCENTROCUSTO",gxz:"ZV119GrdImgLinkCentroCusto",gxold:"OV119GrdImgLinkCentroCusto",gxvar:"AV119GrdImgLinkCentroCusto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV119GrdImgLinkCentroCusto=a
},v2z:function(a){gx.O.ZV119GrdImgLinkCentroCusto=a},v2c:function(){},c2v:function(){gx.O.AV119GrdImgLinkCentroCusto=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGLINKCENTROCUSTO",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[123]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:99,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDINDPODEACESSAR",gxz:"ZV122GrdIndPodeAcessar",gxold:"OV122GrdIndPodeAcessar",gxvar:"AV122GrdIndPodeAcessar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV122GrdIndPodeAcessar=a
},v2z:function(a){gx.O.ZV122GrdIndPodeAcessar=a},v2c:function(){gx.fn.setGridControlValue("vGRDINDPODEACESSAR",gx.fn.currentGridRowImpl(99),gx.O.AV122GrdIndPodeAcessar,0)},c2v:function(){gx.O.AV122GrdIndPodeAcessar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDINDPODEACESSAR",gx.fn.currentGridRowImpl(99))},nac:function(){return false}};this.GXValidFnc[126]={fld:"TABLE5",grid:0};this.GXValidFnc[129]={fld:"QTDITENS",format:0,grid:0};this.GXValidFnc[131]={fld:"TOMBOSLIVRES",format:0,grid:0};
this.GXValidFnc[133]={fld:"PROMPT_USRCODUNIDADEDEPOSITARIA",grid:0};this.GXValidFnc[134]={fld:"PROMPT_USRCODTIPAQUISICAO",grid:0};this.GXValidFnc[135]={fld:"PROMPT_USRCODLOCALIZACAO",grid:0};this.GXValidFnc[136]={fld:"PROMPT_USRCODCATEGORIAEMPRESTIMO",grid:0};this.GXValidFnc[137]={fld:"PROMPT_USRTIPSITUACAO",grid:0};this.AV71UsrDscFuncao="";this.ZV71UsrDscFuncao="";this.OV71UsrDscFuncao="";this.AV75UsrNroItem=0;this.ZV75UsrNroItem=0;this.OV75UsrNroItem=0;this.AV72UsrCodUnidadeDepositaria=0;this.ZV72UsrCodUnidadeDepositaria=0;
this.OV72UsrCodUnidadeDepositaria=0;this.AV73UsrNroExemplar=0;this.ZV73UsrNroExemplar=0;this.OV73UsrNroExemplar=0;this.AV76UsrNroVolume="";this.ZV76UsrNroVolume="";this.OV76UsrNroVolume="";this.AV77UsrNroTomo="";this.ZV77UsrNroTomo="";this.OV77UsrNroTomo="";this.AV78UsrValExtensao="";this.ZV78UsrValExtensao="";this.OV78UsrValExtensao="";this.AV117UsrNroTombo=0;this.ZV117UsrNroTombo=0;this.OV117UsrNroTombo=0;this.AV81UsrDatAquisicao=gx.date.nullDate();this.ZV81UsrDatAquisicao=gx.date.nullDate();this.OV81UsrDatAquisicao=gx.date.nullDate();
this.AV108UsrCodProprietario="";this.ZV108UsrCodProprietario="";this.OV108UsrCodProprietario="";this.AV82UsrCodTipAquisicao="";this.ZV82UsrCodTipAquisicao="";this.OV82UsrCodTipAquisicao="";this.AV83UsrCodLocalizacao=0;this.ZV83UsrCodLocalizacao=0;this.OV83UsrCodLocalizacao=0;this.AV84UsrCodCategoriaEmprestimo=0;this.ZV84UsrCodCategoriaEmprestimo=0;this.OV84UsrCodCategoriaEmprestimo=0;this.AV130UsrTipSituacao=0;this.ZV130UsrTipSituacao=0;this.OV130UsrTipSituacao=0;this.AV33IndAssumeTomboLivre="";this.ZV33IndAssumeTomboLivre="";
this.OV33IndAssumeTomboLivre="";this.ZV68ImgEditar="";this.OV68ImgEditar="";this.ZV69ImgExcluir="";this.OV69ImgExcluir="";this.ZV104ImgReplicar="";this.OV104ImgReplicar="";this.ZV54GrdCodUnidadeDepositaria=0;this.OV54GrdCodUnidadeDepositaria=0;this.ZV55GrdNroExemplar=0;this.OV55GrdNroExemplar=0;this.ZV57GrdNroVolume="";this.OV57GrdNroVolume="";this.ZV58GrdNroTomo="";this.OV58GrdNroTomo="";this.ZV59GrdDscExtensao="";this.OV59GrdDscExtensao="";this.ZV63GrdTipAquisicao="";this.OV63GrdTipAquisicao="";
this.ZV64GrdNomLocalizacao="";this.OV64GrdNomLocalizacao="";this.ZV109GrdCodProprietario="";this.OV109GrdCodProprietario="";this.ZV56GrdNroItem=0;this.OV56GrdNroItem=0;this.ZV60GrdNroTombo=0;this.OV60GrdNroTombo=0;this.ZV61GrdDatCadastramento=gx.date.nullDate();this.OV61GrdDatCadastramento=gx.date.nullDate();this.ZV62GrdDatAquisicao=gx.date.nullDate();this.OV62GrdDatAquisicao=gx.date.nullDate();this.ZV65GrdDscCategoriaEmprestimo="";this.OV65GrdDscCategoriaEmprestimo="";this.ZV131GrdDscSituacao="";
this.OV131GrdDscSituacao="";this.ZV66GrdDatBaixa=gx.date.nullDate();this.OV66GrdDatBaixa=gx.date.nullDate();this.ZV67GrdDscMotivoBaixa="";this.OV67GrdDscMotivoBaixa="";this.ZV129GrdDscSituacaoTombo="";this.OV129GrdDscSituacaoTombo="";this.ZV118GrdImgLinkExemplar="";this.OV118GrdImgLinkExemplar="";this.ZV120GrdImgLinkAcademico="";this.OV120GrdImgLinkAcademico="";this.ZV119GrdImgLinkCentroCusto="";this.OV119GrdImgLinkCentroCusto="";this.ZV122GrdIndPodeAcessar="";this.OV122GrdIndPodeAcessar="";this.AV68ImgEditar="";
this.AV69ImgExcluir="";this.AV104ImgReplicar="";this.AV54GrdCodUnidadeDepositaria=0;this.AV55GrdNroExemplar=0;this.AV57GrdNroVolume="";this.AV58GrdNroTomo="";this.AV59GrdDscExtensao="";this.AV63GrdTipAquisicao="";this.AV64GrdNomLocalizacao="";this.AV109GrdCodProprietario="";this.AV56GrdNroItem=0;this.AV60GrdNroTombo=0;this.AV61GrdDatCadastramento=gx.date.nullDate();this.AV62GrdDatAquisicao=gx.date.nullDate();this.AV65GrdDscCategoriaEmprestimo="";this.AV131GrdDscSituacao="";this.AV66GrdDatBaixa=gx.date.nullDate();
this.AV67GrdDscMotivoBaixa="";this.AV129GrdDscSituacaoTombo="";this.AV118GrdImgLinkExemplar="";this.AV120GrdImgLinkAcademico="";this.AV119GrdImgLinkCentroCusto="";this.AV122GrdIndPodeAcessar="";this.A316DvoNroTomo=0;this.A317DvoNroVolu=0;this.A281DoeNroSequ=0;this.A922UndCod=0;this.A258DocNro=0;this.A315DvoNroTomb=0;this.A225DitNroVolu="";this.A224DitNroTomo="";this.A227DitValExte="";this.A308DvoDatEfet=gx.date.nullDate();this.A79CaeCod=0;this.A509LocCod=0;this.A899TpaCod="";this.A270DoeCodProp="";
this.A1101SteNroSequ=0;this.A514LocNroFone="";this.A276DoeDesMoed="";this.A1013TpaDsc="";this.A307DvoDatCada=gx.date.nullDate();this.A84CaeNom="";this.A306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.A512LocNom="";this.A1102SteDscSitu="";this.AV26DocNro=0;this.ServerEvents=["e11eh2_client","e12eh2_client","e13eh2_client","e14eh2_client","e15eh2_client","e19eh2_client","e23eh2_client"];this.setPrompt("PROMPT_USRCODUNIDADEDEPOSITARIA",[62]);this.setPrompt("PROMPT_USRCODTIPAQUISICAO",[78]);
this.setPrompt("PROMPT_USRCODLOCALIZACAO",[80]);this.setPrompt("PROMPT_USRCODCATEGORIAEMPRESTIMO",[82]);this.setPrompt("PROMPT_USRTIPSITUACAO",[84]);this.EnterCtrl=["OK"];this.VarControlMap.AV26DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV26DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV31IndVincLocal={id:"vINDVINCLOCAL",grid:0,type:"char"};this.VarControlMap.AV18UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.A1102SteDscSitu={id:"STEDSCSITU",grid:0,type:"char"};
this.VarControlMap.A509LocCod={id:"LOCCOD",grid:0,type:"int"};this.VarControlMap.A512LocNom={id:"LOCNOM",grid:0,type:"char"};this.VarControlMap.A309DvoDesMoti={id:"DVODESMOTI",grid:0,type:"char"};this.VarControlMap.A306DvoDatbaix={id:"DVODATBAIX",grid:0,type:"date"};this.VarControlMap.A84CaeNom={id:"CAENOM",grid:0,type:"char"};this.VarControlMap.A308DvoDatEfet={id:"DVODATEFET",grid:0,type:"date"};this.VarControlMap.A307DvoDatCada={id:"DVODATCADA",grid:0,type:"date"};this.VarControlMap.A315DvoNroTomb={id:"DVONROTOMB",grid:0,type:"int"};
this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:0,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};this.VarControlMap.A270DoeCodProp={id:"DOECODPROP",grid:0,type:"char"};this.VarControlMap.A1013TpaDsc={id:"TPADSC",grid:0,type:"char"};this.VarControlMap.A276DoeDesMoed={id:"DOEDESMOED",grid:0,type:"char"};this.VarControlMap.AV52QtdItens={id:"QTDITENS",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV26DocNro"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV31IndVincLocal"});this.Grid1Container.addRefreshingVar({rfrVar:"AV18UsuCodCorr"});this.Grid1Container.addRefreshingVar({rfrVar:"A1102SteDscSitu"});this.Grid1Container.addRefreshingVar({rfrVar:"A509LocCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A512LocNom"});this.Grid1Container.addRefreshingVar({rfrVar:"A309DvoDesMoti"});this.Grid1Container.addRefreshingVar({rfrVar:"A306DvoDatbaix"});this.Grid1Container.addRefreshingVar({rfrVar:"A84CaeNom"});
this.Grid1Container.addRefreshingVar({rfrVar:"A308DvoDatEfet"});this.Grid1Container.addRefreshingVar({rfrVar:"A307DvoDatCada"});this.Grid1Container.addRefreshingVar({rfrVar:"A315DvoNroTomb"});this.Grid1Container.addRefreshingVar({rfrVar:"A227DitValExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A224DitNroTomo"});this.Grid1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A270DoeCodProp"});this.Grid1Container.addRefreshingVar({rfrVar:"A1013TpaDsc"});
this.Grid1Container.addRefreshingVar({rfrVar:"A276DoeDesMoed"});this.Grid1Container.addRefreshingVar({rfrVar:"AV52QtdItens"});this.SetStandaloneVars()}himh178.prototype=new gx.GxObject;gx.setParentObj(new himh178());