gx.evt.autoSkip=false;function hldicioc(){this.ServerClass="HLDicioC";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV7DicNroSeq=gx.fn.getIntegerValue("vDICNROSEQ",".")};this.Validv_Dictipmate=function(){try{var a=gx.util.balloon.getNew("vDICTIPMATE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dicnroetiq=function(){try{if(gx.fn.currentGridRowImpl(33)===0){return true}var a=gx.util.balloon.getNew("DICNROETIQ",gx.fn.currentGridRowImpl(33));
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e146u2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e116u2_client=function(){this.executeServerEvent("'LAST'",false)};this.e126u2_client=function(){this.executeServerEvent("'FIRST'",false)};this.e136u2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e156u2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e176u1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,6,21,24,26,28,30,34,35,36,37,38,39,40];this.GXLastCtrlId=40;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",33,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hldicioc",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(203,34,"DICTIPMATE","Material","","DicTipMate","char",0,"px",3,3,"left",null,[],203,"DicTipMate",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(202,35,"DICNROSEQU","Seq","","DicNroSequ","int",0,"px",4,4,"right",null,[],202,"DicNroSequ",true,0,false,false);this.Subfile1Container.addSingleLineEdit(200,36,"DICNROETIQ","Etq","","DicNroEtiq","char",0,"px",3,3,"left",null,[],200,"DicNroEtiq",true,0,false,false);this.Subfile1Container.addSingleLineEdit(199,37,"DICNOMROTU","Rótulo","","DicNomRotu","char",0,"px",17,17,"left",null,[],199,"DicNomRotu",true,0,false,false);this.Subfile1Container.addComboBox(196,38,"DICINDATIV","Ativo","DicIndAtiv","char",null,0,true,false,0,"px");
this.Subfile1Container.addComboBox(197,39,"DICINDCAMP","Repetitivo","DicIndCamp","char",null,0,true,false,0,"px");this.Subfile1Container.addSingleLineEdit(204,40,"DICVALINDI","Ind. padrão","","DicValIndi","char",0,"px",2,2,"left",null,[],204,"DicValIndi",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[21]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[26]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Validv_Dictipmate,isvalid:null,fld:"vDICTIPMATE",gxz:"ZV8DicTipMate",gxold:"OV8DicTipMate",gxvar:"AV8DicTipMate",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8DicTipMate=a},v2z:function(a){gx.O.ZV8DicTipMate=a},v2c:function(){gx.fn.setControlValue("vDICTIPMATE",gx.O.AV8DicTipMate,0)},c2v:function(){gx.O.AV8DicTipMate=this.val()},val:function(){return gx.fn.getControlValue("vDICTIPMATE")
},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDICNROETIQ",gxz:"ZV6DicNroEtiq",gxold:"OV6DicNroEtiq",gxvar:"AV6DicNroEtiq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6DicNroEtiq=a},v2z:function(a){gx.O.ZV6DicNroEtiq=a},v2c:function(){gx.fn.setControlValue("vDICNROETIQ",gx.O.AV6DicNroEtiq,0)},c2v:function(){gx.O.AV6DicNroEtiq=this.val()
},val:function(){return gx.fn.getControlValue("vDICNROETIQ")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DICTIPMATE",gxz:"Z203DicTipMate",gxold:"O203DicTipMate",gxvar:"A203DicTipMate",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A203DicTipMate=a},v2z:function(a){gx.O.Z203DicTipMate=a},v2c:function(){gx.fn.setGridControlValue("DICTIPMATE",gx.fn.currentGridRowImpl(33),gx.O.A203DicTipMate,0)
},c2v:function(){gx.O.A203DicTipMate=this.val()},val:function(){return gx.fn.getGridControlValue("DICTIPMATE",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DICNROSEQU",gxz:"Z202DicNroSequ",gxold:"O202DicNroSequ",gxvar:"A202DicNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A202DicNroSequ=gx.num.intval(a)},v2z:function(a){gx.O.Z202DicNroSequ=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("DICNROSEQU",gx.fn.currentGridRowImpl(33),gx.O.A202DicNroSequ,0)},c2v:function(){gx.O.A202DicNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DICNROSEQU",gx.fn.currentGridRowImpl(33),".")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:this.Valid_Dicnroetiq,isvalid:null,fld:"DICNROETIQ",gxz:"Z200DicNroEtiq",gxold:"O200DicNroEtiq",gxvar:"A200DicNroEtiq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A200DicNroEtiq=a
},v2z:function(a){gx.O.Z200DicNroEtiq=a},v2c:function(){gx.fn.setGridControlValue("DICNROETIQ",gx.fn.currentGridRowImpl(33),gx.O.A200DicNroEtiq,0)},c2v:function(){gx.O.A200DicNroEtiq=this.val()},val:function(){return gx.fn.getGridControlValue("DICNROETIQ",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.GXValidFnc[37]={lvl:2,type:"char",len:17,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DICNOMROTU",gxz:"Z199DicNomRotu",gxold:"O199DicNomRotu",gxvar:"A199DicNomRotu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A199DicNomRotu=a
},v2z:function(a){gx.O.Z199DicNomRotu=a},v2c:function(){gx.fn.setGridControlValue("DICNOMROTU",gx.fn.currentGridRowImpl(33),gx.O.A199DicNomRotu,0)},c2v:function(){gx.O.A199DicNomRotu=this.val()},val:function(){return gx.fn.getGridControlValue("DICNOMROTU",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DICINDATIV",gxz:"Z196DicIndAtiv",gxold:"O196DicIndAtiv",gxvar:"A196DicIndAtiv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A196DicIndAtiv=a
},v2z:function(a){gx.O.Z196DicIndAtiv=a},v2c:function(){gx.fn.setGridComboBoxValue("DICINDATIV",gx.fn.currentGridRowImpl(33),gx.O.A196DicIndAtiv)},c2v:function(){gx.O.A196DicIndAtiv=this.val()},val:function(){return gx.fn.getGridControlValue("DICINDATIV",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DICINDCAMP",gxz:"Z197DicIndCamp",gxold:"O197DicIndCamp",gxvar:"A197DicIndCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A197DicIndCamp=a
},v2z:function(a){gx.O.Z197DicIndCamp=a},v2c:function(){gx.fn.setGridComboBoxValue("DICINDCAMP",gx.fn.currentGridRowImpl(33),gx.O.A197DicIndCamp)},c2v:function(){gx.O.A197DicIndCamp=this.val()},val:function(){return gx.fn.getGridControlValue("DICINDCAMP",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:33,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DICVALINDI",gxz:"Z204DicValIndi",gxold:"O204DicValIndi",gxvar:"A204DicValIndi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A204DicValIndi=a
},v2z:function(a){gx.O.Z204DicValIndi=a},v2c:function(){gx.fn.setGridControlValue("DICVALINDI",gx.fn.currentGridRowImpl(33),gx.O.A204DicValIndi,0)},c2v:function(){gx.O.A204DicValIndi=this.val()},val:function(){return gx.fn.getGridControlValue("DICVALINDI",gx.fn.currentGridRowImpl(33))},nac:function(){return false}};this.AV8DicTipMate="";this.ZV8DicTipMate="";this.OV8DicTipMate="";this.AV6DicNroEtiq="";this.ZV6DicNroEtiq="";this.OV6DicNroEtiq="";this.Z203DicTipMate="";this.O203DicTipMate="";this.Z202DicNroSequ=0;
this.O202DicNroSequ=0;this.Z200DicNroEtiq="";this.O200DicNroEtiq="";this.Z199DicNomRotu="";this.O199DicNomRotu="";this.Z196DicIndAtiv="";this.O196DicIndAtiv="";this.Z197DicIndCamp="";this.O197DicIndCamp="";this.Z204DicValIndi="";this.O204DicValIndi="";this.AV7DicNroSeq=0;this.A203DicTipMate="";this.A202DicNroSequ=0;this.A200DicNroEtiq="";this.A199DicNomRotu="";this.A196DicIndAtiv="";this.A197DicIndCamp="";this.A204DicValIndi="";this.ServerEvents=["e146u2_client","e116u2_client","e126u2_client","e136u2_client","e156u2_client","e176u1_client"];
this.VarControlMap.AV7DicNroSeq={id:"vDICNROSEQ",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[30]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[26]);this.SetStandaloneVars()}hldicioc.prototype=new gx.GxObject;gx.setParentObj(new hldicioc());