gx.evt.autoSkip=false;function gx00h0(){this.ServerClass="Gx00H0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pCaeCod=gx.fn.getIntegerValue("vPCAECOD",".")};this.e139f2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149f1_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,44,47,48,52,53,54,55,56,57,58,61];
this.GXLastCtrlId=61;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00h0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(79,53,"CAECOD","Código","","CaeCod","int",0,"px",3,3,"right",null,[],79,"CaeCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(84,54,"CAENOM","Descrição","Selecionar","CaeNom","char",0,"px",30,30,"left",null,[],84,"CaeNom",true,0,false,false);
this.Grid1Container.addComboBox(83,55,"CAEINDVESP","Vespera dia não útil","CaeIndVesp","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(78,56,"CAECAMPO1L","Campo livre 1","","CaeCampo1L","char",0,"px",20,20,"left",null,[],78,"CaeCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(81,57,"CAEDESTEXT","Texto etiq. lombada","","CaeDesText","char",0,"px",10,10,"left",null,[],81,"CaeDesText",true,0,false,false);this.Grid1Container.addSingleLineEdit(82,58,"CAEINDDEVO","Devolver em data fixa ? (S/N)","","CaeIndDevo","char",0,"px",2,1,"left",null,[],82,"CaeIndDevo",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:"TEXTBLOCKCAECOD",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:"vCCAECOD",gxz:"ZV6cCaeCod",gxold:"OV6cCaeCod",gxvar:"AV6cCaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cCaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCAECOD",gx.O.AV6cCaeCod,0)},c2v:function(){gx.O.AV6cCaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCCAECOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCAENOM",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:"vCCAENOM",gxz:"ZV7cCaeNom",gxold:"OV7cCaeNom",gxvar:"AV7cCaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCaeNom=a
},v2z:function(a){gx.O.ZV7cCaeNom=a},v2c:function(){gx.fn.setControlValue("vCCAENOM",gx.O.AV7cCaeNom,0)},c2v:function(){gx.O.AV7cCaeNom=this.val()},val:function(){return gx.fn.getControlValue("vCCAENOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKCAEINDVESPERARECESSO",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:"vCCAEINDVESPERARECESSO",gxz:"ZV8cCaeIndVesperaRecesso",gxold:"OV8cCaeIndVesperaRecesso",gxvar:"AV8cCaeIndVesperaRecesso",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cCaeIndVesperaRecesso=a
},v2z:function(a){gx.O.ZV8cCaeIndVesperaRecesso=a},v2c:function(){gx.fn.setComboBoxValue("vCCAEINDVESPERARECESSO",gx.O.AV8cCaeIndVesperaRecesso)},c2v:function(){gx.O.AV8cCaeIndVesperaRecesso=this.val()},val:function(){return gx.fn.getControlValue("vCCAEINDVESPERARECESSO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKCAECAMPO1LIVRE",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:"vCCAECAMPO1LIVRE",gxz:"ZV9cCaeCampo1Livre",gxold:"OV9cCaeCampo1Livre",gxvar:"AV9cCaeCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cCaeCampo1Livre=a
},v2z:function(a){gx.O.ZV9cCaeCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCCAECAMPO1LIVRE",gx.O.AV9cCaeCampo1Livre,0)},c2v:function(){gx.O.AV9cCaeCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCCAECAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKCAEDESTEXTOETQLOMBADA",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCAEDESTEXTOETQLOMBADA",gxz:"ZV10cCaeDesTextoEtqLombada",gxold:"OV10cCaeDesTextoEtqLombada",gxvar:"AV10cCaeDesTextoEtqLombada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cCaeDesTextoEtqLombada=a
},v2z:function(a){gx.O.ZV10cCaeDesTextoEtqLombada=a},v2c:function(){gx.fn.setControlValue("vCCAEDESTEXTOETQLOMBADA",gx.O.AV10cCaeDesTextoEtqLombada,0)},c2v:function(){gx.O.AV10cCaeDesTextoEtqLombada=this.val()},val:function(){return gx.fn.getControlValue("vCCAEDESTEXTOETQLOMBADA")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKCAEINDDEVOLUCAODATAFIXA",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCAEINDDEVOLUCAODATAFIXA",gxz:"ZV11cCaeIndDevolucaoDataFixa",gxold:"OV11cCaeIndDevolucaoDataFixa",gxvar:"AV11cCaeIndDevolucaoDataFixa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cCaeIndDevolucaoDataFixa=a
},v2z:function(a){gx.O.ZV11cCaeIndDevolucaoDataFixa=a},v2c:function(){gx.fn.setControlValue("vCCAEINDDEVOLUCAODATAFIXA",gx.O.AV11cCaeIndDevolucaoDataFixa,0)},c2v:function(){gx.O.AV11cCaeIndDevolucaoDataFixa=this.val()},val:function(){return gx.fn.getControlValue("vCCAEINDDEVOLUCAODATAFIXA")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKCAEDATDEVOLUCAOFIXA",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCAEDATDEVOLUCAOFIXA",gxz:"ZV12cCaeDatdevolucaoFixa",gxold:"OV12cCaeDatdevolucaoFixa",gxvar:"AV12cCaeDatdevolucaoFixa",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.AV12cCaeDatdevolucaoFixa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV12cCaeDatdevolucaoFixa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCCAEDATDEVOLUCAOFIXA",gx.O.AV12cCaeDatdevolucaoFixa,0)},c2v:function(){gx.O.AV12cCaeDatdevolucaoFixa=this.val()},val:function(){return gx.fn.getControlValue("vCCAEDATDEVOLUCAOFIXA")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,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(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A79CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z79CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CAECOD",gx.fn.currentGridRowImpl(51),gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAENOM",gxz:"Z84CaeNom",gxold:"O84CaeNom",gxvar:"A84CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A84CaeNom=a
},v2z:function(a){gx.O.Z84CaeNom=a},v2c:function(){gx.fn.setGridControlValue("CAENOM",gx.fn.currentGridRowImpl(51),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAEINDVESP",gxz:"Z83CaeIndVesp",gxold:"O83CaeIndVesp",gxvar:"A83CaeIndVesp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A83CaeIndVesp=a
},v2z:function(a){gx.O.Z83CaeIndVesp=a},v2c:function(){gx.fn.setGridComboBoxValue("CAEINDVESP",gx.fn.currentGridRowImpl(51),gx.O.A83CaeIndVesp)},c2v:function(){gx.O.A83CaeIndVesp=this.val()},val:function(){return gx.fn.getGridControlValue("CAEINDVESP",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAECAMPO1L",gxz:"Z78CaeCampo1L",gxold:"O78CaeCampo1L",gxvar:"A78CaeCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A78CaeCampo1L=a
},v2z:function(a){gx.O.Z78CaeCampo1L=a},v2c:function(){gx.fn.setGridControlValue("CAECAMPO1L",gx.fn.currentGridRowImpl(51),gx.O.A78CaeCampo1L,0)},c2v:function(){gx.O.A78CaeCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("CAECAMPO1L",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAEDESTEXT",gxz:"Z81CaeDesText",gxold:"O81CaeDesText",gxvar:"A81CaeDesText",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A81CaeDesText=a
},v2z:function(a){gx.O.Z81CaeDesText=a},v2c:function(){gx.fn.setGridControlValue("CAEDESTEXT",gx.fn.currentGridRowImpl(51),gx.O.A81CaeDesText,0)},c2v:function(){gx.O.A81CaeDesText=this.val()},val:function(){return gx.fn.getGridControlValue("CAEDESTEXT",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAEINDDEVO",gxz:"Z82CaeIndDevo",gxold:"O82CaeIndDevo",gxvar:"A82CaeIndDevo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A82CaeIndDevo=a
},v2z:function(a){gx.O.Z82CaeIndDevo=a},v2c:function(){gx.fn.setGridControlValue("CAEINDDEVO",gx.fn.currentGridRowImpl(51),gx.O.A82CaeIndDevo,0)},c2v:function(){gx.O.A82CaeIndDevo=this.val()},val:function(){return gx.fn.getGridControlValue("CAEINDDEVO",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[61]={fld:"TABLE4",grid:0};this.AV6cCaeCod=0;this.ZV6cCaeCod=0;this.OV6cCaeCod=0;this.AV7cCaeNom="";this.ZV7cCaeNom="";this.OV7cCaeNom="";this.AV8cCaeIndVesperaRecesso="";this.ZV8cCaeIndVesperaRecesso="";
this.OV8cCaeIndVesperaRecesso="";this.AV9cCaeCampo1Livre="";this.ZV9cCaeCampo1Livre="";this.OV9cCaeCampo1Livre="";this.AV10cCaeDesTextoEtqLombada="";this.ZV10cCaeDesTextoEtqLombada="";this.OV10cCaeDesTextoEtqLombada="";this.AV11cCaeIndDevolucaoDataFixa="";this.ZV11cCaeIndDevolucaoDataFixa="";this.OV11cCaeIndDevolucaoDataFixa="";this.AV12cCaeDatdevolucaoFixa=gx.date.nullDate();this.ZV12cCaeDatdevolucaoFixa=gx.date.nullDate();this.OV12cCaeDatdevolucaoFixa=gx.date.nullDate();this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z79CaeCod=0;this.O79CaeCod=0;this.Z84CaeNom="";this.O84CaeNom="";this.Z83CaeIndVesp="";this.O83CaeIndVesp="";this.Z78CaeCampo1L="";this.O78CaeCampo1L="";this.Z81CaeDesText="";this.O81CaeDesText="";this.Z82CaeIndDevo="";this.O82CaeIndDevo="";this.AV13pCaeCod=0;this.A80CaeDatdevo=gx.date.nullDate();this.AV5LinkSelection="";this.A79CaeCod=0;this.A84CaeNom="";this.A83CaeIndVesp="";this.A78CaeCampo1L="";this.A81CaeDesText="";this.A82CaeIndDevo="";this.ServerEvents=["e139f2_client","e149f1_client"];
this.VarControlMap.AV13pCaeCod={id:"vPCAECOD",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(this.GXValidFnc[44]);this.SetStandaloneVars()}gx00h0.prototype=new gx.GxObject;
gx.setParentObj(new gx00h0());