gx.evt.autoSkip=false;function gx03l5(){this.ServerClass="Gx03L5";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV9pCedNroItem=gx.fn.getIntegerValue("vPCEDNROITEM",".");this.AV10pCedNroArtigo=gx.fn.getIntegerValue("vPCEDNROARTIGO",".");this.AV11pCedNroSeqCampo=gx.fn.getIntegerValue("vPCEDNROSEQCAMPO",".");this.AV12pCedNroRepCampo=gx.fn.getIntegerValue("vPCEDNROREPCAMPO",".");
this.AV13pScdNroAgrupamento=gx.fn.getIntegerValue("vPSCDNROAGRUPAMENTO",".");this.AV14pScdNroSeqSubcampo=gx.fn.getIntegerValue("vPSCDNROSEQSUBCAMPO",".");this.AV15pScdNroRepSubcampo=gx.fn.getIntegerValue("vPSCDNROREPSUBCAMPO",".")};this.e13c82_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14c81_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,31,32,33,34,35,36,37,38,41];this.GXLastCtrlId=41;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03l5",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(765,28,"SCDNROAGRU","Nr. agrupamento subcampo","","ScdNroAgru","int",0,"px",2,2,"right",null,[],765,"ScdNroAgru",true,0,false,false);
this.Grid1Container.addSingleLineEdit(767,29,"SCDNROSEQS","Nr. seq. subcampo","","ScdNroSeqS","int",0,"px",3,3,"right",null,[],767,"ScdNroSeqS",true,0,false,false);this.Grid1Container.addSingleLineEdit(766,30,"SCDNROREPS","Nr. repetição subcampo","","ScdNroRepS","int",0,"px",4,4,"right",null,[],766,"ScdNroRepS",true,0,false,false);this.Grid1Container.addComboBox(768,31,"SCDTIPENTI","Tipo entidade","ScdTipEnti","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(764,32,"SCDCODENTI","Código chave da entidade","","ScdCodEnti","char",0,"px",8,8,"left",null,[],764,"ScdCodEnti",true,0,false,false);
this.Grid1Container.addSingleLineEdit(763,33,"SCDCAMPO1L","Campo livre","","ScdCampo1L","char",0,"px",10,10,"left",null,[],763,"ScdCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(258,34,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(113,35,"CEDNROITEM","Nr. item","","CedNroItem","int",0,"px",6,6,"right",null,[],113,"CedNroItem",false,0,false,false);this.Grid1Container.addSingleLineEdit(112,36,"CEDNROARTI","Nr. artigo","","CedNroArti","int",0,"px",4,4,"right",null,[],112,"CedNroArti",false,0,false,false);
this.Grid1Container.addSingleLineEdit(115,37,"CEDNROSEQC","Nr. sequencia campo","","CedNroSeqC","int",0,"px",4,4,"right",null,[],115,"CedNroSeqC",false,0,false,false);this.Grid1Container.addSingleLineEdit(114,38,"CEDNROREPC","Nr. repetição campo","","CedNroRepC","int",0,"px",3,3,"right",null,[],114,"CedNroRepC",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:"TEXTBLOCKSCDNROAGRUPAMENTO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCSCDNROAGRUPAMENTO",gxz:"ZV6cScdNroAgrupamento",gxold:"OV6cScdNroAgrupamento",gxvar:"AV6cScdNroAgrupamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cScdNroAgrupamento=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cScdNroAgrupamento=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSCDNROAGRUPAMENTO",gx.O.AV6cScdNroAgrupamento,0)
},c2v:function(){gx.O.AV6cScdNroAgrupamento=this.val()},val:function(){return gx.fn.getIntegerValue("vCSCDNROAGRUPAMENTO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKSCDNROSEQSUBCAMPO",format:0,grid:0};this.GXValidFnc[19]={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:"vCSCDNROSEQSUBCAMPO",gxz:"ZV7cScdNroSeqSubcampo",gxold:"OV7cScdNroSeqSubcampo",gxvar:"AV7cScdNroSeqSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cScdNroSeqSubcampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cScdNroSeqSubcampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSCDNROSEQSUBCAMPO",gx.O.AV7cScdNroSeqSubcampo,0)},c2v:function(){gx.O.AV7cScdNroSeqSubcampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCSCDNROSEQSUBCAMPO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SCDNROAGRU",gxz:"Z765ScdNroAgru",gxold:"O765ScdNroAgru",gxvar:"A765ScdNroAgru",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A765ScdNroAgru=gx.num.intval(a)
},v2z:function(a){gx.O.Z765ScdNroAgru=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROAGRU",gx.fn.currentGridRowImpl(26),gx.O.A765ScdNroAgru,0)},c2v:function(){gx.O.A765ScdNroAgru=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROAGRU",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SCDNROSEQS",gxz:"Z767ScdNroSeqS",gxold:"O767ScdNroSeqS",gxvar:"A767ScdNroSeqS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A767ScdNroSeqS=gx.num.intval(a)
},v2z:function(a){gx.O.Z767ScdNroSeqS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROSEQS",gx.fn.currentGridRowImpl(26),gx.O.A767ScdNroSeqS,0)},c2v:function(){gx.O.A767ScdNroSeqS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROSEQS",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SCDNROREPS",gxz:"Z766ScdNroRepS",gxold:"O766ScdNroRepS",gxvar:"A766ScdNroRepS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A766ScdNroRepS=gx.num.intval(a)
},v2z:function(a){gx.O.Z766ScdNroRepS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SCDNROREPS",gx.fn.currentGridRowImpl(26),gx.O.A766ScdNroRepS,0)},c2v:function(){gx.O.A766ScdNroRepS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SCDNROREPS",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SCDTIPENTI",gxz:"Z768ScdTipEnti",gxold:"O768ScdTipEnti",gxvar:"A768ScdTipEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A768ScdTipEnti=a
},v2z:function(a){gx.O.Z768ScdTipEnti=a},v2c:function(){gx.fn.setGridComboBoxValue("SCDTIPENTI",gx.fn.currentGridRowImpl(26),gx.O.A768ScdTipEnti)},c2v:function(){gx.O.A768ScdTipEnti=this.val()},val:function(){return gx.fn.getGridControlValue("SCDTIPENTI",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:8,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SCDCODENTI",gxz:"Z764ScdCodEnti",gxold:"O764ScdCodEnti",gxvar:"A764ScdCodEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A764ScdCodEnti=a
},v2z:function(a){gx.O.Z764ScdCodEnti=a},v2c:function(){gx.fn.setGridControlValue("SCDCODENTI",gx.fn.currentGridRowImpl(26),gx.O.A764ScdCodEnti,0)},c2v:function(){gx.O.A764ScdCodEnti=this.val()},val:function(){return gx.fn.getGridControlValue("SCDCODENTI",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SCDCAMPO1L",gxz:"Z763ScdCampo1L",gxold:"O763ScdCampo1L",gxvar:"A763ScdCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A763ScdCampo1L=a
},v2z:function(a){gx.O.Z763ScdCampo1L=a},v2c:function(){gx.fn.setGridControlValue("SCDCAMPO1L",gx.fn.currentGridRowImpl(26),gx.O.A763ScdCampo1L,0)},c2v:function(){gx.O.A763ScdCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("SCDCAMPO1L",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(26),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEDNROITEM",gxz:"Z113CedNroItem",gxold:"O113CedNroItem",gxvar:"A113CedNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A113CedNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.Z113CedNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROITEM",gx.fn.currentGridRowImpl(26),gx.O.A113CedNroItem,0)},c2v:function(){gx.O.A113CedNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROITEM",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEDNROARTI",gxz:"Z112CedNroArti",gxold:"O112CedNroArti",gxvar:"A112CedNroArti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A112CedNroArti=gx.num.intval(a)
},v2z:function(a){gx.O.Z112CedNroArti=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROARTI",gx.fn.currentGridRowImpl(26),gx.O.A112CedNroArti,0)},c2v:function(){gx.O.A112CedNroArti=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROARTI",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[37]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEDNROSEQC",gxz:"Z115CedNroSeqC",gxold:"O115CedNroSeqC",gxvar:"A115CedNroSeqC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A115CedNroSeqC=gx.num.intval(a)
},v2z:function(a){gx.O.Z115CedNroSeqC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROSEQC",gx.fn.currentGridRowImpl(26),gx.O.A115CedNroSeqC,0)},c2v:function(){gx.O.A115CedNroSeqC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROSEQC",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CEDNROREPC",gxz:"Z114CedNroRepC",gxold:"O114CedNroRepC",gxvar:"A114CedNroRepC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A114CedNroRepC=gx.num.intval(a)
},v2z:function(a){gx.O.Z114CedNroRepC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CEDNROREPC",gx.fn.currentGridRowImpl(26),gx.O.A114CedNroRepC,0)},c2v:function(){gx.O.A114CedNroRepC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CEDNROREPC",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TABLE4",grid:0};this.AV6cScdNroAgrupamento=0;this.ZV6cScdNroAgrupamento=0;this.OV6cScdNroAgrupamento=0;this.AV7cScdNroSeqSubcampo=0;this.ZV7cScdNroSeqSubcampo=0;
this.OV7cScdNroSeqSubcampo=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z765ScdNroAgru=0;this.O765ScdNroAgru=0;this.Z767ScdNroSeqS=0;this.O767ScdNroSeqS=0;this.Z766ScdNroRepS=0;this.O766ScdNroRepS=0;this.Z768ScdTipEnti="";this.O768ScdTipEnti="";this.Z764ScdCodEnti="";this.O764ScdCodEnti="";this.Z763ScdCampo1L="";this.O763ScdCampo1L="";this.Z258DocNro=0;this.O258DocNro=0;this.Z113CedNroItem=0;this.O113CedNroItem=0;this.Z112CedNroArti=0;this.O112CedNroArti=0;this.Z115CedNroSeqC=0;this.O115CedNroSeqC=0;
this.Z114CedNroRepC=0;this.O114CedNroRepC=0;this.AV8pDocNro=0;this.AV9pCedNroItem=0;this.AV10pCedNroArtigo=0;this.AV11pCedNroSeqCampo=0;this.AV12pCedNroRepCampo=0;this.AV13pScdNroAgrupamento=0;this.AV14pScdNroSeqSubcampo=0;this.AV15pScdNroRepSubcampo=0;this.AV5LinkSelection="";this.A765ScdNroAgru=0;this.A767ScdNroSeqS=0;this.A766ScdNroRepS=0;this.A768ScdTipEnti="";this.A764ScdCodEnti="";this.A763ScdCampo1L="";this.A258DocNro=0;this.A113CedNroItem=0;this.A112CedNroArti=0;this.A115CedNroSeqC=0;this.A114CedNroRepC=0;
this.ServerEvents=["e13c82_client","e14c81_client"];this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV9pCedNroItem={id:"vPCEDNROITEM",grid:0,type:"int"};this.VarControlMap.AV10pCedNroArtigo={id:"vPCEDNROARTIGO",grid:0,type:"int"};this.VarControlMap.AV11pCedNroSeqCampo={id:"vPCEDNROSEQCAMPO",grid:0,type:"int"};this.VarControlMap.AV12pCedNroRepCampo={id:"vPCEDNROREPCAMPO",grid:0,type:"int"};this.VarControlMap.AV13pScdNroAgrupamento={id:"vPSCDNROAGRUPAMENTO",grid:0,type:"int"};
this.VarControlMap.AV14pScdNroSeqSubcampo={id:"vPSCDNROSEQSUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV15pScdNroRepSubcampo={id:"vPSCDNROREPSUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV9pCedNroItem={id:"vPCEDNROITEM",grid:0,type:"int"};this.VarControlMap.AV10pCedNroArtigo={id:"vPCEDNROARTIGO",grid:0,type:"int"};this.VarControlMap.AV11pCedNroSeqCampo={id:"vPCEDNROSEQCAMPO",grid:0,type:"int"};this.VarControlMap.AV12pCedNroRepCampo={id:"vPCEDNROREPCAMPO",grid:0,type:"int"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pDocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV9pCedNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"AV10pCedNroArtigo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11pCedNroSeqCampo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12pCedNroRepCampo"});this.SetStandaloneVars()}gx03l5.prototype=new gx.GxObject;
gx.setParentObj(new gx03l5());