gx.evt.autoSkip=false;function himh016(){this.ServerClass="HImh016";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV7AtdNro=gx.fn.getIntegerValue("vATDNRO",".")};this.e114b2_client=function(){this.executeServerEvent("ENTER",true)};this.e154b2_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",true,arguments[0])};this.e124b2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e164b2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,23,24,25,26,27,28,29,30,34,37,39,42,44,46,48];this.GXLastCtrlId=48;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",22,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh016",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid1Container.addCheckBox("Op",23,"vOP","","","Op","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Codcampode",24,"vCODCAMPODE","Campo","","CodCampoDe","char",0,"px",3,3,"left",null,[],"Codcampode","CodCampoDe",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Codsubcampode",25,"vCODSUBCAMPODE","Subcampo","","CodSubcampoDe","char",0,"px",1,1,"left",null,[],"Codsubcampode","CodSubcampoDe",true,0,false,false);this.Grid1Container.addSingleLineEdit(759,26,"SATVALSUBC","Conteúdo","","SatValSubc","vchar",0,"px",20480,20480,"left",null,[],759,"SatValSubc",true,0,false,false);this.Grid1Container.addSingleLineEdit(90,27,"CATNROSEQC","Seq.C.","","CatNroSeqC","int",0,"px",4,4,"right",null,[],90,"CatNroSeqC",true,0,false,false);
this.Grid1Container.addSingleLineEdit(89,28,"CATNROREPC","Rep.C.","","CatNroRepC","int",0,"px",3,3,"right",null,[],89,"CatNroRepC",true,0,false,false);this.Grid1Container.addSingleLineEdit(757,29,"SATNROSEQS","Seq.S.","","SatNroSeqS","int",0,"px",3,3,"right",null,[],757,"SatNroSeqS",true,0,false,false);this.Grid1Container.addSingleLineEdit(756,30,"SATNROREPS","Rep.S.","","SatNroRepS","int",0,"px",3,3,"right",null,[],756,"SatNroRepS",true,0,false,false);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[23]={lvl:2,type:"char",len:1,dec:0,sign:true,ro:0,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vOP",gxz:"ZV22Op",gxold:"OV22Op",gxvar:"AV22Op",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV22Op=a},v2z:function(a){gx.O.ZV22Op=a},v2c:function(){gx.fn.setGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(22),gx.O.AV22Op,"S")
},c2v:function(){gx.O.AV22Op=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(22),"S","N")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCODCAMPODE",gxz:"ZV11CodCampoDe",gxold:"OV11CodCampoDe",gxvar:"AV11CodCampoDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11CodCampoDe=a},v2z:function(a){gx.O.ZV11CodCampoDe=a},v2c:function(){gx.fn.setGridControlValue("vCODCAMPODE",gx.fn.currentGridRowImpl(22),gx.O.AV11CodCampoDe,0)
},c2v:function(){gx.O.AV11CodCampoDe=this.val()},val:function(){return gx.fn.getGridControlValue("vCODCAMPODE",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCODSUBCAMPODE",gxz:"ZV12CodSubcampoDe",gxold:"OV12CodSubcampoDe",gxvar:"AV12CodSubcampoDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12CodSubcampoDe=a},v2z:function(a){gx.O.ZV12CodSubcampoDe=a
},v2c:function(){gx.fn.setGridControlValue("vCODSUBCAMPODE",gx.fn.currentGridRowImpl(22),gx.O.AV12CodSubcampoDe,0)},c2v:function(){gx.O.AV12CodSubcampoDe=this.val()},val:function(){return gx.fn.getGridControlValue("vCODSUBCAMPODE",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"vchar",len:20480,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SATVALSUBC",gxz:"Z759SatValSubc",gxold:"O759SatValSubc",gxvar:"A759SatValSubc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A759SatValSubc=a
},v2z:function(a){gx.O.Z759SatValSubc=a},v2c:function(){gx.fn.setGridControlValue("SATVALSUBC",gx.fn.currentGridRowImpl(22),gx.O.A759SatValSubc,0)},c2v:function(){gx.O.A759SatValSubc=this.val()},val:function(){return gx.fn.getGridControlValue("SATVALSUBC",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CATNROSEQC",gxz:"Z90CatNroSeqC",gxold:"O90CatNroSeqC",gxvar:"A90CatNroSeqC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A90CatNroSeqC=gx.num.intval(a)
},v2z:function(a){gx.O.Z90CatNroSeqC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CATNROSEQC",gx.fn.currentGridRowImpl(22),gx.O.A90CatNroSeqC,0)},c2v:function(){gx.O.A90CatNroSeqC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROSEQC",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CATNROREPC",gxz:"Z89CatNroRepC",gxold:"O89CatNroRepC",gxvar:"A89CatNroRepC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A89CatNroRepC=gx.num.intval(a)
},v2z:function(a){gx.O.Z89CatNroRepC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CATNROREPC",gx.fn.currentGridRowImpl(22),gx.O.A89CatNroRepC,0)},c2v:function(){gx.O.A89CatNroRepC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROREPC",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SATNROSEQS",gxz:"Z757SatNroSeqS",gxold:"O757SatNroSeqS",gxvar:"A757SatNroSeqS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A757SatNroSeqS=gx.num.intval(a)
},v2z:function(a){gx.O.Z757SatNroSeqS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SATNROSEQS",gx.fn.currentGridRowImpl(22),gx.O.A757SatNroSeqS,0)},c2v:function(){gx.O.A757SatNroSeqS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SATNROSEQS",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SATNROREPS",gxz:"Z756SatNroRepS",gxold:"O756SatNroRepS",gxvar:"A756SatNroRepS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A756SatNroRepS=gx.num.intval(a)
},v2z:function(a){gx.O.Z756SatNroRepS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SATNROREPS",gx.fn.currentGridRowImpl(22),gx.O.A756SatNroRepS,0)},c2v:function(){gx.O.A756SatNroRepS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SATNROREPS",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[37]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[39]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={fld:"TEXTBLOCK4",format:0,grid:0};
this.GXValidFnc[44]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCODCAMPOPARA",gxz:"ZV15CodCampoPara",gxold:"OV15CodCampoPara",gxvar:"AV15CodCampoPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15CodCampoPara=a},v2z:function(a){gx.O.ZV15CodCampoPara=a},v2c:function(){gx.fn.setControlValue("vCODCAMPOPARA",gx.O.AV15CodCampoPara,0)},c2v:function(){gx.O.AV15CodCampoPara=this.val()},val:function(){return gx.fn.getControlValue("vCODCAMPOPARA")
},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCODSUBCAMPOPARA",gxz:"ZV16CodSubCampoPara",gxold:"OV16CodSubCampoPara",gxvar:"AV16CodSubCampoPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16CodSubCampoPara=a},v2z:function(a){gx.O.ZV16CodSubCampoPara=a},v2c:function(){gx.fn.setControlValue("vCODSUBCAMPOPARA",gx.O.AV16CodSubCampoPara,0)
},c2v:function(){gx.O.AV16CodSubCampoPara=this.val()},val:function(){return gx.fn.getControlValue("vCODSUBCAMPOPARA")},nac:function(){return false}};this.ZV22Op="";this.OV22Op="";this.ZV11CodCampoDe="";this.OV11CodCampoDe="";this.ZV12CodSubcampoDe="";this.OV12CodSubcampoDe="";this.Z759SatValSubc="";this.O759SatValSubc="";this.Z90CatNroSeqC=0;this.O90CatNroSeqC=0;this.Z89CatNroRepC=0;this.O89CatNroRepC=0;this.Z757SatNroSeqS=0;this.O757SatNroSeqS=0;this.Z756SatNroRepS=0;this.O756SatNroRepS=0;this.AV15CodCampoPara="";
this.ZV15CodCampoPara="";this.OV15CodCampoPara="";this.AV16CodSubCampoPara="";this.ZV16CodSubCampoPara="";this.OV16CodSubCampoPara="";this.AV7AtdNro=0;this.A63AtdNro=0;this.AV22Op="";this.AV11CodCampoDe="";this.AV12CodSubcampoDe="";this.A759SatValSubc="";this.A90CatNroSeqC=0;this.A89CatNroRepC=0;this.A757SatNroSeqS=0;this.A756SatNroRepS=0;this.A202DicNroSequ=0;this.A216DisNroSequ=0;this.A203DicTipMate="";this.A209DisCodSubc="";this.A200DicNroEtiq="";this.ServerEvents=["e114b2_client","e154b2_client","e124b2_client","e164b2_client"];
this.EnterCtrl=["BT_CONFIRMA"];this.VarControlMap.AV7AtdNro={id:"vATDNRO",grid:0,type:"int"};this.VarControlMap.AV7AtdNro={id:"vATDNRO",grid:0,type:"int"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV7AtdNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Grid1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.SetStandaloneVars()
}himh016.prototype=new gx.GxObject;gx.setParentObj(new himh016());