gx.evt.autoSkip=false;function gx03n2(){this.ServerClass="Gx03N2";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pDicNroSequencia=gx.fn.getIntegerValue("vPDICNROSEQUENCIA",".");this.AV10pDisNroSequenciaSubcampo=gx.fn.getIntegerValue("vPDISNROSEQUENCIASUBCAMPO",".");this.AV11pIlsNroSequencia=gx.fn.getIntegerValue("vPILSNROSEQUENCIA",".")};this.e13c52_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e14c51_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,36,37,40];this.GXLastCtrlId=40;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03n2",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");
this.Grid1Container.addSingleLineEdit(485,33,"ILSNROSEQU","Nr. sequência","","IlsNroSequ","int",0,"px",3,3,"right",null,[],485,"IlsNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(484,34,"ILSDESINST","Instrução","Selecionar","IlsDesInst","char",0,"px",70,70,"left",null,[],484,"IlsDesInst",true,0,false,false);this.Grid1Container.addSingleLineEdit(483,35,"ILSCAMPO1L","Campo livre","","IlsCampo1L","char",0,"px",10,10,"left",null,[],483,"IlsCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(202,36,"DICNROSEQU","Sequência de campo","","DicNroSequ","int",0,"px",4,4,"right",null,[],202,"DicNroSequ",false,0,false,false);
this.Grid1Container.addSingleLineEdit(216,37,"DISNROSEQU","Nr.sequência subcampo","","DisNroSequ","int",0,"px",3,3,"right",null,[],216,"DisNroSequ",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:"TEXTBLOCKILSNROSEQUENCIA",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:"vCILSNROSEQUENCIA",gxz:"ZV6cIlsNroSequencia",gxold:"OV6cIlsNroSequencia",gxvar:"AV6cIlsNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cIlsNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cIlsNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCILSNROSEQUENCIA",gx.O.AV6cIlsNroSequencia,0)},c2v:function(){gx.O.AV6cIlsNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCILSNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKILSDESINSTRUCAO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCILSDESINSTRUCAO",gxz:"ZV7cIlsDesInstrucao",gxold:"OV7cIlsDesInstrucao",gxvar:"AV7cIlsDesInstrucao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cIlsDesInstrucao=a
},v2z:function(a){gx.O.ZV7cIlsDesInstrucao=a},v2c:function(){gx.fn.setControlValue("vCILSDESINSTRUCAO",gx.O.AV7cIlsDesInstrucao,0)},c2v:function(){gx.O.AV7cIlsDesInstrucao=this.val()},val:function(){return gx.fn.getControlValue("vCILSDESINSTRUCAO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKILSCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCILSCAMPO1LIVRE",gxz:"ZV8cIlsCampo1Livre",gxold:"OV8cIlsCampo1Livre",gxvar:"AV8cIlsCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cIlsCampo1Livre=a
},v2z:function(a){gx.O.ZV8cIlsCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCILSCAMPO1LIVRE",gx.O.AV8cIlsCampo1Livre,0)},c2v:function(){gx.O.AV8cIlsCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCILSCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ILSNROSEQU",gxz:"Z485IlsNroSequ",gxold:"O485IlsNroSequ",gxvar:"A485IlsNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A485IlsNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z485IlsNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ILSNROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A485IlsNroSequ,0)},c2v:function(){gx.O.A485IlsNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("ILSNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ILSDESINST",gxz:"Z484IlsDesInst",gxold:"O484IlsDesInst",gxvar:"A484IlsDesInst",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A484IlsDesInst=a
},v2z:function(a){gx.O.Z484IlsDesInst=a},v2c:function(){gx.fn.setGridControlValue("ILSDESINST",gx.fn.currentGridRowImpl(31),gx.O.A484IlsDesInst,0)},c2v:function(){gx.O.A484IlsDesInst=this.val()},val:function(){return gx.fn.getGridControlValue("ILSDESINST",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ILSCAMPO1L",gxz:"Z483IlsCampo1L",gxold:"O483IlsCampo1L",gxvar:"A483IlsCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A483IlsCampo1L=a
},v2z:function(a){gx.O.Z483IlsCampo1L=a},v2c:function(){gx.fn.setGridControlValue("ILSCAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A483IlsCampo1L,0)},c2v:function(){gx.O.A483IlsCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("ILSCAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:31,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(31),gx.O.A202DicNroSequ,0)},c2v:function(){gx.O.A202DicNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DICNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[37]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,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(31),gx.O.A216DisNroSequ,0)},c2v:function(){gx.O.A216DisNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DISNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TABLE4",grid:0};this.AV6cIlsNroSequencia=0;this.ZV6cIlsNroSequencia=0;this.OV6cIlsNroSequencia=0;this.AV7cIlsDesInstrucao="";this.ZV7cIlsDesInstrucao="";
this.OV7cIlsDesInstrucao="";this.AV8cIlsCampo1Livre="";this.ZV8cIlsCampo1Livre="";this.OV8cIlsCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z485IlsNroSequ=0;this.O485IlsNroSequ=0;this.Z484IlsDesInst="";this.O484IlsDesInst="";this.Z483IlsCampo1L="";this.O483IlsCampo1L="";this.Z202DicNroSequ=0;this.O202DicNroSequ=0;this.Z216DisNroSequ=0;this.O216DisNroSequ=0;this.AV9pDicNroSequencia=0;this.AV10pDisNroSequenciaSubcampo=0;this.AV11pIlsNroSequencia=0;this.AV5LinkSelection="";this.A485IlsNroSequ=0;
this.A484IlsDesInst="";this.A483IlsCampo1L="";this.A202DicNroSequ=0;this.A216DisNroSequ=0;this.ServerEvents=["e13c52_client","e14c51_client"];this.VarControlMap.AV9pDicNroSequencia={id:"vPDICNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pDisNroSequenciaSubcampo={id:"vPDISNROSEQUENCIASUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV11pIlsNroSequencia={id:"vPILSNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV9pDicNroSequencia={id:"vPDICNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pDisNroSequenciaSubcampo={id:"vPDISNROSEQUENCIASUBCAMPO",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({rfrVar:"AV9pDicNroSequencia"});this.Grid1Container.addRefreshingVar({rfrVar:"AV10pDisNroSequenciaSubcampo"});this.SetStandaloneVars()}gx03n2.prototype=new gx.GxObject;gx.setParentObj(new gx03n2());