gx.evt.autoSkip=false;function himh114(){this.ServerClass="HImh114";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Slcnro=function(){try{var a=gx.util.balloon.getNew("vSLCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Mtccod=function(){try{var a=gx.util.balloon.getNew("vMTCCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.e111k2_client=function(){this.executeServerEvent("ENTER",true)};this.e131k2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e141k2_client=function(){this.executeServerEvent("'IRPARA'",false)};this.e161k2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,16,26,29,31,34,36,39,41,44,46,49,51,54,57,59,62,64,67,69,72,74,77,79,81];this.GXLastCtrlId=81;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLCNRONAVEGAR",gxz:"ZV25SlcNroNavegar",gxold:"OV25SlcNroNavegar",gxvar:"AV25SlcNroNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25SlcNroNavegar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV25SlcNroNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCNRONAVEGAR",gx.O.AV25SlcNroNavegar,0)},c2v:function(){gx.O.AV25SlcNroNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCNRONAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE2",grid:0};this.GXValidFnc[29]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Slcnro,isvalid:null,rgrid:[],fld:"vSLCNRO",gxz:"ZV8SlcNro",gxold:"OV8SlcNro",gxvar:"AV8SlcNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8SlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8SlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCNRO",gx.O.AV8SlcNro,0)},c2v:function(){gx.O.AV8SlcNro=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCNRO",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSLCDESTITULO",gxz:"ZV13SlcDesTitulo",gxold:"OV13SlcDesTitulo",gxvar:"AV13SlcDesTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13SlcDesTitulo=a
},v2z:function(a){gx.O.ZV13SlcDesTitulo=a},v2c:function(){gx.fn.setControlValue("vSLCDESTITULO",gx.O.AV13SlcDesTitulo,0)},c2v:function(){gx.O.AV13SlcDesTitulo=this.val()},val:function(){return gx.fn.getControlValue("vSLCDESTITULO")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLCQTDSOLICITADA",gxz:"ZV21SlcQtdSolicitada",gxold:"OV21SlcQtdSolicitada",gxvar:"AV21SlcQtdSolicitada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21SlcQtdSolicitada=gx.num.intval(a)
},v2z:function(a){gx.O.ZV21SlcQtdSolicitada=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCQTDSOLICITADA",gx.O.AV21SlcQtdSolicitada,0)},c2v:function(){gx.O.AV21SlcQtdSolicitada=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCQTDSOLICITADA",".")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLCVALUNIT",gxz:"ZV11SlcValUnit",gxold:"OV11SlcValUnit",gxvar:"AV11SlcValUnit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11SlcValUnit=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV11SlcValUnit=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vSLCVALUNIT",gx.O.AV11SlcValUnit,2,",")},c2v:function(){gx.O.AV11SlcValUnit=this.val()},val:function(){return gx.fn.getDecimalValue("vSLCVALUNIT",".",",")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLCQTDRECEBIDA",gxz:"ZV12SlcQtdRecebida",gxold:"OV12SlcQtdRecebida",gxvar:"AV12SlcQtdRecebida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12SlcQtdRecebida=gx.num.intval(a)
},v2z:function(a){gx.O.ZV12SlcQtdRecebida=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCQTDRECEBIDA",gx.O.AV12SlcQtdRecebida,0)},c2v:function(){gx.O.AV12SlcQtdRecebida=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCQTDRECEBIDA",".")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TABLE3",grid:0};this.GXValidFnc[57]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[59]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSLBDATMOVIMENTO",gxz:"ZV15SlbDatMovimento",gxold:"OV15SlbDatMovimento",gxvar:"AV15SlbDatMovimento",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.AV15SlbDatMovimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV15SlbDatMovimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSLBDATMOVIMENTO",gx.O.AV15SlbDatMovimento,0)},c2v:function(){gx.O.AV15SlbDatMovimento=this.val()},val:function(){return gx.fn.getControlValue("vSLBDATMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[64]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLBQTDMOVIMENTADA",gxz:"ZV16SlbQtdMovimentada",gxold:"OV16SlbQtdMovimentada",gxvar:"AV16SlbQtdMovimentada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16SlbQtdMovimentada=gx.num.intval(a)
},v2z:function(a){gx.O.ZV16SlbQtdMovimentada=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLBQTDMOVIMENTADA",gx.O.AV16SlbQtdMovimentada,0)},c2v:function(){gx.O.AV16SlbQtdMovimentada=this.val()},val:function(){return gx.fn.getIntegerValue("vSLBQTDMOVIMENTADA",".")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLBVALUNITARIO",gxz:"ZV17SlbValUnitario",gxold:"OV17SlbValUnitario",gxvar:"AV17SlbValUnitario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17SlbValUnitario=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV17SlbValUnitario=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vSLBVALUNITARIO",gx.O.AV17SlbValUnitario,2,",")},c2v:function(){gx.O.AV17SlbValUnitario=this.val()},val:function(){return gx.fn.getDecimalValue("vSLBVALUNITARIO",".",",")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSLBTIPMOVIMENTO",gxz:"ZV18SlbTipMovimento",gxold:"OV18SlbTipMovimento",gxvar:"AV18SlbTipMovimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV18SlbTipMovimento=a
},v2z:function(a){gx.O.ZV18SlbTipMovimento=a},v2c:function(){gx.fn.setComboBoxValue("vSLBTIPMOVIMENTO",gx.O.AV18SlbTipMovimento)},c2v:function(){gx.O.AV18SlbTipMovimento=this.val()},val:function(){return gx.fn.getControlValue("vSLBTIPMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[79]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Mtccod,isvalid:null,rgrid:[],fld:"vMTCCOD",gxz:"ZV19MtcCod",gxold:"OV19MtcCod",gxvar:"AV19MtcCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19MtcCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19MtcCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vMTCCOD",gx.O.AV19MtcCod,0)},c2v:function(){gx.O.AV19MtcCod=this.val()},val:function(){return gx.fn.getIntegerValue("vMTCCOD",".")},nac:function(){return false}};this.GXValidFnc[81]={fld:"PROMPT_MTCCOD",grid:0};this.AV25SlcNroNavegar=0;this.ZV25SlcNroNavegar=0;this.OV25SlcNroNavegar=0;this.AV8SlcNro=0;this.ZV8SlcNro=0;this.OV8SlcNro=0;this.AV13SlcDesTitulo="";this.ZV13SlcDesTitulo="";this.OV13SlcDesTitulo="";
this.AV21SlcQtdSolicitada=0;this.ZV21SlcQtdSolicitada=0;this.OV21SlcQtdSolicitada=0;this.AV11SlcValUnit=0;this.ZV11SlcValUnit=0;this.OV11SlcValUnit=0;this.AV12SlcQtdRecebida=0;this.ZV12SlcQtdRecebida=0;this.OV12SlcQtdRecebida=0;this.AV15SlbDatMovimento=gx.date.nullDate();this.ZV15SlbDatMovimento=gx.date.nullDate();this.OV15SlbDatMovimento=gx.date.nullDate();this.AV16SlbQtdMovimentada=0;this.ZV16SlbQtdMovimentada=0;this.OV16SlbQtdMovimentada=0;this.AV17SlbValUnitario=0;this.ZV17SlbValUnitario=0;this.OV17SlbValUnitario=0;
this.AV18SlbTipMovimento="";this.ZV18SlbTipMovimento="";this.OV18SlbTipMovimento="";this.AV19MtcCod=0;this.ZV19MtcCod=0;this.OV19MtcCod=0;this.A819SlcNro=0;this.A822SlcQuantid=0;this.A824SlcValUnit=0;this.A820SlcNroPedi=0;this.A805SlcCodUnid=0;this.A814SlcIndSitu="";this.A815SlcIndTemC="";this.A992SlcCodLeit="";this.A811SlcDscTitu="";this.A812SlcNroDocu=0;this.A548MtcCod=0;this.A549Mtcdes="";this.ServerEvents=["e111k2_client","e131k2_client","e141k2_client","e161k2_client"];this.setPrompt("PROMPT_MTCCOD",[79]);
this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh114.prototype=new gx.GxObject;gx.setParentObj(new himh114());