gx.evt.autoSkip=false;function gx0310(){this.ServerClass="Gx0310";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pDicTipMaterial=gx.fn.getControlValue("vPDICTIPMATERIAL");this.AV14pDicNroSequencia=gx.fn.getIntegerValue("vPDICNROSEQUENCIA",".")};this.e13dd2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14dd1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,62];this.GXLastCtrlId=62;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0310",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(203,53,"DICTIPMATE","Tipo de material","","DicTipMate","char",0,"px",3,3,"left",null,[],203,"DicTipMate",true,0,false,false);
this.Grid1Container.addSingleLineEdit(202,54,"DICNROSEQU","Sequência de campo","","DicNroSequ","int",0,"px",4,4,"right",null,[],202,"DicNroSequ",true,0,false,false);this.Grid1Container.addComboBox(196,55,"DICINDATIV","Ativo S/N/O","DicIndAtiv","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(199,56,"DICNOMROTU","Rótulo","","DicNomRotu","char",0,"px",17,17,"left",null,[],199,"DicNomRotu",true,0,false,false);this.Grid1Container.addSingleLineEdit(200,57,"DICNROETIQ","Número etiqueta MARC","","DicNroEtiq","char",0,"px",3,3,"left",null,[],200,"DicNroEtiq",true,0,false,false);
this.Grid1Container.addComboBox(197,58,"DICINDCAMP","Campo repetitivo ?","DicIndCamp","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(201,59,"DICNROORDE","Ordem de apresentação","","DicNroOrde","int",0,"px",4,4,"right",null,[],201,"DicNroOrde",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKDICTIPMATERIAL",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICTIPMATERIAL",gxz:"ZV6cDicTipMaterial",gxold:"OV6cDicTipMaterial",gxvar:"AV6cDicTipMaterial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDicTipMaterial=a},v2z:function(a){gx.O.ZV6cDicTipMaterial=a},v2c:function(){gx.fn.setControlValue("vCDICTIPMATERIAL",gx.O.AV6cDicTipMaterial,0)},c2v:function(){gx.O.AV6cDicTipMaterial=this.val()},val:function(){return gx.fn.getControlValue("vCDICTIPMATERIAL")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDICNROSEQUENCIA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDICNROSEQUENCIA",gxz:"ZV7cDicNroSequencia",gxold:"OV7cDicNroSequencia",gxvar:"AV7cDicNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDicNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cDicNroSequencia=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCDICNROSEQUENCIA",gx.O.AV7cDicNroSequencia,0)},c2v:function(){gx.O.AV7cDicNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCDICNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDICINDATIVO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICINDATIVO",gxz:"ZV8cDicIndAtivo",gxold:"OV8cDicIndAtivo",gxvar:"AV8cDicIndAtivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cDicIndAtivo=a
},v2z:function(a){gx.O.ZV8cDicIndAtivo=a},v2c:function(){gx.fn.setComboBoxValue("vCDICINDATIVO",gx.O.AV8cDicIndAtivo)},c2v:function(){gx.O.AV8cDicIndAtivo=this.val()},val:function(){return gx.fn.getControlValue("vCDICINDATIVO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDICNOMROTULO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:17,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICNOMROTULO",gxz:"ZV9cDicNomRotulo",gxold:"OV9cDicNomRotulo",gxvar:"AV9cDicNomRotulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDicNomRotulo=a
},v2z:function(a){gx.O.ZV9cDicNomRotulo=a},v2c:function(){gx.fn.setControlValue("vCDICNOMROTULO",gx.O.AV9cDicNomRotulo,0)},c2v:function(){gx.O.AV9cDicNomRotulo=this.val()},val:function(){return gx.fn.getControlValue("vCDICNOMROTULO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKDICNOMCAMPO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICNOMCAMPO",gxz:"ZV10cDicNomCampo",gxold:"OV10cDicNomCampo",gxvar:"AV10cDicNomCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cDicNomCampo=a
},v2z:function(a){gx.O.ZV10cDicNomCampo=a},v2c:function(){gx.fn.setControlValue("vCDICNOMCAMPO",gx.O.AV10cDicNomCampo,0)},c2v:function(){gx.O.AV10cDicNomCampo=this.val()},val:function(){return gx.fn.getControlValue("vCDICNOMCAMPO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKDICNROETIQUETA",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICNROETIQUETA",gxz:"ZV11cDicNroEtiqueta",gxold:"OV11cDicNroEtiqueta",gxvar:"AV11cDicNroEtiqueta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cDicNroEtiqueta=a
},v2z:function(a){gx.O.ZV11cDicNroEtiqueta=a},v2c:function(){gx.fn.setControlValue("vCDICNROETIQUETA",gx.O.AV11cDicNroEtiqueta,0)},c2v:function(){gx.O.AV11cDicNroEtiqueta=this.val()},val:function(){return gx.fn.getControlValue("vCDICNROETIQUETA")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKDICINDCAMPOREPETITIVO",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDICINDCAMPOREPETITIVO",gxz:"ZV12cDicIndCampoRepetitivo",gxold:"OV12cDicIndCampoRepetitivo",gxvar:"AV12cDicIndCampoRepetitivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV12cDicIndCampoRepetitivo=a
},v2z:function(a){gx.O.ZV12cDicIndCampoRepetitivo=a},v2c:function(){gx.fn.setComboBoxValue("vCDICINDCAMPOREPETITIVO",gx.O.AV12cDicIndCampoRepetitivo)},c2v:function(){gx.O.AV12cDicIndCampoRepetitivo=this.val()},val:function(){return gx.fn.getControlValue("vCDICINDCAMPOREPETITIVO")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A203DicTipMate,0)},c2v:function(){gx.O.A203DicTipMate=this.val()},val:function(){return gx.fn.getGridControlValue("DICTIPMATE",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A202DicNroSequ,0)},c2v:function(){gx.O.A202DicNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DICNROSEQU",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A196DicIndAtiv)},c2v:function(){gx.O.A196DicIndAtiv=this.val()},val:function(){return gx.fn.getGridControlValue("DICINDATIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:17,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A199DicNomRotu,0)},c2v:function(){gx.O.A199DicNomRotu=this.val()},val:function(){return gx.fn.getGridControlValue("DICNOMROTU",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,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(51),gx.O.A200DicNroEtiq,0)},c2v:function(){gx.O.A200DicNroEtiq=this.val()},val:function(){return gx.fn.getGridControlValue("DICNROETIQ",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A197DicIndCamp)},c2v:function(){gx.O.A197DicIndCamp=this.val()},val:function(){return gx.fn.getGridControlValue("DICINDCAMP",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DICNROORDE",gxz:"Z201DicNroOrde",gxold:"O201DicNroOrde",gxvar:"A201DicNroOrde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A201DicNroOrde=gx.num.intval(a)
},v2z:function(a){gx.O.Z201DicNroOrde=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DICNROORDE",gx.fn.currentGridRowImpl(51),gx.O.A201DicNroOrde,0)},c2v:function(){gx.O.A201DicNroOrde=this.val()},val:function(){return gx.fn.getGridIntegerValue("DICNROORDE",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cDicTipMaterial="";this.ZV6cDicTipMaterial="";this.OV6cDicTipMaterial="";this.AV7cDicNroSequencia=0;this.ZV7cDicNroSequencia=0;
this.OV7cDicNroSequencia=0;this.AV8cDicIndAtivo="";this.ZV8cDicIndAtivo="";this.OV8cDicIndAtivo="";this.AV9cDicNomRotulo="";this.ZV9cDicNomRotulo="";this.OV9cDicNomRotulo="";this.AV10cDicNomCampo="";this.ZV10cDicNomCampo="";this.OV10cDicNomCampo="";this.AV11cDicNroEtiqueta="";this.ZV11cDicNroEtiqueta="";this.OV11cDicNroEtiqueta="";this.AV12cDicIndCampoRepetitivo="";this.ZV12cDicIndCampoRepetitivo="";this.OV12cDicIndCampoRepetitivo="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z203DicTipMate="";
this.O203DicTipMate="";this.Z202DicNroSequ=0;this.O202DicNroSequ=0;this.Z196DicIndAtiv="";this.O196DicIndAtiv="";this.Z199DicNomRotu="";this.O199DicNomRotu="";this.Z200DicNroEtiq="";this.O200DicNroEtiq="";this.Z197DicIndCamp="";this.O197DicIndCamp="";this.Z201DicNroOrde=0;this.O201DicNroOrde=0;this.AV13pDicTipMaterial="";this.AV14pDicNroSequencia=0;this.A198DicNomCamp="";this.AV5LinkSelection="";this.A203DicTipMate="";this.A202DicNroSequ=0;this.A196DicIndAtiv="";this.A199DicNomRotu="";this.A200DicNroEtiq="";
this.A197DicIndCamp="";this.A201DicNroOrde=0;this.ServerEvents=["e13dd2_client","e14dd1_client"];this.VarControlMap.AV13pDicTipMaterial={id:"vPDICTIPMATERIAL",grid:0,type:"char"};this.VarControlMap.AV14pDicNroSequencia={id:"vPDICNROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx0310.prototype=new gx.GxObject;gx.setParentObj(new gx0310());