gx.evt.autoSkip=false;function gx01f1(){this.ServerClass="Gx01F1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV13pDvoNroVolume=gx.fn.getIntegerValue("vPDVONROVOLUME",".")};this.e13cz2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cz1_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,43,47,48,49,50,51,52,53,54,55,56,57,60];
this.GXLastCtrlId=60;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01f1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(317,48,"DVONROVOLU","Número do item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);
this.Grid1Container.addSingleLineEdit(225,49,"DITNROVOLU","Volume","Selecionar","DitNroVolu","char",0,"px",5,5,"left",null,[],225,"DitNroVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit(224,50,"DITNROTOMO","Tomo","","DitNroTomo","char",0,"px",3,3,"left",null,[],224,"DitNroTomo",true,0,false,false);this.Grid1Container.addSingleLineEdit(227,51,"DITVALEXTE","Extensão","","DitValExte","char",0,"px",20,20,"left",null,[],227,"DitValExte",true,0,false,false);this.Grid1Container.addSingleLineEdit(220,52,"DITANOEDIC","Ano edição","","DitAnoEdic","char",0,"px",5,5,"left",null,[],220,"DitAnoEdic",true,0,false,false);
this.Grid1Container.addSingleLineEdit(223,53,"DITNROEDIC","Número edição","","DitNroEdic","char",0,"px",12,12,"left",null,[],223,"DitNroEdic",true,0,false,false);this.Grid1Container.addSingleLineEdit(222,54,"DITDATPUBL","Data da publicação","","DitDatPubl","date",0,"px",10,10,"right",null,[],222,"DitDatPubl",true,0,false,false);this.Grid1Container.addComboBox(226,55,"DITTIPFASC","Tipo fasciculo","DitTipFasc","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(221,56,"DITCAMPO1L","Campo livre","","DitCampo1L","char",0,"px",15,15,"left",null,[],221,"DitCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(258,57,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",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:"TEXTBLOCKDVONROVOLUME",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDVONROVOLUME",gxz:"ZV6cDvoNroVolume",gxold:"OV6cDvoNroVolume",gxvar:"AV6cDvoNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDvoNroVolume=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDvoNroVolume=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDVONROVOLUME",gx.O.AV6cDvoNroVolume,0)},c2v:function(){gx.O.AV6cDvoNroVolume=this.val()},val:function(){return gx.fn.getIntegerValue("vCDVONROVOLUME",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDITNROVOLUME",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDITNROVOLUME",gxz:"ZV7cDitNroVolume",gxold:"OV7cDitNroVolume",gxvar:"AV7cDitNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDitNroVolume=a
},v2z:function(a){gx.O.ZV7cDitNroVolume=a},v2c:function(){gx.fn.setControlValue("vCDITNROVOLUME",gx.O.AV7cDitNroVolume,0)},c2v:function(){gx.O.AV7cDitNroVolume=this.val()},val:function(){return gx.fn.getControlValue("vCDITNROVOLUME")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDITNROTOMO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDITNROTOMO",gxz:"ZV8cDitNroTomo",gxold:"OV8cDitNroTomo",gxvar:"AV8cDitNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cDitNroTomo=a
},v2z:function(a){gx.O.ZV8cDitNroTomo=a},v2c:function(){gx.fn.setControlValue("vCDITNROTOMO",gx.O.AV8cDitNroTomo,0)},c2v:function(){gx.O.AV8cDitNroTomo=this.val()},val:function(){return gx.fn.getControlValue("vCDITNROTOMO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDITVALEXTENSAOPERIODO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDITVALEXTENSAOPERIODO",gxz:"ZV9cDitValExtensaoPeriodo",gxold:"OV9cDitValExtensaoPeriodo",gxvar:"AV9cDitValExtensaoPeriodo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDitValExtensaoPeriodo=a
},v2z:function(a){gx.O.ZV9cDitValExtensaoPeriodo=a},v2c:function(){gx.fn.setControlValue("vCDITVALEXTENSAOPERIODO",gx.O.AV9cDitValExtensaoPeriodo,0)},c2v:function(){gx.O.AV9cDitValExtensaoPeriodo=this.val()},val:function(){return gx.fn.getControlValue("vCDITVALEXTENSAOPERIODO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKDITANOEDICAO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDITANOEDICAO",gxz:"ZV10cDitAnoEdicao",gxold:"OV10cDitAnoEdicao",gxvar:"AV10cDitAnoEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cDitAnoEdicao=a
},v2z:function(a){gx.O.ZV10cDitAnoEdicao=a},v2c:function(){gx.fn.setControlValue("vCDITANOEDICAO",gx.O.AV10cDitAnoEdicao,0)},c2v:function(){gx.O.AV10cDitAnoEdicao=this.val()},val:function(){return gx.fn.getControlValue("vCDITANOEDICAO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKDITNROEDICAO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDITNROEDICAO",gxz:"ZV11cDitNroEdicao",gxold:"OV11cDitNroEdicao",gxvar:"AV11cDitNroEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cDitNroEdicao=a
},v2z:function(a){gx.O.ZV11cDitNroEdicao=a},v2c:function(){gx.fn.setControlValue("vCDITNROEDICAO",gx.O.AV11cDitNroEdicao,0)},c2v:function(){gx.O.AV11cDitNroEdicao=this.val()},val:function(){return gx.fn.getControlValue("vCDITNROEDICAO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,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(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A317DvoNroVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z317DvoNroVolu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROVOLU",gx.fn.currentGridRowImpl(46),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITNROVOLU",gxz:"Z225DitNroVolu",gxold:"O225DitNroVolu",gxvar:"A225DitNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A225DitNroVolu=a
},v2z:function(a){gx.O.Z225DitNroVolu=a},v2c:function(){gx.fn.setGridControlValue("DITNROVOLU",gx.fn.currentGridRowImpl(46),gx.O.A225DitNroVolu,0)},c2v:function(){gx.O.A225DitNroVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROVOLU",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITNROTOMO",gxz:"Z224DitNroTomo",gxold:"O224DitNroTomo",gxvar:"A224DitNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A224DitNroTomo=a
},v2z:function(a){gx.O.Z224DitNroTomo=a},v2c:function(){gx.fn.setGridControlValue("DITNROTOMO",gx.fn.currentGridRowImpl(46),gx.O.A224DitNroTomo,0)},c2v:function(){gx.O.A224DitNroTomo=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROTOMO",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITVALEXTE",gxz:"Z227DitValExte",gxold:"O227DitValExte",gxvar:"A227DitValExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A227DitValExte=a
},v2z:function(a){gx.O.Z227DitValExte=a},v2c:function(){gx.fn.setGridControlValue("DITVALEXTE",gx.fn.currentGridRowImpl(46),gx.O.A227DitValExte,0)},c2v:function(){gx.O.A227DitValExte=this.val()},val:function(){return gx.fn.getGridControlValue("DITVALEXTE",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITANOEDIC",gxz:"Z220DitAnoEdic",gxold:"O220DitAnoEdic",gxvar:"A220DitAnoEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A220DitAnoEdic=a
},v2z:function(a){gx.O.Z220DitAnoEdic=a},v2c:function(){gx.fn.setGridControlValue("DITANOEDIC",gx.fn.currentGridRowImpl(46),gx.O.A220DitAnoEdic,0)},c2v:function(){gx.O.A220DitAnoEdic=this.val()},val:function(){return gx.fn.getGridControlValue("DITANOEDIC",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITNROEDIC",gxz:"Z223DitNroEdic",gxold:"O223DitNroEdic",gxvar:"A223DitNroEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A223DitNroEdic=a
},v2z:function(a){gx.O.Z223DitNroEdic=a},v2c:function(){gx.fn.setGridControlValue("DITNROEDIC",gx.fn.currentGridRowImpl(46),gx.O.A223DitNroEdic,0)},c2v:function(){gx.O.A223DitNroEdic=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROEDIC",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITDATPUBL",gxz:"Z222DitDatPubl",gxold:"O222DitDatPubl",gxvar:"A222DitDatPubl",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A222DitDatPubl=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z222DitDatPubl=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DITDATPUBL",gx.fn.currentGridRowImpl(46),gx.O.A222DitDatPubl,0)},c2v:function(){gx.O.A222DitDatPubl=this.val()},val:function(){return gx.fn.getGridControlValue("DITDATPUBL",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITTIPFASC",gxz:"Z226DitTipFasc",gxold:"O226DitTipFasc",gxvar:"A226DitTipFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A226DitTipFasc=a
},v2z:function(a){gx.O.Z226DitTipFasc=a},v2c:function(){gx.fn.setGridComboBoxValue("DITTIPFASC",gx.fn.currentGridRowImpl(46),gx.O.A226DitTipFasc)},c2v:function(){gx.O.A226DitTipFasc=this.val()},val:function(){return gx.fn.getGridControlValue("DITTIPFASC",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DITCAMPO1L",gxz:"Z221DitCampo1L",gxold:"O221DitCampo1L",gxvar:"A221DitCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A221DitCampo1L=a
},v2z:function(a){gx.O.Z221DitCampo1L=a},v2c:function(){gx.fn.setGridControlValue("DITCAMPO1L",gx.fn.currentGridRowImpl(46),gx.O.A221DitCampo1L,0)},c2v:function(){gx.O.A221DitCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("DITCAMPO1L",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,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(46),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TABLE4",grid:0};this.AV6cDvoNroVolume=0;this.ZV6cDvoNroVolume=0;this.OV6cDvoNroVolume=0;this.AV7cDitNroVolume="";this.ZV7cDitNroVolume="";this.OV7cDitNroVolume="";
this.AV8cDitNroTomo="";this.ZV8cDitNroTomo="";this.OV8cDitNroTomo="";this.AV9cDitValExtensaoPeriodo="";this.ZV9cDitValExtensaoPeriodo="";this.OV9cDitValExtensaoPeriodo="";this.AV10cDitAnoEdicao="";this.ZV10cDitAnoEdicao="";this.OV10cDitAnoEdicao="";this.AV11cDitNroEdicao="";this.ZV11cDitNroEdicao="";this.OV11cDitNroEdicao="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z225DitNroVolu="";this.O225DitNroVolu="";this.Z224DitNroTomo="";this.O224DitNroTomo="";
this.Z227DitValExte="";this.O227DitValExte="";this.Z220DitAnoEdic="";this.O220DitAnoEdic="";this.Z223DitNroEdic="";this.O223DitNroEdic="";this.Z222DitDatPubl=gx.date.nullDate();this.O222DitDatPubl=gx.date.nullDate();this.Z226DitTipFasc="";this.O226DitTipFasc="";this.Z221DitCampo1L="";this.O221DitCampo1L="";this.Z258DocNro=0;this.O258DocNro=0;this.AV12pDocNro=0;this.AV13pDvoNroVolume=0;this.AV5LinkSelection="";this.A317DvoNroVolu=0;this.A225DitNroVolu="";this.A224DitNroTomo="";this.A227DitValExte="";
this.A220DitAnoEdic="";this.A223DitNroEdic="";this.A222DitDatPubl=gx.date.nullDate();this.A226DitTipFasc="";this.A221DitCampo1L="";this.A258DocNro=0;this.ServerEvents=["e13cz2_client","e14cz1_client"];this.VarControlMap.AV12pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV13pDvoNroVolume={id:"vPDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV12pDocNro={id:"vPDOCNRO",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({rfrVar:"AV12pDocNro"});this.SetStandaloneVars()}gx01f1.prototype=new gx.GxObject;gx.setParentObj(new gx01f1());