gx.evt.autoSkip=false;function himh057(){this.ServerClass="HImh057";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e124z2_client=function(){this.executeServerEvent("ENTER",true)};this.e134z2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e154z2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,22,24,29,31,33,35,40,42,44,46,51,53,55,57,62,64,66,68,73,75,77,79,81,83,86,88,90,92,97,99,102,104,106,108,110,115,117,119,121,126,128,130,131,132,133,134,135,136,137,138];
this.GXLastCtrlId=138;this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV39UndCod",gxold:"OV39UndCod",gxvar:"AV39UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV39UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV39UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV39UndCod,0)},c2v:function(){gx.O.AV39UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV5LocCod",gxold:"OV5LocCod",gxvar:"AV5LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV5LocCod,0)},c2v:function(){gx.O.AV5LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDCOD",gxz:"ZV7TidCod",gxold:"OV7TidCod",gxvar:"AV7TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7TidCod=a
},v2z:function(a){gx.O.ZV7TidCod=a},v2c:function(){gx.fn.setControlValue("vTIDCOD",gx.O.AV7TidCod,0)},c2v:function(){gx.O.AV7TidCod=this.val()},val:function(){return gx.fn.getControlValue("vTIDCOD")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUCOD",gxz:"ZV20TiuCod",gxold:"OV20TiuCod",gxvar:"AV20TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20TiuCod=a
},v2z:function(a){gx.O.ZV20TiuCod=a},v2c:function(){gx.fn.setControlValue("vTIUCOD",gx.O.AV20TiuCod,0)},c2v:function(){gx.O.AV20TiuCod=this.val()},val:function(){return gx.fn.getControlValue("vTIUCOD")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTCAMPO",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLTRNRO",gxz:"ZV49LtrNro",gxold:"OV49LtrNro",gxvar:"AV49LtrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV49LtrNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV49LtrNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLTRNRO",gx.O.AV49LtrNro,0)},c2v:function(){gx.O.AV49LtrNro=this.val()},val:function(){return gx.fn.getIntegerValue("vLTRNRO",".")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTSUBCAMPO",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLTNRO",gxz:"ZV50SltNro",gxold:"OV50SltNro",gxvar:"AV50SltNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50SltNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV50SltNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLTNRO",gx.O.AV50SltNro,0)},c2v:function(){gx.O.AV50SltNro=this.val()},val:function(){return gx.fn.getIntegerValue("vSLTNRO",".")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCAECOD",gxz:"ZV33CaeCod",gxold:"OV33CaeCod",gxvar:"AV33CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV33CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECOD",gx.O.AV33CaeCod,0)},c2v:function(){gx.O.AV33CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECOD",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBTURMA",gxz:"ZV19UsbTurma",gxold:"OV19UsbTurma",gxvar:"AV19UsbTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19UsbTurma=a
},v2z:function(a){gx.O.ZV19UsbTurma=a},v2c:function(){gx.fn.setControlValue("vUSBTURMA",gx.O.AV19UsbTurma,0)},c2v:function(){gx.O.AV19UsbTurma=this.val()},val:function(){return gx.fn.getControlValue("vUSBTURMA")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[64]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV12UsbCod",gxold:"OV12UsbCod",gxvar:"AV12UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12UsbCod=a
},v2z:function(a){gx.O.ZV12UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV12UsbCod,0)},c2v:function(){gx.O.AV12UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[68]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDDETUSUARIO",gxz:"ZV31IndDetUsuario",gxold:"OV31IndDetUsuario",gxvar:"AV31IndDetUsuario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV31IndDetUsuario=a
},v2z:function(a){gx.O.ZV31IndDetUsuario=a},v2c:function(){gx.fn.setComboBoxValue("vINDDETUSUARIO",gx.O.AV31IndDetUsuario)},c2v:function(){gx.O.AV31IndDetUsuario=this.val()},val:function(){return gx.fn.getControlValue("vINDDETUSUARIO")},nac:function(){return false}};this.GXValidFnc[73]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[75]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODRETIRADA",gxz:"ZV42UsuCodRetirada",gxold:"OV42UsuCodRetirada",gxvar:"AV42UsuCodRetirada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV42UsuCodRetirada=a
},v2z:function(a){gx.O.ZV42UsuCodRetirada=a},v2c:function(){gx.fn.setControlValue("vUSUCODRETIRADA",gx.O.AV42UsuCodRetirada,0)},c2v:function(){gx.O.AV42UsuCodRetirada=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODRETIRADA")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[79]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODDEVOLUCAO",gxz:"ZV43UsuCodDevolucao",gxold:"OV43UsuCodDevolucao",gxvar:"AV43UsuCodDevolucao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43UsuCodDevolucao=a
},v2z:function(a){gx.O.ZV43UsuCodDevolucao=a},v2c:function(){gx.fn.setControlValue("vUSUCODDEVOLUCAO",gx.O.AV43UsuCodDevolucao,0)},c2v:function(){gx.O.AV43UsuCodDevolucao=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODDEVOLUCAO")},nac:function(){return false}};this.GXValidFnc[81]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[83]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDIMPRIMIROPERADORES",gxz:"ZV56ScrIndImprimirOperadores",gxold:"OV56ScrIndImprimirOperadores",gxvar:"AV56ScrIndImprimirOperadores",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV56ScrIndImprimirOperadores=a
},v2z:function(a){gx.O.ZV56ScrIndImprimirOperadores=a},v2c:function(){gx.fn.setComboBoxValue("vSCRINDIMPRIMIROPERADORES",gx.O.AV56ScrIndImprimirOperadores)},c2v:function(){gx.O.AV56ScrIndImprimirOperadores=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDIMPRIMIROPERADORES")},nac:function(){return false}};this.GXValidFnc[86]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[88]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNROTOMBO",gxz:"ZV53NroTombo",gxold:"OV53NroTombo",gxvar:"AV53NroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV53NroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV53NroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNROTOMBO",gx.O.AV53NroTombo,0)},c2v:function(){gx.O.AV53NroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vNROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[90]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[92]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV35DocNro",gxold:"OV35DocNro",gxvar:"AV35DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV35DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV35DocNro,0)},c2v:function(){gx.O.AV35DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[97]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[99]={fld:"TABLE1",grid:0};this.GXValidFnc[102]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEMPDATINI",gxz:"ZV16EmpDatIni",gxold:"OV16EmpDatIni",gxvar:"AV16EmpDatIni",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.AV16EmpDatIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV16EmpDatIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vEMPDATINI",gx.O.AV16EmpDatIni,0)},c2v:function(){gx.O.AV16EmpDatIni=this.val()},val:function(){return gx.fn.getControlValue("vEMPDATINI")},nac:function(){return false}};this.GXValidFnc[104]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[106]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEMPDATFIM",gxz:"ZV17EmpDatFim",gxold:"OV17EmpDatFim",gxvar:"AV17EmpDatFim",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.AV17EmpDatFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV17EmpDatFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vEMPDATFIM",gx.O.AV17EmpDatFim,0)},c2v:function(){gx.O.AV17EmpDatFim=this.val()},val:function(){return gx.fn.getControlValue("vEMPDATFIM")},nac:function(){return false}};this.GXValidFnc[108]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[110]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPMOVIMENTO",gxz:"ZV48TipMovimento",gxold:"OV48TipMovimento",gxvar:"AV48TipMovimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV48TipMovimento=a
},v2z:function(a){gx.O.ZV48TipMovimento=a},v2c:function(){gx.fn.setComboBoxValue("vTIPMOVIMENTO",gx.O.AV48TipMovimento)},c2v:function(){gx.O.AV48TipMovimento=this.val()},val:function(){return gx.fn.getControlValue("vTIPMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[115]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[117]={lvl:0,type:"char",len:9,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPORDEM",gxz:"ZV29TipOrdem",gxold:"OV29TipOrdem",gxvar:"AV29TipOrdem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV29TipOrdem=a
},v2z:function(a){gx.O.ZV29TipOrdem=a},v2c:function(){gx.fn.setComboBoxValue("vTIPORDEM",gx.O.AV29TipOrdem)},c2v:function(){gx.O.AV29TipOrdem=this.val()},val:function(){return gx.fn.getControlValue("vTIPORDEM")},nac:function(){return false}};this.GXValidFnc[119]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[121]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDLINHASTURMA",gxz:"ZV30QtdLinhasTurma",gxold:"OV30QtdLinhasTurma",gxvar:"AV30QtdLinhasTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30QtdLinhasTurma=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30QtdLinhasTurma=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDLINHASTURMA",gx.O.AV30QtdLinhasTurma,0)},c2v:function(){gx.O.AV30QtdLinhasTurma=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDLINHASTURMA",".")},nac:function(){return false}};this.GXValidFnc[126]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[128]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPRELAT",gxz:"ZV15TipRelat",gxold:"OV15TipRelat",gxvar:"AV15TipRelat",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV15TipRelat=a
},v2z:function(a){gx.O.ZV15TipRelat=a},v2c:function(){gx.fn.setRadioValue("vTIPRELAT",gx.O.AV15TipRelat)},c2v:function(){gx.O.AV15TipRelat=this.val()},val:function(){return gx.fn.getControlValue("vTIPRELAT")},nac:function(){return false}};this.GXValidFnc[130]={fld:"PROMPT_UNDCOD",grid:0};this.GXValidFnc[131]={fld:"PROMPT_TIDCOD",grid:0};this.GXValidFnc[132]={fld:"PROMPT_TIUCOD",grid:0};this.GXValidFnc[133]={fld:"PROMPT_LTRNRO",grid:0};this.GXValidFnc[134]={fld:"PROMPT_SLTNRO",grid:0};this.GXValidFnc[135]={fld:"PROMPT_CAECOD",grid:0};
this.GXValidFnc[136]={fld:"PROMPT_USBCOD",grid:0};this.GXValidFnc[137]={fld:"PROMPT_USUCODRETIRADA",grid:0};this.GXValidFnc[138]={fld:"PROMPT_USUCODDEVOLUCAO",grid:0};this.AV39UndCod=0;this.ZV39UndCod=0;this.OV39UndCod=0;this.AV5LocCod=0;this.ZV5LocCod=0;this.OV5LocCod=0;this.AV7TidCod="";this.ZV7TidCod="";this.OV7TidCod="";this.AV20TiuCod="";this.ZV20TiuCod="";this.OV20TiuCod="";this.AV49LtrNro=0;this.ZV49LtrNro=0;this.OV49LtrNro=0;this.AV50SltNro=0;this.ZV50SltNro=0;this.OV50SltNro=0;this.AV33CaeCod=0;
this.ZV33CaeCod=0;this.OV33CaeCod=0;this.AV19UsbTurma="";this.ZV19UsbTurma="";this.OV19UsbTurma="";this.AV12UsbCod="";this.ZV12UsbCod="";this.OV12UsbCod="";this.AV31IndDetUsuario="";this.ZV31IndDetUsuario="";this.OV31IndDetUsuario="";this.AV42UsuCodRetirada="";this.ZV42UsuCodRetirada="";this.OV42UsuCodRetirada="";this.AV43UsuCodDevolucao="";this.ZV43UsuCodDevolucao="";this.OV43UsuCodDevolucao="";this.AV56ScrIndImprimirOperadores="";this.ZV56ScrIndImprimirOperadores="";this.OV56ScrIndImprimirOperadores="";
this.AV53NroTombo=0;this.ZV53NroTombo=0;this.OV53NroTombo=0;this.AV35DocNro=0;this.ZV35DocNro=0;this.OV35DocNro=0;this.AV16EmpDatIni=gx.date.nullDate();this.ZV16EmpDatIni=gx.date.nullDate();this.OV16EmpDatIni=gx.date.nullDate();this.AV17EmpDatFim=gx.date.nullDate();this.ZV17EmpDatFim=gx.date.nullDate();this.OV17EmpDatFim=gx.date.nullDate();this.AV48TipMovimento="";this.ZV48TipMovimento="";this.OV48TipMovimento="";this.AV29TipOrdem="";this.ZV29TipOrdem="";this.OV29TipOrdem="";this.AV30QtdLinhasTurma=0;
this.ZV30QtdLinhasTurma=0;this.OV30QtdLinhasTurma=0;this.AV15TipRelat="";this.ZV15TipRelat="";this.OV15TipRelat="";this.ServerEvents=["e124z2_client","e134z2_client","e154z2_client"];this.setPrompt("PROMPT_UNDCOD",[20]);this.setPrompt("PROMPT_TIDCOD",[31]);this.setPrompt("PROMPT_TIUCOD",[35]);this.setPrompt("PROMPT_LTRNRO",[42]);this.setPrompt("PROMPT_SLTNRO",[46]);this.setPrompt("PROMPT_CAECOD",[53]);this.setPrompt("PROMPT_USBCOD",[64]);this.setPrompt("PROMPT_USUCODRETIRADA",[75]);this.setPrompt("PROMPT_USUCODDEVOLUCAO",[79]);
this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh057.prototype=new gx.GxObject;gx.setParentObj(new himh057());