gx.evt.autoSkip=false;function himh160(){this.ServerClass="Himh160";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e11dg2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e12dg2_client=function(){this.executeServerEvent("'IMPRIMIR'",false)};this.e16dg1_client=function(){this.executeServerEvent("ENTER",true)};this.e17dg2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];
this.GXCtrlIds=[4,7,18,21,24,26,29,31,34,36,40,41,42,43];this.GXLastCtrlId=43;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",39,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh160",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid1Container.addCheckBox("Indselecao",40,"vINDSELECAO","Seleção","","IndSelecao","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit(359,41,"EPINROTOMB","Tombo","","EpiNroTomb","int",0,"px",9,9,"right",null,[],359,"EpiNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit(242,42,"DOCDESL1TI","Título","","DocDesL1Ti","char",0,"px",250,250,"left",null,[],242,"DocDesL1Ti",true,0,false,false);this.Grid1Container.addSingleLineEdit(364,43,"EPTNROSEQU","Controle","","EptNroSequ","int",0,"px",10,10,"right",null,[],364,"EptNroSequ",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[4]={fld:"TABLE4",grid:0};this.GXValidFnc[7]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[21]={fld:"TABLE2",grid:0};
this.GXValidFnc[24]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE3",grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV14UsbCod",gxold:"OV14UsbCod",gxvar:"AV14UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14UsbCod=a},v2z:function(a){gx.O.ZV14UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV14UsbCod,0)},c2v:function(){gx.O.AV14UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")
},nac:function(){return false}};this.GXValidFnc[31]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBNOM",gxz:"ZV17UsbNom",gxold:"OV17UsbNom",gxvar:"AV17UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17UsbNom=a},v2z:function(a){gx.O.ZV17UsbNom=a},v2c:function(){gx.fn.setControlValue("vUSBNOM",gx.O.AV17UsbNom,0)},c2v:function(){gx.O.AV17UsbNom=this.val()},val:function(){return gx.fn.getControlValue("vUSBNOM")},nac:function(){return false
}};this.GXValidFnc[34]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATDEVOLUCAO",gxz:"ZV18DatDevolucao",gxold:"OV18DatDevolucao",gxvar:"AV18DatDevolucao",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.AV18DatDevolucao=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.ZV18DatDevolucao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATDEVOLUCAO",gx.O.AV18DatDevolucao,0)
},c2v:function(){gx.O.AV18DatDevolucao=this.val()},val:function(){return gx.fn.getControlValue("vDATDEVOLUCAO")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:39,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vINDSELECAO",gxz:"ZV24IndSelecao",gxold:"OV24IndSelecao",gxvar:"AV24IndSelecao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV24IndSelecao=a},v2z:function(a){gx.O.ZV24IndSelecao=a},v2c:function(){gx.fn.setGridCheckBoxValue("vINDSELECAO",gx.fn.currentGridRowImpl(39),gx.O.AV24IndSelecao,"S")
},c2v:function(){gx.O.AV24IndSelecao=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vINDSELECAO",gx.fn.currentGridRowImpl(39),"S","N")},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:39,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPINROTOMB",gxz:"Z359EpiNroTomb",gxold:"O359EpiNroTomb",gxvar:"A359EpiNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A359EpiNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z359EpiNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EPINROTOMB",gx.fn.currentGridRowImpl(39),gx.O.A359EpiNroTomb,0)},c2v:function(){gx.O.A359EpiNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPINROTOMB",gx.fn.currentGridRowImpl(39),".")},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:39,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCDESL1TI",gxz:"Z242DocDesL1Ti",gxold:"O242DocDesL1Ti",gxvar:"A242DocDesL1Ti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A242DocDesL1Ti=a
},v2z:function(a){gx.O.Z242DocDesL1Ti=a},v2c:function(){gx.fn.setGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(39),gx.O.A242DocDesL1Ti,0)},c2v:function(){gx.O.A242DocDesL1Ti=this.val()},val:function(){return gx.fn.getGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(39))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:1,grid:39,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPTNROSEQU",gxz:"Z364EptNroSequ",gxold:"O364EptNroSequ",gxvar:"A364EptNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A364EptNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z364EptNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EPTNROSEQU",gx.fn.currentGridRowImpl(39),gx.O.A364EptNroSequ,0)},c2v:function(){gx.O.A364EptNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPTNROSEQU",gx.fn.currentGridRowImpl(39),".")},nac:function(){return false}};this.AV14UsbCod="";this.ZV14UsbCod="";this.OV14UsbCod="";this.AV17UsbNom="";this.ZV17UsbNom="";this.OV17UsbNom="";this.AV18DatDevolucao=gx.date.nullDate();this.ZV18DatDevolucao=gx.date.nullDate();
this.OV18DatDevolucao=gx.date.nullDate();this.ZV24IndSelecao="";this.OV24IndSelecao="";this.Z359EpiNroTomb=0;this.O359EpiNroTomb=0;this.Z242DocDesL1Ti="";this.O242DocDesL1Ti="";this.Z364EptNroSequ=0;this.O364EptNroSequ=0;this.A358EpiIndDevo="";this.A353EpiCodBibU="";this.A922UndCod=0;this.A354EpiDatDevE=gx.date.nullDate();this.A258DocNro=0;this.AV24IndSelecao="";this.A359EpiNroTomb=0;this.A242DocDesL1Ti="";this.A364EptNroSequ=0;this.ServerEvents=["e11dg2_client","e12dg2_client","e16dg1_client","e17dg2_client"];
this.EnterCtrl=["BUTTON3"];this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.SetStandaloneVars()}himh160.prototype=new gx.GxObject;gx.setParentObj(new himh160());