gx.evt.autoSkip=false;function himh120(){this.ServerClass="HImh120";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A160CrcValBaix=gx.fn.getDecimalValue("CRCVALBAIX",".",",");this.A948UsbNomSemA=gx.fn.getControlValue("USBNOMSEMA");this.AV66IndOrigem=gx.fn.getControlValue("vINDORIGEM")};this.Valid_Usbnom=function(){try{if(gx.fn.currentGridRowImpl(76)===0){return true}var a=gx.util.balloon.getNew("USBNOM",gx.fn.currentGridRowImpl(76));this.AnyError=0
}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Crcvalrece=function(){try{if(gx.fn.currentGridRowImpl(76)===0){return true}var a=gx.util.balloon.getNew("CRCVALRECE",gx.fn.currentGridRowImpl(76));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Usbcod=function(){try{if(gx.fn.currentGridRowImpl(76)===0){return true}var a=gx.util.balloon.getNew("USBCOD",gx.fn.currentGridRowImpl(76));this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e24152_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh121",[this.AV66IndOrigem,this.A157CrcNroSeq]),[]);this.refreshOutputs([])};this.e22152_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e11152_client=function(){this.executeServerEvent("'NOVA PENALIDADE'",false)};this.e12152_client=function(){this.executeServerEvent("'DOCUMENTO COBRANCA'",false)};this.e13152_client=function(){this.executeServerEvent("'BAIXAR EM LOTE'",false)
};this.e14152_client=function(){this.executeServerEvent("'APAGAR MULTAS DE UM USUáRIO'",false)};this.e16152_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e17152_client=function(){this.executeServerEvent("'IR PARA'",false)};this.e18152_client=function(){this.executeServerEvent("'EXPORTAR'",false)};this.e19152_client=function(){this.executeServerEvent("'INTEGRAR'",false)};this.e20152_client=function(){this.executeServerEvent("VSCRINDINTEGRARTODAS.CLICK",true)};this.e25152_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,20,24,26,29,31,34,36,38,40,42,44,46,50,52,55,57,59,61,63,65,67,69,73,77,78,79,80,81,82,83,84,85,86,87,88,89,90,93,96,107,109,111,113,115,117,122,124,130,131,132];this.GXLastCtrlId=132;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",76,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh120",[],false,1,false,true,0,true,false,false,"",0,"px","Novo registro",true,false,true,null,null,false,"");this.Subfile1Container.addCheckBox("Op",77,"vOP","","","Op","char","S","N",null,true,false,0,"px");
this.Subfile1Container.addBitmap("&Imgeditar","vIMGEDITAR",78,0,"px",17,"px",null,"","");this.Subfile1Container.addSingleLineEdit(157,79,"CRCNROSEQ","Nro","","CrcNroSeq","int",0,"px",7,7,"right",null,[],157,"CrcNroSeq",true,0,false,false);this.Subfile1Container.addSingleLineEdit(154,80,"CRCDATEMIS","Data emissão","","CrcDatEmis","date",0,"px",10,10,"right",null,[],154,"CrcDatEmis",true,0,false,false);this.Subfile1Container.addSingleLineEdit(150,81,"CRCCODOPER","Operador","","CrcCodOper","char",0,"px",6,6,"left",null,[],150,"CrcCodOper",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(163,82,"CRCVALSALD","Saldo","","CrcValSald","decimal",0,"px",10,10,"right",null,[],163,"CrcValSald",true,2,false,false);this.Subfile1Container.addSingleLineEdit(786,83,"USBNOM","Leitor","","UsbNom","char",0,"px",50,50,"left",null,[],786,"UsbNom",true,0,false,false);this.Subfile1Container.addSingleLineEdit(156,84,"CRCDESHIST","Histórico","","CrcDesHist","char",0,"px",30,30,"left",null,[],156,"CrcDesHist",true,0,false,false);this.Subfile1Container.addSingleLineEdit(162,85,"CRCVALRECE","Valor bruto","","CrcValRece","decimal",0,"px",11,10,"right",null,[],162,"CrcValRece",true,2,false,false);
this.Subfile1Container.addSingleLineEdit(152,86,"CRCDATBAIX","Quitação","","CrcDatBaix","date",0,"px",10,10,"right",null,[],152,"CrcDatBaix",true,0,false,false);this.Subfile1Container.addSingleLineEdit(787,87,"USBCOD","Código","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(151,88,"CRCCODUNID","Un.dep.","","CrcCodUnid","int",0,"px",3,3,"right",null,[],151,"CrcCodUnid",true,0,false,false);this.Subfile1Container.addComboBox(159,89,"CRCTIPRECE","Tipo da receita","CrcTipRece","int",null,0,true,false,0,"px");
this.Subfile1Container.addSingleLineEdit("Verbaixas",90,"vVERBAIXAS","","","VerBaixas","char",0,"px",6,6,"left","e24152_client",[],"Verbaixas","VerBaixas",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCRCNROSEQNAVEGAR",gxz:"ZV67CrcNroSeqNavegar",gxold:"OV67CrcNroSeqNavegar",gxvar:"AV67CrcNroSeqNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV67CrcNroSeqNavegar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV67CrcNroSeqNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRCNROSEQNAVEGAR",gx.O.AV67CrcNroSeqNavegar,0)},c2v:function(){gx.O.AV67CrcNroSeqNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vCRCNROSEQNAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE4",grid:0};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={fld:"TABLE2",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:"vDATEMISINI",gxz:"ZV21DatEmisIni",gxold:"OV21DatEmisIni",gxvar:"AV21DatEmisIni",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.AV21DatEmisIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV21DatEmisIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATEMISINI",gx.O.AV21DatEmisIni,0)},c2v:function(){gx.O.AV21DatEmisIni=this.val()},val:function(){return gx.fn.getControlValue("vDATEMISINI")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK4",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:"vDATEMISFIM",gxz:"ZV20DatEmisFim",gxold:"OV20DatEmisFim",gxvar:"AV20DatEmisFim",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.AV20DatEmisFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV20DatEmisFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATEMISFIM",gx.O.AV20DatEmisFim,0)},c2v:function(){gx.O.AV20DatEmisFim=this.val()},val:function(){return gx.fn.getControlValue("vDATEMISFIM")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDBAIXADAS",gxz:"ZV37IndBaixadas",gxold:"OV37IndBaixadas",gxvar:"AV37IndBaixadas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV37IndBaixadas=a
},v2z:function(a){gx.O.ZV37IndBaixadas=a},v2c:function(){gx.fn.setRadioValue("vINDBAIXADAS",gx.O.AV37IndBaixadas)},c2v:function(){gx.O.AV37IndBaixadas=this.val()},val:function(){return gx.fn.getControlValue("vINDBAIXADAS")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[46]={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:"vSCRCODUNIDADEDEPOSITARIA",gxz:"ZV84ScrCodUnidadeDepositaria",gxold:"OV84ScrCodUnidadeDepositaria",gxvar:"AV84ScrCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV84ScrCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV84ScrCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODUNIDADEDEPOSITARIA",gx.O.AV84ScrCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV84ScrCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDCONFIRMAPROCESSAMENTO",gxz:"ZV85ScrIndConfirmaProcessamento",gxold:"OV85ScrIndConfirmaProcessamento",gxvar:"AV85ScrIndConfirmaProcessamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV85ScrIndConfirmaProcessamento=a
},v2z:function(a){gx.O.ZV85ScrIndConfirmaProcessamento=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDCONFIRMAPROCESSAMENTO",gx.O.AV85ScrIndConfirmaProcessamento,"S")},c2v:function(){gx.O.AV85ScrIndConfirmaProcessamento=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDCONFIRMAPROCESSAMENTO","S","N")},nac:function(){return false}};this.GXValidFnc[52]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDINTEGRARTODAS",gxz:"ZV89ScrIndIntegrarTodas",gxold:"OV89ScrIndIntegrarTodas",gxvar:"AV89ScrIndIntegrarTodas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV89ScrIndIntegrarTodas=a
},v2z:function(a){gx.O.ZV89ScrIndIntegrarTodas=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDINTEGRARTODAS",gx.O.AV89ScrIndIntegrarTodas,"S")},c2v:function(){gx.O.AV89ScrIndIntegrarTodas=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDINTEGRARTODAS","S","N")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMUSUARIO",gxz:"ZV69NomUsuario",gxold:"OV69NomUsuario",gxvar:"AV69NomUsuario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV69NomUsuario=a
},v2z:function(a){gx.O.ZV69NomUsuario=a},v2c:function(){gx.fn.setControlValue("vNOMUSUARIO",gx.O.AV69NomUsuario,0)},c2v:function(){gx.O.AV69NomUsuario=this.val()},val:function(){return gx.fn.getControlValue("vNOMUSUARIO")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV22UsbCod",gxold:"OV22UsbCod",gxvar:"AV22UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22UsbCod=a
},v2z:function(a){gx.O.ZV22UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV22UsbCod,0)},c2v:function(){gx.O.AV22UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[65]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUCOD",gxz:"ZV36TiuCod",gxold:"OV36TiuCod",gxvar:"AV36TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36TiuCod=a
},v2z:function(a){gx.O.ZV36TiuCod=a},v2c:function(){gx.fn.setControlValue("vTIUCOD",gx.O.AV36TiuCod,0)},c2v:function(){gx.O.AV36TiuCod=this.val()},val:function(){return gx.fn.getControlValue("vTIUCOD")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRQTDLINHAS",gxz:"ZV77ScrQtdLinhas",gxold:"OV77ScrQtdLinhas",gxvar:"AV77ScrQtdLinhas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV77ScrQtdLinhas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV77ScrQtdLinhas=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRQTDLINHAS",gx.O.AV77ScrQtdLinhas,0)},c2v:function(){gx.O.AV77ScrQtdLinhas=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRQTDLINHAS",".")},nac:function(){return false}};this.GXValidFnc[73]={fld:"TABLE5",grid:0};this.GXValidFnc[77]={lvl:2,type:"char",len:1,dec:0,sign:true,ro:0,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vOP",gxz:"ZV92Op",gxold:"OV92Op",gxvar:"AV92Op",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV92Op=a
},v2z:function(a){gx.O.ZV92Op=a},v2c:function(){gx.fn.setGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(76),gx.O.AV92Op,"S")},c2v:function(){gx.O.AV92Op=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(76),"S","N")},nac:function(){return false}};this.GXValidFnc[78]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV82ImgEditar",gxold:"OV82ImgEditar",gxvar:"AV82ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV82ImgEditar=a
},v2z:function(a){gx.O.ZV82ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV82ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[79]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"CRCNROSEQ",gxz:"Z157CrcNroSeq",gxold:"O157CrcNroSeq",gxvar:"A157CrcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A157CrcNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z157CrcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CRCNROSEQ",gx.fn.currentGridRowImpl(76),gx.O.A157CrcNroSeq,0)},c2v:function(){gx.O.A157CrcNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("CRCNROSEQ",gx.fn.currentGridRowImpl(76),".")},nac:function(){return false}};this.GXValidFnc[80]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CRCDATEMIS",gxz:"Z154CrcDatEmis",gxold:"O154CrcDatEmis",gxvar:"A154CrcDatEmis",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.A154CrcDatEmis=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z154CrcDatEmis=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("CRCDATEMIS",gx.fn.currentGridRowImpl(76),gx.O.A154CrcDatEmis,0)},c2v:function(){gx.O.A154CrcDatEmis=this.val()},val:function(){return gx.fn.getGridControlValue("CRCDATEMIS",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[81]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CRCCODOPER",gxz:"Z150CrcCodOper",gxold:"O150CrcCodOper",gxvar:"A150CrcCodOper",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A150CrcCodOper=a
},v2z:function(a){gx.O.Z150CrcCodOper=a},v2c:function(){gx.fn.setGridControlValue("CRCCODOPER",gx.fn.currentGridRowImpl(76),gx.O.A150CrcCodOper,0)},c2v:function(){gx.O.A150CrcCodOper=this.val()},val:function(){return gx.fn.getGridControlValue("CRCCODOPER",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[82]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CRCVALSALD",gxz:"Z163CrcValSald",gxold:"O163CrcValSald",gxvar:"A163CrcValSald",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A163CrcValSald=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z163CrcValSald=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("CRCVALSALD",gx.fn.currentGridRowImpl(76),gx.O.A163CrcValSald,2,",")},c2v:function(){gx.O.A163CrcValSald=this.val()},val:function(){return gx.fn.getGridDecimalValue("CRCVALSALD",gx.fn.currentGridRowImpl(76),".",",")},nac:function(){return false}};this.GXValidFnc[83]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:76,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(76),gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOM",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[84]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CRCDESHIST",gxz:"Z156CrcDesHist",gxold:"O156CrcDesHist",gxvar:"A156CrcDesHist",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A156CrcDesHist=a
},v2z:function(a){gx.O.Z156CrcDesHist=a},v2c:function(){gx.fn.setGridControlValue("CRCDESHIST",gx.fn.currentGridRowImpl(76),gx.O.A156CrcDesHist,0)},c2v:function(){gx.O.A156CrcDesHist=this.val()},val:function(){return gx.fn.getGridControlValue("CRCDESHIST",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[85]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZ,ZZ9.99",ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:this.Valid_Crcvalrece,isvalid:null,fld:"CRCVALRECE",gxz:"Z162CrcValRece",gxold:"O162CrcValRece",gxvar:"A162CrcValRece",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A162CrcValRece=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z162CrcValRece=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("CRCVALRECE",gx.fn.currentGridRowImpl(76),gx.O.A162CrcValRece,2,",")},c2v:function(){gx.O.A162CrcValRece=this.val()},val:function(){return gx.fn.getGridDecimalValue("CRCVALRECE",gx.fn.currentGridRowImpl(76),".",",")},nac:function(){return false}};this.GXValidFnc[86]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"CRCDATBAIX",gxz:"Z152CrcDatBaix",gxold:"O152CrcDatBaix",gxvar:"A152CrcDatBaix",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.A152CrcDatBaix=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z152CrcDatBaix=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("CRCDATBAIX",gx.fn.currentGridRowImpl(76),gx.O.A152CrcDatBaix,0)},c2v:function(){gx.O.A152CrcDatBaix=this.val()},val:function(){return gx.fn.getGridControlValue("CRCDATBAIX",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[87]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],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(76),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[88]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"CRCCODUNID",gxz:"Z151CrcCodUnid",gxold:"O151CrcCodUnid",gxvar:"A151CrcCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A151CrcCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z151CrcCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CRCCODUNID",gx.fn.currentGridRowImpl(76),gx.O.A151CrcCodUnid,0)},c2v:function(){gx.O.A151CrcCodUnid=this.val()},val:function(){return gx.fn.getGridIntegerValue("CRCCODUNID",gx.fn.currentGridRowImpl(76),".")},nac:function(){return false}};this.GXValidFnc[89]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"CRCTIPRECE",gxz:"Z159CrcTipRece",gxold:"O159CrcTipRece",gxvar:"A159CrcTipRece",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A159CrcTipRece=gx.num.intval(a)
},v2z:function(a){gx.O.Z159CrcTipRece=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("CRCTIPRECE",gx.fn.currentGridRowImpl(76),gx.O.A159CrcTipRece)},c2v:function(){gx.O.A159CrcTipRece=this.val()},val:function(){return gx.fn.getGridIntegerValue("CRCTIPRECE",gx.fn.currentGridRowImpl(76),".")},nac:function(){return false}};this.GXValidFnc[90]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:0,grid:76,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vVERBAIXAS",gxz:"ZV65VerBaixas",gxold:"OV65VerBaixas",gxvar:"AV65VerBaixas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65VerBaixas=a
},v2z:function(a){gx.O.ZV65VerBaixas=a},v2c:function(){gx.fn.setGridControlValue("vVERBAIXAS",gx.fn.currentGridRowImpl(76),gx.O.AV65VerBaixas,0)},c2v:function(){gx.O.AV65VerBaixas=this.val()},val:function(){return gx.fn.getGridControlValue("vVERBAIXAS",gx.fn.currentGridRowImpl(76))},nac:function(){return false}};this.GXValidFnc[93]={fld:"TABLE3",grid:0};this.GXValidFnc[96]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[107]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[109]={lvl:0,type:"char",len:10,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHADIGITADA",gxz:"ZV41SenhaDigitada",gxold:"OV41SenhaDigitada",gxvar:"AV41SenhaDigitada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41SenhaDigitada=a
},v2z:function(a){gx.O.ZV41SenhaDigitada=a},v2c:function(){gx.fn.setControlValue("vSENHADIGITADA",gx.O.AV41SenhaDigitada,0)},c2v:function(){gx.O.AV41SenhaDigitada=this.val()},val:function(){return gx.fn.getControlValue("vSENHADIGITADA")},nac:function(){return false}};this.GXValidFnc[111]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[113]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDOPCAOBAIXA",gxz:"ZV40IndOpcaoBaixa",gxold:"OV40IndOpcaoBaixa",gxvar:"AV40IndOpcaoBaixa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV40IndOpcaoBaixa=a
},v2z:function(a){gx.O.ZV40IndOpcaoBaixa=a},v2c:function(){gx.fn.setRadioValue("vINDOPCAOBAIXA",gx.O.AV40IndOpcaoBaixa)},c2v:function(){gx.O.AV40IndOpcaoBaixa=this.val()},val:function(){return gx.fn.getControlValue("vINDOPCAOBAIXA")},nac:function(){return false}};this.GXValidFnc[115]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[117]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCRBCODUNIDDEPOSITARIA",gxz:"ZV55CrbCodUnidDepositaria",gxold:"OV55CrbCodUnidDepositaria",gxvar:"AV55CrbCodUnidDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV55CrbCodUnidDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV55CrbCodUnidDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRBCODUNIDDEPOSITARIA",gx.O.AV55CrbCodUnidDepositaria,0)},c2v:function(){gx.O.AV55CrbCodUnidDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vCRBCODUNIDDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[122]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[124]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCODLIMPAR",gxz:"ZV64UsbCodLimpar",gxold:"OV64UsbCodLimpar",gxvar:"AV64UsbCodLimpar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64UsbCodLimpar=a
},v2z:function(a){gx.O.ZV64UsbCodLimpar=a},v2c:function(){gx.fn.setControlValue("vUSBCODLIMPAR",gx.O.AV64UsbCodLimpar,0)},c2v:function(){gx.O.AV64UsbCodLimpar=this.val()},val:function(){return gx.fn.getControlValue("vUSBCODLIMPAR")},nac:function(){return false}};this.GXValidFnc[130]={fld:"PROMPT_USBCOD",grid:0};this.GXValidFnc[131]={fld:"PROMPT_TIUCOD",grid:0};this.GXValidFnc[132]={fld:"PROMPT_USBCODLIMPAR",grid:0};this.AV67CrcNroSeqNavegar=0;this.ZV67CrcNroSeqNavegar=0;this.OV67CrcNroSeqNavegar=0;
this.AV21DatEmisIni=gx.date.nullDate();this.ZV21DatEmisIni=gx.date.nullDate();this.OV21DatEmisIni=gx.date.nullDate();this.AV20DatEmisFim=gx.date.nullDate();this.ZV20DatEmisFim=gx.date.nullDate();this.OV20DatEmisFim=gx.date.nullDate();this.AV37IndBaixadas="";this.ZV37IndBaixadas="";this.OV37IndBaixadas="";this.AV84ScrCodUnidadeDepositaria=0;this.ZV84ScrCodUnidadeDepositaria=0;this.OV84ScrCodUnidadeDepositaria=0;this.AV85ScrIndConfirmaProcessamento="";this.ZV85ScrIndConfirmaProcessamento="";this.OV85ScrIndConfirmaProcessamento="";
this.AV89ScrIndIntegrarTodas="";this.ZV89ScrIndIntegrarTodas="";this.OV89ScrIndIntegrarTodas="";this.AV69NomUsuario="";this.ZV69NomUsuario="";this.OV69NomUsuario="";this.AV22UsbCod="";this.ZV22UsbCod="";this.OV22UsbCod="";this.AV36TiuCod="";this.ZV36TiuCod="";this.OV36TiuCod="";this.AV77ScrQtdLinhas=0;this.ZV77ScrQtdLinhas=0;this.OV77ScrQtdLinhas=0;this.ZV92Op="";this.OV92Op="";this.ZV82ImgEditar="";this.OV82ImgEditar="";this.Z157CrcNroSeq=0;this.O157CrcNroSeq=0;this.Z154CrcDatEmis=gx.date.nullDate();
this.O154CrcDatEmis=gx.date.nullDate();this.Z150CrcCodOper="";this.O150CrcCodOper="";this.Z163CrcValSald=0;this.O163CrcValSald=0;this.Z786UsbNom="";this.O786UsbNom="";this.Z156CrcDesHist="";this.O156CrcDesHist="";this.Z162CrcValRece=0;this.O162CrcValRece=0;this.Z152CrcDatBaix=gx.date.nullDate();this.O152CrcDatBaix=gx.date.nullDate();this.Z787UsbCod="";this.O787UsbCod="";this.Z151CrcCodUnid=0;this.O151CrcCodUnid=0;this.Z159CrcTipRece=0;this.O159CrcTipRece=0;this.ZV65VerBaixas="";this.OV65VerBaixas="";
this.AV41SenhaDigitada="";this.ZV41SenhaDigitada="";this.OV41SenhaDigitada="";this.AV40IndOpcaoBaixa="";this.ZV40IndOpcaoBaixa="";this.OV40IndOpcaoBaixa="";this.AV55CrbCodUnidDepositaria=0;this.ZV55CrbCodUnidDepositaria=0;this.OV55CrbCodUnidDepositaria=0;this.AV64UsbCodLimpar="";this.ZV64UsbCodLimpar="";this.OV64UsbCodLimpar="";this.A883TiuCod="";this.A948UsbNomSemA="";this.A160CrcValBaix=0;this.AV92Op="";this.AV82ImgEditar="";this.A157CrcNroSeq=0;this.A154CrcDatEmis=gx.date.nullDate();this.A150CrcCodOper="";
this.A163CrcValSald=0;this.A786UsbNom="";this.A156CrcDesHist="";this.A162CrcValRece=0;this.A152CrcDatBaix=gx.date.nullDate();this.A787UsbCod="";this.A151CrcCodUnid=0;this.A159CrcTipRece=0;this.AV65VerBaixas="";this.AV66IndOrigem="";this.ServerEvents=["e22152_client","e11152_client","e12152_client","e13152_client","e14152_client","e16152_client","e17152_client","e18152_client","e19152_client","e20152_client","e25152_client"];this.setPrompt("PROMPT_USBCOD",[61]);this.setPrompt("PROMPT_TIUCOD",[65]);
this.setPrompt("PROMPT_USBCODLIMPAR",[124]);this.VarControlMap.A160CrcValBaix={id:"CRCVALBAIX",grid:0,type:"decimal"};this.VarControlMap.A948UsbNomSemA={id:"USBNOMSEMA",grid:0,type:"char"};this.VarControlMap.AV66IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};this.VarControlMap.AV76DatNula={id:"vDATNULA",grid:0,type:"date"};this.VarControlMap.AV46IndLibAvan={id:"vINDLIBAVAN",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[34]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[38]);
this.Subfile1Container.addRefreshingVar(this.GXValidFnc[42]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[46]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[57]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[61]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[65]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV76DatNula"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV46IndLibAvan"});this.Subfile1Container.addRefreshingVar(this.GXValidFnc[52]);this.SetStandaloneVars()
}himh120.prototype=new gx.GxObject;gx.setParentObj(new himh120());