gx.evt.autoSkip=false;function gx04h2(){this.ServerClass="Gx04H2";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pRdoNroSequencia=gx.fn.getIntegerValue("vPRDONROSEQUENCIA",".");this.AV10pRdiNroSequencia=gx.fn.getIntegerValue("vPRDINROSEQUENCIA",".");this.AV11pRicCodCampo=gx.fn.getControlValue("vPRICCODCAMPO")};this.e13f02_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14f01_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,"gx04h2",[],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(1048,33,"RICCODCAMP","Campo","","RicCodCamp","char",0,"px",10,10,"left",null,[],1048,"RicCodCamp",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1050,34,"RICCAMPO1L","livre","","RicCampo1L","char",0,"px",10,10,"left",null,[],1050,"RicCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(1051,35,"RICIND1","livre","","RicInd1","char",0,"px",1,1,"left",null,[],1051,"RicInd1",true,0,false,false);this.Grid1Container.addSingleLineEdit(1038,36,"RDONROSEQU","Número","","RdoNroSequ","int",0,"px",6,6,"right",null,[],1038,"RdoNroSequ",false,0,false,false);this.Grid1Container.addSingleLineEdit(1044,37,"RDINROSEQU","Item","","RdiNroSequ","int",0,"px",4,4,"right",null,[],1044,"RdiNroSequ",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:"TEXTBLOCKRICCODCAMPO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRICCODCAMPO",gxz:"ZV6cRicCodCampo",gxold:"OV6cRicCodCampo",gxvar:"AV6cRicCodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cRicCodCampo=a
},v2z:function(a){gx.O.ZV6cRicCodCampo=a},v2c:function(){gx.fn.setControlValue("vCRICCODCAMPO",gx.O.AV6cRicCodCampo,0)},c2v:function(){gx.O.AV6cRicCodCampo=this.val()},val:function(){return gx.fn.getControlValue("vCRICCODCAMPO")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKRICCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRICCAMPO1LIVRE",gxz:"ZV7cRicCampo1Livre",gxold:"OV7cRicCampo1Livre",gxvar:"AV7cRicCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cRicCampo1Livre=a
},v2z:function(a){gx.O.ZV7cRicCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCRICCAMPO1LIVRE",gx.O.AV7cRicCampo1Livre,0)},c2v:function(){gx.O.AV7cRicCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCRICCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKRICIND1",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:"vCRICIND1",gxz:"ZV8cRicInd1",gxold:"OV8cRicInd1",gxvar:"AV8cRicInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cRicInd1=a
},v2z:function(a){gx.O.ZV8cRicInd1=a},v2c:function(){gx.fn.setControlValue("vCRICIND1",gx.O.AV8cRicInd1,0)},c2v:function(){gx.O.AV8cRicInd1=this.val()},val:function(){return gx.fn.getControlValue("vCRICIND1")},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:"char",len:10,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RICCODCAMP",gxz:"Z1048RicCodCamp",gxold:"O1048RicCodCamp",gxvar:"A1048RicCodCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1048RicCodCamp=a
},v2z:function(a){gx.O.Z1048RicCodCamp=a},v2c:function(){gx.fn.setGridControlValue("RICCODCAMP",gx.fn.currentGridRowImpl(31),gx.O.A1048RicCodCamp,0)},c2v:function(){gx.O.A1048RicCodCamp=this.val()},val:function(){return gx.fn.getGridControlValue("RICCODCAMP",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RICCAMPO1L",gxz:"Z1050RicCampo1L",gxold:"O1050RicCampo1L",gxvar:"A1050RicCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1050RicCampo1L=a
},v2z:function(a){gx.O.Z1050RicCampo1L=a},v2c:function(){gx.fn.setGridControlValue("RICCAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A1050RicCampo1L,0)},c2v:function(){gx.O.A1050RicCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("RICCAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RICIND1",gxz:"Z1051RicInd1",gxold:"O1051RicInd1",gxvar:"A1051RicInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1051RicInd1=a
},v2z:function(a){gx.O.Z1051RicInd1=a},v2c:function(){gx.fn.setGridControlValue("RICIND1",gx.fn.currentGridRowImpl(31),gx.O.A1051RicInd1,0)},c2v:function(){gx.O.A1051RicInd1=this.val()},val:function(){return gx.fn.getGridControlValue("RICIND1",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RDONROSEQU",gxz:"Z1038RdoNroSequ",gxold:"O1038RdoNroSequ",gxvar:"A1038RdoNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1038RdoNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1038RdoNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RDONROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A1038RdoNroSequ,0)},c2v:function(){gx.O.A1038RdoNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RDONROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[37]={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:"RDINROSEQU",gxz:"Z1044RdiNroSequ",gxold:"O1044RdiNroSequ",gxvar:"A1044RdiNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1044RdiNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1044RdiNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RDINROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A1044RdiNroSequ,0)},c2v:function(){gx.O.A1044RdiNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RDINROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TABLE4",grid:0};this.AV6cRicCodCampo="";this.ZV6cRicCodCampo="";this.OV6cRicCodCampo="";this.AV7cRicCampo1Livre="";this.ZV7cRicCampo1Livre="";
this.OV7cRicCampo1Livre="";this.AV8cRicInd1="";this.ZV8cRicInd1="";this.OV8cRicInd1="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z1048RicCodCamp="";this.O1048RicCodCamp="";this.Z1050RicCampo1L="";this.O1050RicCampo1L="";this.Z1051RicInd1="";this.O1051RicInd1="";this.Z1038RdoNroSequ=0;this.O1038RdoNroSequ=0;this.Z1044RdiNroSequ=0;this.O1044RdiNroSequ=0;this.AV9pRdoNroSequencia=0;this.AV10pRdiNroSequencia=0;this.AV11pRicCodCampo="";this.AV5LinkSelection="";this.A1048RicCodCamp="";this.A1050RicCampo1L="";
this.A1051RicInd1="";this.A1038RdoNroSequ=0;this.A1044RdiNroSequ=0;this.ServerEvents=["e13f02_client","e14f01_client"];this.VarControlMap.AV9pRdoNroSequencia={id:"vPRDONROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pRdiNroSequencia={id:"vPRDINROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV11pRicCodCampo={id:"vPRICCODCAMPO",grid:0,type:"char"};this.VarControlMap.AV9pRdoNroSequencia={id:"vPRDONROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pRdiNroSequencia={id:"vPRDINROSEQUENCIA",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:"AV9pRdoNroSequencia"});this.Grid1Container.addRefreshingVar({rfrVar:"AV10pRdiNroSequencia"});this.SetStandaloneVars()}gx04h2.prototype=new gx.GxObject;gx.setParentObj(new gx04h2());