gx.evt.autoSkip=false;function gx0020(){this.ServerClass="Gx0020";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pIdiCod=gx.fn.getControlValue("vPIDICOD")};this.e13992_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14991_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,44];this.GXLastCtrlId=44;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0020",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(480,38,"IDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],480,"IdiCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(482,39,"IDIDES","Descrição","Selecionar","IdiDes","char",0,"px",30,30,"left",null,[],482,"IdiDes",true,0,false,false);
this.Grid1Container.addSingleLineEdit(481,40,"IDICODMARC","IdiCodMarc","","IdiCodMarc","char",0,"px",3,3,"left",null,[],481,"IdiCodMarc",true,0,false,false);this.Grid1Container.addSingleLineEdit(479,41,"IDICAMPO1L","Campo livre","","IdiCampo1L","char",0,"px",20,20,"left",null,[],479,"IdiCampo1L",true,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:"TEXTBLOCKIDICOD",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCIDICOD",gxz:"ZV6cIdiCod",gxold:"OV6cIdiCod",gxvar:"AV6cIdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cIdiCod=a},v2z:function(a){gx.O.ZV6cIdiCod=a},v2c:function(){gx.fn.setControlValue("vCIDICOD",gx.O.AV6cIdiCod,0)},c2v:function(){gx.O.AV6cIdiCod=this.val()},val:function(){return gx.fn.getControlValue("vCIDICOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKIDIDES",format:0,grid:0};
this.GXValidFnc[19]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCIDIDES",gxz:"ZV7cIdiDes",gxold:"OV7cIdiDes",gxvar:"AV7cIdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cIdiDes=a},v2z:function(a){gx.O.ZV7cIdiDes=a},v2c:function(){gx.fn.setControlValue("vCIDIDES",gx.O.AV7cIdiDes,0)},c2v:function(){gx.O.AV7cIdiDes=this.val()},val:function(){return gx.fn.getControlValue("vCIDIDES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKIDICODMARC",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:"vCIDICODMARC",gxz:"ZV8cIdiCodMarc",gxold:"OV8cIdiCodMarc",gxvar:"AV8cIdiCodMarc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cIdiCodMarc=a},v2z:function(a){gx.O.ZV8cIdiCodMarc=a},v2c:function(){gx.fn.setControlValue("vCIDICODMARC",gx.O.AV8cIdiCodMarc,0)},c2v:function(){gx.O.AV8cIdiCodMarc=this.val()},val:function(){return gx.fn.getControlValue("vCIDICODMARC")},nac:function(){return false
}};this.GXValidFnc[27]={fld:"TEXTBLOCKIDICAMPO1LIVRE",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:"vCIDICAMPO1LIVRE",gxz:"ZV9cIdiCampo1Livre",gxold:"OV9cIdiCampo1Livre",gxvar:"AV9cIdiCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cIdiCampo1Livre=a},v2z:function(a){gx.O.ZV9cIdiCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCIDICAMPO1LIVRE",gx.O.AV9cIdiCampo1Livre,0)},c2v:function(){gx.O.AV9cIdiCampo1Livre=this.val()
},val:function(){return gx.fn.getControlValue("vCIDICAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,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(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDICOD",gxz:"Z480IdiCod",gxold:"O480IdiCod",gxvar:"A480IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A480IdiCod=a},v2z:function(a){gx.O.Z480IdiCod=a},v2c:function(){gx.fn.setGridControlValue("IDICOD",gx.fn.currentGridRowImpl(36),gx.O.A480IdiCod,0)
},c2v:function(){gx.O.A480IdiCod=this.val()},val:function(){return gx.fn.getGridControlValue("IDICOD",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDIDES",gxz:"Z482IdiDes",gxold:"O482IdiDes",gxvar:"A482IdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A482IdiDes=a},v2z:function(a){gx.O.Z482IdiDes=a},v2c:function(){gx.fn.setGridControlValue("IDIDES",gx.fn.currentGridRowImpl(36),gx.O.A482IdiDes,0)
},c2v:function(){gx.O.A482IdiDes=this.val()},val:function(){return gx.fn.getGridControlValue("IDIDES",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDICODMARC",gxz:"Z481IdiCodMarc",gxold:"O481IdiCodMarc",gxvar:"A481IdiCodMarc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A481IdiCodMarc=a},v2z:function(a){gx.O.Z481IdiCodMarc=a},v2c:function(){gx.fn.setGridControlValue("IDICODMARC",gx.fn.currentGridRowImpl(36),gx.O.A481IdiCodMarc,0)
},c2v:function(){gx.O.A481IdiCodMarc=this.val()},val:function(){return gx.fn.getGridControlValue("IDICODMARC",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDICAMPO1L",gxz:"Z479IdiCampo1L",gxold:"O479IdiCampo1L",gxvar:"A479IdiCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A479IdiCampo1L=a},v2z:function(a){gx.O.Z479IdiCampo1L=a
},v2c:function(){gx.fn.setGridControlValue("IDICAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A479IdiCampo1L,0)},c2v:function(){gx.O.A479IdiCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("IDICAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cIdiCod="";this.ZV6cIdiCod="";this.OV6cIdiCod="";this.AV7cIdiDes="";this.ZV7cIdiDes="";this.OV7cIdiDes="";this.AV8cIdiCodMarc="";this.ZV8cIdiCodMarc="";this.OV8cIdiCodMarc="";
this.AV9cIdiCampo1Livre="";this.ZV9cIdiCampo1Livre="";this.OV9cIdiCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z480IdiCod="";this.O480IdiCod="";this.Z482IdiDes="";this.O482IdiDes="";this.Z481IdiCodMarc="";this.O481IdiCodMarc="";this.Z479IdiCampo1L="";this.O479IdiCampo1L="";this.AV10pIdiCod="";this.AV5LinkSelection="";this.A480IdiCod="";this.A482IdiDes="";this.A481IdiCodMarc="";this.A479IdiCampo1L="";this.ServerEvents=["e13992_client","e14991_client"];this.VarControlMap.AV10pIdiCod={id:"vPIDICOD",grid:0,type:"char"};
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.SetStandaloneVars()}gx0020.prototype=new gx.GxObject;gx.setParentObj(new gx0020());