gx.evt.autoSkip=false;function gx0322(){this.ServerClass="Gx0322";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pDicTipMaterial=gx.fn.getControlValue("vPDICTIPMATERIAL");this.AV12pDicNroSequencia=gx.fn.getIntegerValue("vPDICNROSEQUENCIA",".");this.AV13pDisNroSequenciaSubcampo=gx.fn.getIntegerValue("vPDISNROSEQUENCIASUBCAMPO",".")};this.e13af2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e14af1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,48,49,52];this.GXLastCtrlId=52;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0322",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");
this.Grid1Container.addSingleLineEdit(216,43,"DISNROSEQU","Nr.sequência subcampo","","DisNroSequ","int",0,"px",3,3,"right",null,[],216,"DisNroSequ",true,0,false,false);this.Grid1Container.addComboBox(210,44,"DISINDATIV","Ativo S/N/O","DisIndAtiv","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(214,45,"DISNOMSUBC","Nome subcampo","","DisNomSubc","char",0,"px",50,50,"left",null,[],214,"DisNomSubc",true,0,false,false);this.Grid1Container.addSingleLineEdit(209,46,"DISCODSUBC","Código do subcampo","","DisCodSubc","char",0,"px",1,1,"left",null,[],209,"DisCodSubc",true,0,false,false);
this.Grid1Container.addComboBox(213,47,"DISINDSUBC","Subcampo repetitivo ?","DisIndSubc","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(203,48,"DICTIPMATE","Tipo de material","","DicTipMate","char",0,"px",3,3,"left",null,[],203,"DicTipMate",false,0,false,false);this.Grid1Container.addSingleLineEdit(202,49,"DICNROSEQU","Sequência de campo","","DicNroSequ","int",0,"px",4,4,"right",null,[],202,"DicNroSequ",false,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:"TEXTBLOCKDISNROSEQUENCIASUBCAMPO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDISNROSEQUENCIASUBCAMPO",gxz:"ZV6cDisNroSequenciaSubcampo",gxold:"OV6cDisNroSequenciaSubcampo",gxvar:"AV6cDisNroSequenciaSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDisNroSequenciaSubcampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDisNroSequenciaSubcampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDISNROSEQUENCIASUBCAMPO",gx.O.AV6cDisNroSequenciaSubcampo,0)},c2v:function(){gx.O.AV6cDisNroSequenciaSubcampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCDISNROSEQUENCIASUBCAMPO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDISINDATIVO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDISINDATIVO",gxz:"ZV7cDisIndAtivo",gxold:"OV7cDisIndAtivo",gxvar:"AV7cDisIndAtivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cDisIndAtivo=a
},v2z:function(a){gx.O.ZV7cDisIndAtivo=a},v2c:function(){gx.fn.setComboBoxValue("vCDISINDATIVO",gx.O.AV7cDisIndAtivo)},c2v:function(){gx.O.AV7cDisIndAtivo=this.val()},val:function(){return gx.fn.getControlValue("vCDISINDATIVO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDISNOMSUBCAMPO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDISNOMSUBCAMPO",gxz:"ZV8cDisNomSubcampo",gxold:"OV8cDisNomSubcampo",gxvar:"AV8cDisNomSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cDisNomSubcampo=a
},v2z:function(a){gx.O.ZV8cDisNomSubcampo=a},v2c:function(){gx.fn.setControlValue("vCDISNOMSUBCAMPO",gx.O.AV8cDisNomSubcampo,0)},c2v:function(){gx.O.AV8cDisNomSubcampo=this.val()},val:function(){return gx.fn.getControlValue("vCDISNOMSUBCAMPO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDISCODSUBCAMPO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDISCODSUBCAMPO",gxz:"ZV9cDisCodSubcampo",gxold:"OV9cDisCodSubcampo",gxvar:"AV9cDisCodSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDisCodSubcampo=a
},v2z:function(a){gx.O.ZV9cDisCodSubcampo=a},v2c:function(){gx.fn.setControlValue("vCDISCODSUBCAMPO",gx.O.AV9cDisCodSubcampo,0)},c2v:function(){gx.O.AV9cDisCodSubcampo=this.val()},val:function(){return gx.fn.getControlValue("vCDISCODSUBCAMPO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKDISINDSUBCAMPOREPETITIVO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDISINDSUBCAMPOREPETITIVO",gxz:"ZV10cDisIndSubcampoRepetitivo",gxold:"OV10cDisIndSubcampoRepetitivo",gxvar:"AV10cDisIndSubcampoRepetitivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV10cDisIndSubcampoRepetitivo=a
},v2z:function(a){gx.O.ZV10cDisIndSubcampoRepetitivo=a},v2c:function(){gx.fn.setComboBoxValue("vCDISINDSUBCAMPOREPETITIVO",gx.O.AV10cDisIndSubcampoRepetitivo)},c2v:function(){gx.O.AV10cDisIndSubcampoRepetitivo=this.val()},val:function(){return gx.fn.getControlValue("vCDISINDSUBCAMPOREPETITIVO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DISNROSEQU",gxz:"Z216DisNroSequ",gxold:"O216DisNroSequ",gxvar:"A216DisNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A216DisNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z216DisNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DISNROSEQU",gx.fn.currentGridRowImpl(41),gx.O.A216DisNroSequ,0)},c2v:function(){gx.O.A216DisNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DISNROSEQU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DISINDATIV",gxz:"Z210DisIndAtiv",gxold:"O210DisIndAtiv",gxvar:"A210DisIndAtiv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A210DisIndAtiv=a
},v2z:function(a){gx.O.Z210DisIndAtiv=a},v2c:function(){gx.fn.setGridComboBoxValue("DISINDATIV",gx.fn.currentGridRowImpl(41),gx.O.A210DisIndAtiv)},c2v:function(){gx.O.A210DisIndAtiv=this.val()},val:function(){return gx.fn.getGridControlValue("DISINDATIV",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DISNOMSUBC",gxz:"Z214DisNomSubc",gxold:"O214DisNomSubc",gxvar:"A214DisNomSubc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A214DisNomSubc=a
},v2z:function(a){gx.O.Z214DisNomSubc=a},v2c:function(){gx.fn.setGridControlValue("DISNOMSUBC",gx.fn.currentGridRowImpl(41),gx.O.A214DisNomSubc,0)},c2v:function(){gx.O.A214DisNomSubc=this.val()},val:function(){return gx.fn.getGridControlValue("DISNOMSUBC",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DISCODSUBC",gxz:"Z209DisCodSubc",gxold:"O209DisCodSubc",gxvar:"A209DisCodSubc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A209DisCodSubc=a
},v2z:function(a){gx.O.Z209DisCodSubc=a},v2c:function(){gx.fn.setGridControlValue("DISCODSUBC",gx.fn.currentGridRowImpl(41),gx.O.A209DisCodSubc,0)},c2v:function(){gx.O.A209DisCodSubc=this.val()},val:function(){return gx.fn.getGridControlValue("DISCODSUBC",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DISINDSUBC",gxz:"Z213DisIndSubc",gxold:"O213DisIndSubc",gxvar:"A213DisIndSubc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A213DisIndSubc=a
},v2z:function(a){gx.O.Z213DisIndSubc=a},v2c:function(){gx.fn.setGridComboBoxValue("DISINDSUBC",gx.fn.currentGridRowImpl(41),gx.O.A213DisIndSubc)},c2v:function(){gx.O.A213DisIndSubc=this.val()},val:function(){return gx.fn.getGridControlValue("DISINDSUBC",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:41,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(41),gx.O.A203DicTipMate,0)},c2v:function(){gx.O.A203DicTipMate=this.val()},val:function(){return gx.fn.getGridControlValue("DICTIPMATE",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,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(41),gx.O.A202DicNroSequ,0)},c2v:function(){gx.O.A202DicNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DICNROSEQU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TABLE4",grid:0};this.AV6cDisNroSequenciaSubcampo=0;this.ZV6cDisNroSequenciaSubcampo=0;this.OV6cDisNroSequenciaSubcampo=0;this.AV7cDisIndAtivo="";
this.ZV7cDisIndAtivo="";this.OV7cDisIndAtivo="";this.AV8cDisNomSubcampo="";this.ZV8cDisNomSubcampo="";this.OV8cDisNomSubcampo="";this.AV9cDisCodSubcampo="";this.ZV9cDisCodSubcampo="";this.OV9cDisCodSubcampo="";this.AV10cDisIndSubcampoRepetitivo="";this.ZV10cDisIndSubcampoRepetitivo="";this.OV10cDisIndSubcampoRepetitivo="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z216DisNroSequ=0;this.O216DisNroSequ=0;this.Z210DisIndAtiv="";this.O210DisIndAtiv="";this.Z214DisNomSubc="";this.O214DisNomSubc="";
this.Z209DisCodSubc="";this.O209DisCodSubc="";this.Z213DisIndSubc="";this.O213DisIndSubc="";this.Z203DicTipMate="";this.O203DicTipMate="";this.Z202DicNroSequ=0;this.O202DicNroSequ=0;this.AV11pDicTipMaterial="";this.AV12pDicNroSequencia=0;this.AV13pDisNroSequenciaSubcampo=0;this.AV5LinkSelection="";this.A216DisNroSequ=0;this.A210DisIndAtiv="";this.A214DisNomSubc="";this.A209DisCodSubc="";this.A213DisIndSubc="";this.A203DicTipMate="";this.A202DicNroSequ=0;this.ServerEvents=["e13af2_client","e14af1_client"];
this.VarControlMap.AV11pDicTipMaterial={id:"vPDICTIPMATERIAL",grid:0,type:"char"};this.VarControlMap.AV12pDicNroSequencia={id:"vPDICNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV13pDisNroSequenciaSubcampo={id:"vPDISNROSEQUENCIASUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV11pDicTipMaterial={id:"vPDICTIPMATERIAL",grid:0,type:"char"};this.VarControlMap.AV12pDicNroSequencia={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({rfrVar:"AV11pDicTipMaterial"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12pDicNroSequencia"});this.SetStandaloneVars()}gx0322.prototype=new gx.GxObject;gx.setParentObj(new gx0322());