gx.evt.autoSkip=false;function himh189(){this.ServerClass="Himh189";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.A948UsbNomSemA=gx.fn.getControlValue("USBNOMSEMA")};this.e15f11_client=function(){this.clearMessages();this.addMessage("Função aguardando desenvolvimento ... ");this.refreshOutputs([])};this.e11f12_client=function(){this.executeServerEvent("'NOVA'",false)};this.e12f12_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e16f12_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e17f12_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,15,17,20,23,25,28,30,32,34,36,39,41,43,45,46,47,48,49,50];this.GXLastCtrlId=50;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",44,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh189",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Grdlinkeditar","vGRDLINKEDITAR",45,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1038,46,"RDONROSEQU","Nro","","RdoNroSequ","int",0,"px",6,6,"right",null,[],1038,"RdoNroSequ",true,0,false,false);this.Grid1Container.addComboBox(1039,47,"RDOTIPMOVI","Tipo","RdoTipMovi","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(786,48,"USBNOM","Leitor","","UsbNom","char",0,"px",50,50,"left",null,[],786,"UsbNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(1040,49,"RDODATMOVI","Data","","RdoDatMovi","date",0,"px",10,10,"right",null,[],1040,"RdoDatMovi",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1041,50,"RDODSCDOAC","Anotações","","RdoDscDoac","svchar",0,"px",4096,4096,"left",null,[],1041,"RdoDscDoac",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE2",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TABLE3",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[25]={fld:"TABLE4",grid:0};this.GXValidFnc[28]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDATMOVIMENTOINI",gxz:"ZV10ScrDatMovimentoIni",gxold:"OV10ScrDatMovimentoIni",gxvar:"AV10ScrDatMovimentoIni",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.AV10ScrDatMovimentoIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV10ScrDatMovimentoIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDATMOVIMENTOINI",gx.O.AV10ScrDatMovimentoIni,0)},c2v:function(){gx.O.AV10ScrDatMovimentoIni=this.val()},val:function(){return gx.fn.getControlValue("vSCRDATMOVIMENTOINI")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDATMOVIMENTOFIM",gxz:"ZV11ScrDatMovimentoFim",gxold:"OV11ScrDatMovimentoFim",gxvar:"AV11ScrDatMovimentoFim",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.AV11ScrDatMovimentoFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV11ScrDatMovimentoFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSCRDATMOVIMENTOFIM",gx.O.AV11ScrDatMovimentoFim,0)},c2v:function(){gx.O.AV11ScrDatMovimentoFim=this.val()},val:function(){return gx.fn.getControlValue("vSCRDATMOVIMENTOFIM")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[36]={fld:"TABLE5",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:"vSCRRDOTIPMOVIMENTO",gxz:"ZV9ScrRdoTipMovimento",gxold:"OV9ScrRdoTipMovimento",gxvar:"AV9ScrRdoTipMovimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV9ScrRdoTipMovimento=a
},v2z:function(a){gx.O.ZV9ScrRdoTipMovimento=a},v2c:function(){gx.fn.setRadioValue("vSCRRDOTIPMOVIMENTO",gx.O.AV9ScrRdoTipMovimento)},c2v:function(){gx.O.AV9ScrRdoTipMovimento=this.val()},val:function(){return gx.fn.getControlValue("vSCRRDOTIPMOVIMENTO")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRUSBNOM",gxz:"ZV12ScrUsbNom",gxold:"OV12ScrUsbNom",gxvar:"AV12ScrUsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12ScrUsbNom=a
},v2z:function(a){gx.O.ZV12ScrUsbNom=a},v2c:function(){gx.fn.setControlValue("vSCRUSBNOM",gx.O.AV12ScrUsbNom,0)},c2v:function(){gx.O.AV12ScrUsbNom=this.val()},val:function(){return gx.fn.getControlValue("vSCRUSBNOM")},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKEDITAR",gxz:"ZV22GrdLinkEditar",gxold:"OV22GrdLinkEditar",gxvar:"AV22GrdLinkEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22GrdLinkEditar=a
},v2z:function(a){gx.O.ZV22GrdLinkEditar=a},v2c:function(){},c2v:function(){gx.O.AV22GrdLinkEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKEDITAR",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RDONROSEQU",gxz:"Z1038RdoNroSequ",gxold:"O1038RdoNroSequ",gxvar:"A1038RdoNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1038RdoNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1038RdoNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RDONROSEQU",gx.fn.currentGridRowImpl(44),gx.O.A1038RdoNroSequ,0)},c2v:function(){gx.O.A1038RdoNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RDONROSEQU",gx.fn.currentGridRowImpl(44),".")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDOTIPMOVI",gxz:"Z1039RdoTipMovi",gxold:"O1039RdoTipMovi",gxvar:"A1039RdoTipMovi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1039RdoTipMovi=a
},v2z:function(a){gx.O.Z1039RdoTipMovi=a},v2c:function(){gx.fn.setGridComboBoxValue("RDOTIPMOVI",gx.fn.currentGridRowImpl(44),gx.O.A1039RdoTipMovi)},c2v:function(){gx.O.A1039RdoTipMovi=this.val()},val:function(){return gx.fn.getGridControlValue("RDOTIPMOVI",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a
},v2z:function(a){gx.O.Z786UsbNom=a},v2c:function(){gx.fn.setGridControlValue("USBNOM",gx.fn.currentGridRowImpl(44),gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getGridControlValue("USBNOM",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDODATMOVI",gxz:"Z1040RdoDatMovi",gxold:"O1040RdoDatMovi",gxvar:"A1040RdoDatMovi",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.A1040RdoDatMovi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1040RdoDatMovi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("RDODATMOVI",gx.fn.currentGridRowImpl(44),gx.O.A1040RdoDatMovi,0)},c2v:function(){gx.O.A1040RdoDatMovi=this.val()},val:function(){return gx.fn.getGridControlValue("RDODATMOVI",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"svchar",len:4096,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RDODSCDOAC",gxz:"Z1041RdoDscDoac",gxold:"O1041RdoDscDoac",gxvar:"A1041RdoDscDoac",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1041RdoDscDoac=a
},v2z:function(a){gx.O.Z1041RdoDscDoac=a},v2c:function(){gx.fn.setGridControlValue("RDODSCDOAC",gx.fn.currentGridRowImpl(44),gx.O.A1041RdoDscDoac,0)},c2v:function(){gx.O.A1041RdoDscDoac=this.val()},val:function(){return gx.fn.getGridControlValue("RDODSCDOAC",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.AV10ScrDatMovimentoIni=gx.date.nullDate();this.ZV10ScrDatMovimentoIni=gx.date.nullDate();this.OV10ScrDatMovimentoIni=gx.date.nullDate();this.AV11ScrDatMovimentoFim=gx.date.nullDate();
this.ZV11ScrDatMovimentoFim=gx.date.nullDate();this.OV11ScrDatMovimentoFim=gx.date.nullDate();this.AV9ScrRdoTipMovimento="";this.ZV9ScrRdoTipMovimento="";this.OV9ScrRdoTipMovimento="";this.AV12ScrUsbNom="";this.ZV12ScrUsbNom="";this.OV12ScrUsbNom="";this.ZV22GrdLinkEditar="";this.OV22GrdLinkEditar="";this.Z1038RdoNroSequ=0;this.O1038RdoNroSequ=0;this.Z1039RdoTipMovi="";this.O1039RdoTipMovi="";this.Z786UsbNom="";this.O786UsbNom="";this.Z1040RdoDatMovi=gx.date.nullDate();this.O1040RdoDatMovi=gx.date.nullDate();
this.Z1041RdoDscDoac="";this.O1041RdoDscDoac="";this.A948UsbNomSemA="";this.A787UsbCod="";this.AV22GrdLinkEditar="";this.A1038RdoNroSequ=0;this.A1039RdoTipMovi="";this.A786UsbNom="";this.A1040RdoDatMovi=gx.date.nullDate();this.A1041RdoDscDoac="";this.ServerEvents=["e11f12_client","e12f12_client","e16f12_client","e17f12_client"];this.VarControlMap.A948UsbNomSemA={id:"USBNOMSEMA",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[28]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[32]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[43]);this.SetStandaloneVars()}himh189.prototype=new gx.GxObject;gx.setParentObj(new himh189());