gx.evt.autoSkip=false;function himh312(){this.ServerClass="HImh312";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e17l11_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh311.aspx",[""]),[]);this.refreshOutputs([])};this.e11l12_client=function(){this.executeServerEvent("ENTER",true)};this.e12l12_client=function(){this.executeServerEvent("'IMPORTAR'",false)};this.e13l12_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e18l12_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,15,18,20,22,28,31,33,35,37,39,45,48,50,53,55,57,61,65,69,72,74];this.GXLastCtrlId=74;this.GriddocumentosContainer=new gx.grid.grid(this,3,"WbpLvl3",42,"Griddocumentos","Griddocumentos","GriddocumentosContainer",this.CmpContext,this.IsMasterPage,"himh312",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.GriddocumentosContainer.startRow("","","","","","");
this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.startTable("Table5",45,"0px");this.GriddocumentosContainer.addHtmlCode("<TBODY>");this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addCheckBox("Grdindselecionado",48,"vGRDINDSELECIONADO","","","GrdIndSelecionado","char","S","N",null,true,false,1,"chr");this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");
this.GriddocumentosContainer.startTable("Table6",50,"0px");this.GriddocumentosContainer.addHtmlCode("<TBODY>");this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addMultipleLineEdit("Grddsctitulo",53,"vGRDDSCTITULO","","GrdDscTitulo","char",80,"chr",10,"row","2000",2000,"left",null,true,false,0);this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");
this.GriddocumentosContainer.addTextBlock("TEXTBLOCK7",null);this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addSingleLineEdit("Grdtipmaterial",57,"vGRDTIPMATERIAL","","","GrdTipMaterial","char",20,"chr",20,20,"left",null,[],"Grdtipmaterial","GrdTipMaterial",true,0,false,false);this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.endRow();this.GriddocumentosContainer.addHtmlCode("</TBODY>");this.GriddocumentosContainer.endTable();
this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.endRow();this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addMultipleLineEdit("Grddscreferencia",61,"vGRDDSCREFERENCIA","","GrdDscReferencia","char",80,"chr",5,"row","400",400,"left",null,true,false,0);this.GriddocumentosContainer.endCell();
this.GriddocumentosContainer.endRow();this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addSingleLineEdit("Grdvaliso",65,"vGRDVALISO","","","GrdValISO","char",80,"chr",5000,5000,"left",null,[],"Grdvaliso","GrdValISO",true,0,false,false);this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.endRow();
this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.startTable("Table7",69,"0px");this.GriddocumentosContainer.addHtmlCode("<TBODY>");this.GriddocumentosContainer.startRow("","","","","","");this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addTextBlock("TEXTBLOCK5",null);
this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.startCell("","","","","","","","","","");this.GriddocumentosContainer.addSingleLineEdit("Grddscchamada",74,"vGRDDSCCHAMADA","","","GrdDscChamada","char",40,"chr",40,40,"left",null,[],"Grddscchamada","GrdDscChamada",true,0,false,false);this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.endRow();this.GriddocumentosContainer.addHtmlCode("</TBODY>");this.GriddocumentosContainer.endTable();this.GriddocumentosContainer.endCell();
this.GriddocumentosContainer.endRow();this.GriddocumentosContainer.addHtmlCode("</TBODY>");this.GriddocumentosContainer.endTable();this.GriddocumentosContainer.endCell();this.GriddocumentosContainer.endRow();this.GridprovedoresContainer=new gx.grid.grid(this,2,"WbpLvl2",25,"Gridprovedores","Gridprovedores","GridprovedoresContainer",this.CmpContext,this.IsMasterPage,"himh312",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.GridprovedoresContainer.startRow("","","","","","");
this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.startTable("Table3",28,"0px");this.GridprovedoresContainer.addHtmlCode("<TBODY>");this.GridprovedoresContainer.startRow("","","","","","");this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addTextBlock("TEXTBLOCK3",null);this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addSingleLineEdit("Grdnroprovedor",33,"vGRDNROPROVEDOR","","","GrdNroProvedor","int",3,"chr",3,3,"right",null,[],"Grdnroprovedor","GrdNroProvedor",true,0,false,false);
this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addTextBlock("TEXTBLOCK6",null);this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addSingleLineEdit("Grdnomprovedor",37,"vGRDNOMPROVEDOR","","","GrdNomProvedor","char",80,"chr",100,100,"left",null,[],"Grdnomprovedor","GrdNomProvedor",true,0,false,false);this.GridprovedoresContainer.endCell();
this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addMultipleLineEdit("Grdvalsdtemstringdocumentos",39,"vGRDVALSDTEMSTRINGDOCUMENTOS","","GrdValSdtEmStringDocumentos","vchar",80,"chr",10,"row","131072",131072,"left",null,true,false,0);this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.endRow();this.GridprovedoresContainer.addHtmlCode("</TBODY>");this.GridprovedoresContainer.endTable();this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.endRow();
this.GridprovedoresContainer.startRow("","","","","","");this.GridprovedoresContainer.startCell("","","","","","","","","","");this.GridprovedoresContainer.addGrid(this.GriddocumentosContainer);this.GridprovedoresContainer.addHtmlCode("<HR/>");this.GridprovedoresContainer.endCell();this.GridprovedoresContainer.endRow();this.setGrid(this.GridprovedoresContainer);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};
this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALEXPRESSAO",gxz:"ZV5ScrValExpressao",gxold:"OV5ScrValExpressao",gxvar:"AV5ScrValExpressao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ScrValExpressao=a},v2z:function(a){gx.O.ZV5ScrValExpressao=a},v2c:function(){gx.fn.setControlValue("vSCRVALEXPRESSAO",gx.O.AV5ScrValExpressao,0)},c2v:function(){gx.O.AV5ScrValExpressao=this.val()
},val:function(){return gx.fn.getControlValue("vSCRVALEXPRESSAO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"IMAGE1",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:25};this.GXValidFnc[31]={fld:"TEXTBLOCK3",format:0,grid:25};this.GXValidFnc[33]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:25,gxgrid:this.GridprovedoresContainer,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROPROVEDOR",gxz:"ZV14GrdNroProvedor",gxold:"OV14GrdNroProvedor",gxvar:"AV14GrdNroProvedor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14GrdNroProvedor=gx.num.intval(a)
},v2z:function(a){gx.O.ZV14GrdNroProvedor=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROPROVEDOR",gx.fn.currentGridRowImpl(25),gx.O.AV14GrdNroProvedor,0)},c2v:function(){gx.O.AV14GrdNroProvedor=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROPROVEDOR",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK6",format:0,grid:25};this.GXValidFnc[37]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:0,grid:25,gxgrid:this.GridprovedoresContainer,fnc:null,isvalid:null,fld:"vGRDNOMPROVEDOR",gxz:"ZV6GrdNomProvedor",gxold:"OV6GrdNomProvedor",gxvar:"AV6GrdNomProvedor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdNomProvedor=a
},v2z:function(a){gx.O.ZV6GrdNomProvedor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMPROVEDOR",gx.fn.currentGridRowImpl(25),gx.O.AV6GrdNomProvedor,0)},c2v:function(){gx.O.AV6GrdNomProvedor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMPROVEDOR",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"vchar",len:131072,dec:0,sign:false,ro:0,grid:25,gxgrid:this.GridprovedoresContainer,fnc:null,isvalid:null,fld:"vGRDVALSDTEMSTRINGDOCUMENTOS",gxz:"ZV16GrdValSdtEmStringDocumentos",gxold:"OV16GrdValSdtEmStringDocumentos",gxvar:"AV16GrdValSdtEmStringDocumentos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16GrdValSdtEmStringDocumentos=a
},v2z:function(a){gx.O.ZV16GrdValSdtEmStringDocumentos=a},v2c:function(){gx.fn.setGridControlValue("vGRDVALSDTEMSTRINGDOCUMENTOS",gx.fn.currentGridRowImpl(25),gx.O.AV16GrdValSdtEmStringDocumentos,0)},c2v:function(){gx.O.AV16GrdValSdtEmStringDocumentos=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDVALSDTEMSTRINGDOCUMENTOS",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[45]={fld:"TABLE5",grid:42};this.GXValidFnc[48]={lvl:3,type:"char",len:1,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDINDSELECIONADO",gxz:"ZV8GrdIndSelecionado",gxold:"OV8GrdIndSelecionado",gxvar:"AV8GrdIndSelecionado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV8GrdIndSelecionado=a
},v2z:function(a){gx.O.ZV8GrdIndSelecionado=a},v2c:function(){gx.fn.setGridCheckBoxValue("vGRDINDSELECIONADO",gx.fn.currentGridRowImpl(42),gx.O.AV8GrdIndSelecionado,"S")},c2v:function(){gx.O.AV8GrdIndSelecionado=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vGRDINDSELECIONADO",gx.fn.currentGridRowImpl(42),"S","N")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE6",grid:42};this.GXValidFnc[53]={lvl:3,type:"char",len:2000,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDDSCTITULO",gxz:"ZV7GrdDscTitulo",gxold:"OV7GrdDscTitulo",gxvar:"AV7GrdDscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdDscTitulo=a
},v2z:function(a){gx.O.ZV7GrdDscTitulo=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(42),gx.O.AV7GrdDscTitulo,0)},c2v:function(){gx.O.AV7GrdDscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(42))},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK7",format:0,grid:42};this.GXValidFnc[57]={lvl:3,type:"char",len:20,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDTIPMATERIAL",gxz:"ZV17GrdTipMaterial",gxold:"OV17GrdTipMaterial",gxvar:"AV17GrdTipMaterial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17GrdTipMaterial=a
},v2z:function(a){gx.O.ZV17GrdTipMaterial=a},v2c:function(){gx.fn.setGridControlValue("vGRDTIPMATERIAL",gx.fn.currentGridRowImpl(42),gx.O.AV17GrdTipMaterial,0)},c2v:function(){gx.O.AV17GrdTipMaterial=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPMATERIAL",gx.fn.currentGridRowImpl(42))},nac:function(){return false}};this.GXValidFnc[61]={lvl:3,type:"char",len:400,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDDSCREFERENCIA",gxz:"ZV9GrdDscReferencia",gxold:"OV9GrdDscReferencia",gxvar:"AV9GrdDscReferencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9GrdDscReferencia=a
},v2z:function(a){gx.O.ZV9GrdDscReferencia=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCREFERENCIA",gx.fn.currentGridRowImpl(42),gx.O.AV9GrdDscReferencia,0)},c2v:function(){gx.O.AV9GrdDscReferencia=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCREFERENCIA",gx.fn.currentGridRowImpl(42))},nac:function(){return false}};this.GXValidFnc[65]={lvl:3,type:"char",len:5000,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDVALISO",gxz:"ZV19GrdValISO",gxold:"OV19GrdValISO",gxvar:"AV19GrdValISO",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19GrdValISO=a
},v2z:function(a){gx.O.ZV19GrdValISO=a},v2c:function(){gx.fn.setGridControlValue("vGRDVALISO",gx.fn.currentGridRowImpl(42),gx.O.AV19GrdValISO,0)},c2v:function(){gx.O.AV19GrdValISO=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDVALISO",gx.fn.currentGridRowImpl(42))},nac:function(){return false}};this.GXValidFnc[69]={fld:"TABLE7",grid:42};this.GXValidFnc[72]={fld:"TEXTBLOCK5",format:0,grid:42};this.GXValidFnc[74]={lvl:3,type:"char",len:40,dec:0,sign:false,ro:0,grid:42,gxgrid:this.GriddocumentosContainer,fnc:null,isvalid:null,fld:"vGRDDSCCHAMADA",gxz:"ZV10GrdDscChamada",gxold:"OV10GrdDscChamada",gxvar:"AV10GrdDscChamada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10GrdDscChamada=a
},v2z:function(a){gx.O.ZV10GrdDscChamada=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCCHAMADA",gx.fn.currentGridRowImpl(42),gx.O.AV10GrdDscChamada,0)},c2v:function(){gx.O.AV10GrdDscChamada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCCHAMADA",gx.fn.currentGridRowImpl(42))},nac:function(){return false}};this.AV5ScrValExpressao="";this.ZV5ScrValExpressao="";this.OV5ScrValExpressao="";this.ZV14GrdNroProvedor=0;this.OV14GrdNroProvedor=0;this.ZV6GrdNomProvedor="";this.OV6GrdNomProvedor="";
this.ZV16GrdValSdtEmStringDocumentos="";this.OV16GrdValSdtEmStringDocumentos="";this.ZV8GrdIndSelecionado="";this.OV8GrdIndSelecionado="";this.ZV7GrdDscTitulo="";this.OV7GrdDscTitulo="";this.ZV17GrdTipMaterial="";this.OV17GrdTipMaterial="";this.ZV9GrdDscReferencia="";this.OV9GrdDscReferencia="";this.ZV19GrdValISO="";this.OV19GrdValISO="";this.ZV10GrdDscChamada="";this.OV10GrdDscChamada="";this.AV14GrdNroProvedor=0;this.AV6GrdNomProvedor="";this.AV16GrdValSdtEmStringDocumentos="";this.AV8GrdIndSelecionado="";
this.AV7GrdDscTitulo="";this.AV17GrdTipMaterial="";this.AV9GrdDscReferencia="";this.AV19GrdValISO="";this.AV10GrdDscChamada="";this.ServerEvents=["e11l12_client","e12l12_client","e13l12_client","e18l12_client"];this.VarControlMap.AV13SdtRolResultadoPesquisa={id:"vSDTROLRESULTADOPESQUISA",grid:0,type:"CollSdtResultadoPesquisaRedeMultiAcervo"};this.GriddocumentosContainer.addRefreshingVar({rfrVar:"AV19GrdValISO",rfrProp:"Visible"});this.GriddocumentosContainer.addRefreshingVar({rfrVar:"AV16GrdValSdtEmStringDocumentos",rfrProp:"Value"});
this.GriddocumentosContainer.addRefreshingVar({rfrVar:"AV12SdtRolDocumentosEncontrados"});this.GridprovedoresContainer.addRefreshingVar({rfrVar:"AV16GrdValSdtEmStringDocumentos",rfrProp:"Visible"});this.GridprovedoresContainer.addRefreshingVar({rfrVar:"AV13SdtRolResultadoPesquisa"});this.SetStandaloneVars()}himh312.prototype=new gx.GxObject;gx.setParentObj(new himh312());