gx.evt.autoSkip=false;function himh130(){this.ServerClass="HImh130";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e162f2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e122f2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e132f2_client=function(){this.executeServerEvent("'IMPRIMIR SELECAO'",false)};this.e172f2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,25,27,29,32,34,37,39,42,43,44,45,46,47,48,49,50];this.GXLastCtrlId=50;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh130",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid1Container.addCheckBox("Op",42,"vOP","Seleção","","Op","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit(783,43,"SGIDTHINSE","Data inserçao","","SgiDthInse","dtime",0,"px",16,10,"right",null,[],783,"SgiDthInse",true,5,false,false);
this.Grid1Container.addSingleLineEdit(791,44,"SGINROSEQU","Nro sugestão","","SgiNroSequ","int",0,"px",7,7,"right",null,[],791,"SgiNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(785,45,"SGINOMLEIT","Nome leitor","","SgiNomLeit","char",0,"px",35,35,"left",null,[],785,"SgiNomLeit",true,0,false,false);this.Grid1Container.addSingleLineEdit(789,46,"SGINRODOCU","Documento","","SgiNroDocu","int",0,"px",6,6,"right",null,[],789,"SgiNroDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit("Titulo",47,"vTITULO","Título","","Titulo","char",0,"px",53,53,"left",null,[],"Titulo","Titulo",true,0,false,false);
this.Grid1Container.addSingleLineEdit(790,48,"SGINROITEM","Item","","SgiNroItem","int",0,"px",6,6,"right",null,[],790,"SgiNroItem",true,0,false,false);this.Grid1Container.addSingleLineEdit(788,49,"SGINROARTI","Artigo","","SgiNroArti","int",0,"px",4,4,"right",null,[],788,"SgiNroArti",true,0,false,false);this.Grid1Container.addComboBox(784,50,"SGIINDSITU","Situação","SgiIndSitu","char",null,0,true,false,0,"px");this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[17]={fld:"TABLE2",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE3",grid:0};this.GXValidFnc[25]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGIDTHINSERCAOINICIAL",gxz:"ZV15SgiDthInsercaoInicial",gxold:"OV15SgiDthInsercaoInicial",gxvar:"AV15SgiDthInsercaoInicial",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15SgiDthInsercaoInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV15SgiDthInsercaoInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSGIDTHINSERCAOINICIAL",gx.O.AV15SgiDthInsercaoInicial,0)},c2v:function(){gx.O.AV15SgiDthInsercaoInicial=this.val()},val:function(){return gx.fn.getControlValue("vSGIDTHINSERCAOINICIAL")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGIDTHINSERCAOFINAL",gxz:"ZV16SgiDthInsercaoFinal",gxold:"OV16SgiDthInsercaoFinal",gxvar:"AV16SgiDthInsercaoFinal",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16SgiDthInsercaoFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV16SgiDthInsercaoFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSGIDTHINSERCAOFINAL",gx.O.AV16SgiDthInsercaoFinal,0)},c2v:function(){gx.O.AV16SgiDthInsercaoFinal=this.val()},val:function(){return gx.fn.getControlValue("vSGIDTHINSERCAOFINAL")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGINOMLEITOR",gxz:"ZV17SgiNomLeitor",gxold:"OV17SgiNomLeitor",gxvar:"AV17SgiNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17SgiNomLeitor=a
},v2z:function(a){gx.O.ZV17SgiNomLeitor=a},v2c:function(){gx.fn.setControlValue("vSGINOMLEITOR",gx.O.AV17SgiNomLeitor,0)},c2v:function(){gx.O.AV17SgiNomLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSGINOMLEITOR")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDSITUACAO",gxz:"ZV11IndSituacao",gxold:"OV11IndSituacao",gxvar:"AV11IndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV11IndSituacao=a
},v2z:function(a){gx.O.ZV11IndSituacao=a},v2c:function(){gx.fn.setRadioValue("vINDSITUACAO",gx.O.AV11IndSituacao)},c2v:function(){gx.O.AV11IndSituacao=this.val()},val:function(){return gx.fn.getControlValue("vINDSITUACAO")},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"char",len:1,dec:0,sign:true,ro:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vOP",gxz:"ZV26Op",gxold:"OV26Op",gxvar:"AV26Op",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV26Op=a
},v2z:function(a){gx.O.ZV26Op=a},v2c:function(){gx.fn.setGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(41),gx.O.AV26Op,"S")},c2v:function(){gx.O.AV26Op=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(41),"S","N")},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SGIDTHINSE",gxz:"Z783SgiDthInse",gxold:"O783SgiDthInse",gxvar:"A783SgiDthInse",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A783SgiDthInse=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z783SgiDthInse=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SGIDTHINSE",gx.fn.currentGridRowImpl(41),gx.O.A783SgiDthInse,0)},c2v:function(){gx.O.A783SgiDthInse=this.val()},val:function(){return gx.fn.getGridControlValue("SGIDTHINSE",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SGINROSEQU",gxz:"Z791SgiNroSequ",gxold:"O791SgiNroSequ",gxvar:"A791SgiNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A791SgiNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z791SgiNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SGINROSEQU",gx.fn.currentGridRowImpl(41),gx.O.A791SgiNroSequ,0)},c2v:function(){gx.O.A791SgiNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("SGINROSEQU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SGINOMLEIT",gxz:"Z785SgiNomLeit",gxold:"O785SgiNomLeit",gxvar:"A785SgiNomLeit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A785SgiNomLeit=a
},v2z:function(a){gx.O.Z785SgiNomLeit=a},v2c:function(){gx.fn.setGridControlValue("SGINOMLEIT",gx.fn.currentGridRowImpl(41),gx.O.A785SgiNomLeit,0)},c2v:function(){gx.O.A785SgiNomLeit=this.val()},val:function(){return gx.fn.getGridControlValue("SGINOMLEIT",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SGINRODOCU",gxz:"Z789SgiNroDocu",gxold:"O789SgiNroDocu",gxvar:"A789SgiNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A789SgiNroDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z789SgiNroDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SGINRODOCU",gx.fn.currentGridRowImpl(41),gx.O.A789SgiNroDocu,0)},c2v:function(){gx.O.A789SgiNroDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("SGINRODOCU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:53,dec:0,sign:false,ro:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTITULO",gxz:"ZV23Titulo",gxold:"OV23Titulo",gxvar:"AV23Titulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23Titulo=a
},v2z:function(a){gx.O.ZV23Titulo=a},v2c:function(){gx.fn.setGridControlValue("vTITULO",gx.fn.currentGridRowImpl(41),gx.O.AV23Titulo,0)},c2v:function(){gx.O.AV23Titulo=this.val()},val:function(){return gx.fn.getGridControlValue("vTITULO",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SGINROITEM",gxz:"Z790SgiNroItem",gxold:"O790SgiNroItem",gxvar:"A790SgiNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A790SgiNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.Z790SgiNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SGINROITEM",gx.fn.currentGridRowImpl(41),gx.O.A790SgiNroItem,0)},c2v:function(){gx.O.A790SgiNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("SGINROITEM",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SGINROARTI",gxz:"Z788SgiNroArti",gxold:"O788SgiNroArti",gxvar:"A788SgiNroArti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A788SgiNroArti=gx.num.intval(a)
},v2z:function(a){gx.O.Z788SgiNroArti=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SGINROARTI",gx.fn.currentGridRowImpl(41),gx.O.A788SgiNroArti,0)},c2v:function(){gx.O.A788SgiNroArti=this.val()},val:function(){return gx.fn.getGridIntegerValue("SGINROARTI",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SGIINDSITU",gxz:"Z784SgiIndSitu",gxold:"O784SgiIndSitu",gxvar:"A784SgiIndSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A784SgiIndSitu=a
},v2z:function(a){gx.O.Z784SgiIndSitu=a},v2c:function(){gx.fn.setGridComboBoxValue("SGIINDSITU",gx.fn.currentGridRowImpl(41),gx.O.A784SgiIndSitu)},c2v:function(){gx.O.A784SgiIndSitu=this.val()},val:function(){return gx.fn.getGridControlValue("SGIINDSITU",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.AV15SgiDthInsercaoInicial=gx.date.nullDate();this.ZV15SgiDthInsercaoInicial=gx.date.nullDate();this.OV15SgiDthInsercaoInicial=gx.date.nullDate();this.AV16SgiDthInsercaoFinal=gx.date.nullDate();
this.ZV16SgiDthInsercaoFinal=gx.date.nullDate();this.OV16SgiDthInsercaoFinal=gx.date.nullDate();this.AV17SgiNomLeitor="";this.ZV17SgiNomLeitor="";this.OV17SgiNomLeitor="";this.AV11IndSituacao="";this.ZV11IndSituacao="";this.OV11IndSituacao="";this.ZV26Op="";this.OV26Op="";this.Z783SgiDthInse=gx.date.nullDate();this.O783SgiDthInse=gx.date.nullDate();this.Z791SgiNroSequ=0;this.O791SgiNroSequ=0;this.Z785SgiNomLeit="";this.O785SgiNomLeit="";this.Z789SgiNroDocu=0;this.O789SgiNroDocu=0;this.ZV23Titulo="";
this.OV23Titulo="";this.Z790SgiNroItem=0;this.O790SgiNroItem=0;this.Z788SgiNroArti=0;this.O788SgiNroArti=0;this.Z784SgiIndSitu="";this.O784SgiIndSitu="";this.A782SgiCodLeit="";this.AV26Op="";this.A783SgiDthInse=gx.date.nullDate();this.A791SgiNroSequ=0;this.A785SgiNomLeit="";this.A789SgiNroDocu=0;this.AV23Titulo="";this.A790SgiNroItem=0;this.A788SgiNroArti=0;this.A784SgiIndSitu="";this.ServerEvents=["e162f2_client","e122f2_client","e132f2_client","e172f2_client"];this.Grid1Container.addRefreshingVar(this.GXValidFnc[25]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.SetStandaloneVars()}himh130.prototype=new gx.GxObject;gx.setParentObj(new himh130());