gx.evt.autoSkip=false;function hmih075(){this.ServerClass="HMih075";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV18CurCod=gx.fn.getIntegerValue("vCURCOD",".");this.AV19DcpNro=gx.fn.getIntegerValue("vDCPNRO",".");this.AV20UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV50TipBibliografia=gx.fn.getControlValue("vTIPBIBLIOGRAFIA")};this.e11872_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e15872_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,6,8,10,13,15,19,21,25,27,30,32,34,38,39,40,41,42];this.GXLastCtrlId=42;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",37,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih075",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Qtdexemplar",38,"vQTDEXEMPLAR","Exemplares","","QtdExemplar","int",75,"px",4,4,"right",null,[],"Qtdexemplar","QtdExemplar",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Qtditem",39,"vQTDITEM","Itens","","QtdItem","int",40,"px",5,5,"right",null,[],"Qtditem","QtdItem",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dsctipbibliografia",40,"vDSCTIPBIBLIOGRAFIA","Bibliografia","","DscTipBibliografia","char",74,"px",12,12,"left",null,[],"Dsctipbibliografia","DscTipBibliografia",true,0,false,false);this.Grid1Container.addSingleLineEdit("Tiddes",41,"vTIDDES","Material","","TidDes","char",0,"px",50,50,"left",null,[],"Tiddes","TidDes",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Textocheio",42,"vTEXTOCHEIO","Referência","","TextoCheio","char",410,"px",2000,2000,"left",null,[],"Textocheio","TextoCheio",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[6]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[8]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCURNOM",gxz:"ZV43CurNom",gxold:"OV43CurNom",gxvar:"AV43CurNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43CurNom=a
},v2z:function(a){gx.O.ZV43CurNom=a},v2c:function(){gx.fn.setControlValue("vCURNOM",gx.O.AV43CurNom,0)},c2v:function(){gx.O.AV43CurNom=this.val()},val:function(){return gx.fn.getControlValue("vCURNOM")},nac:function(){return false}};this.GXValidFnc[10]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[15]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDCPNOM",gxz:"ZV44DcpNom",gxold:"OV44DcpNom",gxvar:"AV44DcpNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV44DcpNom=a
},v2z:function(a){gx.O.ZV44DcpNom=a},v2c:function(){gx.fn.setControlValue("vDCPNOM",gx.O.AV44DcpNom,0)},c2v:function(){gx.O.AV44DcpNom=this.val()},val:function(){return gx.fn.getControlValue("vDCPNOM")},nac:function(){return false}};this.GXValidFnc[19]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[21]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUNDNOMCOMPLETO",gxz:"ZV45UndNomCompleto",gxold:"OV45UndNomCompleto",gxvar:"AV45UndNomCompleto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV45UndNomCompleto=a
},v2z:function(a){gx.O.ZV45UndNomCompleto=a},v2c:function(){gx.fn.setControlValue("vUNDNOMCOMPLETO",gx.O.AV45UndNomCompleto,0)},c2v:function(){gx.O.AV45UndNomCompleto=this.val()},val:function(){return gx.fn.getControlValue("vUNDNOMCOMPLETO")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[27]={fld:"TABLE3",grid:0};this.GXValidFnc[30]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATAQUISINI",gxz:"ZV51DatAquisIni",gxold:"OV51DatAquisIni",gxvar:"AV51DatAquisIni",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.AV51DatAquisIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV51DatAquisIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAQUISINI",gx.O.AV51DatAquisIni,0)},c2v:function(){gx.O.AV51DatAquisIni=this.val()},val:function(){return gx.fn.getControlValue("vDATAQUISINI")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATAQUISFIM",gxz:"ZV52DatAquisFim",gxold:"OV52DatAquisFim",gxvar:"AV52DatAquisFim",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.AV52DatAquisFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV52DatAquisFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAQUISFIM",gx.O.AV52DatAquisFim,0)},c2v:function(){gx.O.AV52DatAquisFim=this.val()},val:function(){return gx.fn.getControlValue("vDATAQUISFIM")},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vQTDEXEMPLAR",gxz:"ZV46QtdExemplar",gxold:"OV46QtdExemplar",gxvar:"AV46QtdExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV46QtdExemplar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV46QtdExemplar=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vQTDEXEMPLAR",gx.fn.currentGridRowImpl(37),gx.O.AV46QtdExemplar,0)},c2v:function(){gx.O.AV46QtdExemplar=this.val()},val:function(){return gx.fn.getGridIntegerValue("vQTDEXEMPLAR",gx.fn.currentGridRowImpl(37),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vQTDITEM",gxz:"ZV47QtdItem",gxold:"OV47QtdItem",gxvar:"AV47QtdItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV47QtdItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV47QtdItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vQTDITEM",gx.fn.currentGridRowImpl(37),gx.O.AV47QtdItem,0)},c2v:function(){gx.O.AV47QtdItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("vQTDITEM",gx.fn.currentGridRowImpl(37),".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCTIPBIBLIOGRAFIA",gxz:"ZV49DscTipBibliografia",gxold:"OV49DscTipBibliografia",gxvar:"AV49DscTipBibliografia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV49DscTipBibliografia=a
},v2z:function(a){gx.O.ZV49DscTipBibliografia=a},v2c:function(){gx.fn.setGridControlValue("vDSCTIPBIBLIOGRAFIA",gx.fn.currentGridRowImpl(37),gx.O.AV49DscTipBibliografia,0)},c2v:function(){gx.O.AV49DscTipBibliografia=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCTIPBIBLIOGRAFIA",gx.fn.currentGridRowImpl(37))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTIDDES",gxz:"ZV48TidDes",gxold:"OV48TidDes",gxvar:"AV48TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV48TidDes=a
},v2z:function(a){gx.O.ZV48TidDes=a},v2c:function(){gx.fn.setGridControlValue("vTIDDES",gx.fn.currentGridRowImpl(37),gx.O.AV48TidDes,0)},c2v:function(){gx.O.AV48TidDes=this.val()},val:function(){return gx.fn.getGridControlValue("vTIDDES",gx.fn.currentGridRowImpl(37))},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"char",len:2000,dec:0,sign:false,ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTEXTOCHEIO",gxz:"ZV36TextoCheio",gxold:"OV36TextoCheio",gxvar:"AV36TextoCheio",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36TextoCheio=a
},v2z:function(a){gx.O.ZV36TextoCheio=a},v2c:function(){gx.fn.setGridControlValue("vTEXTOCHEIO",gx.fn.currentGridRowImpl(37),gx.O.AV36TextoCheio,0)},c2v:function(){gx.O.AV36TextoCheio=this.val()},val:function(){return gx.fn.getGridControlValue("vTEXTOCHEIO",gx.fn.currentGridRowImpl(37))},nac:function(){return false}};this.AV43CurNom="";this.ZV43CurNom="";this.OV43CurNom="";this.AV44DcpNom="";this.ZV44DcpNom="";this.OV44DcpNom="";this.AV45UndNomCompleto="";this.ZV45UndNomCompleto="";this.OV45UndNomCompleto="";
this.AV51DatAquisIni=gx.date.nullDate();this.ZV51DatAquisIni=gx.date.nullDate();this.OV51DatAquisIni=gx.date.nullDate();this.AV52DatAquisFim=gx.date.nullDate();this.ZV52DatAquisFim=gx.date.nullDate();this.OV52DatAquisFim=gx.date.nullDate();this.ZV46QtdExemplar=0;this.OV46QtdExemplar=0;this.ZV47QtdItem=0;this.OV47QtdItem=0;this.ZV49DscTipBibliografia="";this.OV49DscTipBibliografia="";this.ZV48TidDes="";this.OV48TidDes="";this.ZV36TextoCheio="";this.OV36TextoCheio="";this.AV18CurCod=0;this.AV19DcpNro=0;
this.AV20UndCod=0;this.AV50TipBibliografia="";this.AV46QtdExemplar=0;this.AV47QtdItem=0;this.AV49DscTipBibliografia="";this.AV48TidDes="";this.AV36TextoCheio="";this.A922UndCod=0;this.A925UndNomComp="";this.A186DcpNro=0;this.A169CurCod=0;this.A185DcpNom="";this.A170CurNom="";this.ServerEvents=["e11872_client","e15872_client"];this.VarControlMap.AV18CurCod={id:"vCURCOD",grid:0,type:"int"};this.VarControlMap.AV19DcpNro={id:"vDCPNRO",grid:0,type:"int"};this.VarControlMap.AV20UndCod={id:"vUNDCOD",grid:0,type:"int"};
this.VarControlMap.AV50TipBibliografia={id:"vTIPBIBLIOGRAFIA",grid:0,type:"char"};this.VarControlMap.AV40TextoAux={id:"vTEXTOAUX",grid:0,type:"char"};this.VarControlMap.AV35TpaCodAux={id:"vTPACODAUX",grid:0,type:"char"};this.VarControlMap.AV34DoeCodProprietarioAux={id:"vDOECODPROPRIETARIOAUX",grid:0,type:"char"};this.VarControlMap.AV17ParTipForm={id:"vPARTIPFORM",grid:0,type:"char"};this.VarControlMap.AV25QtdDoctos={id:"vQTDDOCTOS",grid:0,type:"int"};this.VarControlMap.AV50TipBibliografia={id:"vTIPBIBLIOGRAFIA",grid:0,type:"char"};
this.VarControlMap.AV20UndCod={id:"vUNDCOD",grid:0,type:"int"};this.VarControlMap.AV19DcpNro={id:"vDCPNRO",grid:0,type:"int"};this.VarControlMap.AV18CurCod={id:"vCURCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV40TextoAux"});this.Grid1Container.addRefreshingVar({rfrVar:"AV35TpaCodAux"});this.Grid1Container.addRefreshingVar({rfrVar:"AV34DoeCodProprietarioAux"});this.Grid1Container.addRefreshingVar({rfrVar:"AV17ParTipForm"});this.Grid1Container.addRefreshingVar({rfrVar:"AV25QtdDoctos"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV50TipBibliografia"});this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[30]);this.Grid1Container.addRefreshingVar({rfrVar:"AV20UndCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV19DcpNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV18CurCod"});this.SetStandaloneVars()}hmih075.prototype=new gx.GxObject;gx.setParentObj(new hmih075());