gx.evt.autoSkip=false;function gx0230(){this.ServerClass="Gx0230";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pCdpCod=gx.fn.getIntegerValue("vPCDPCOD",".")};this.e13bn2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bn1_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,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0230",[],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(100,33,"CDPCOD","Condição de pagamento","","CdpCod","int",0,"px",3,3,"right",null,[],100,"CdpCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(101,34,"CDPDES","Descrição","Selecionar","CdpDes","char",0,"px",40,40,"left",null,[],101,"CdpDes",true,0,false,false);
this.Grid1Container.addSingleLineEdit(99,35,"CDPCAMPO1L","Campo livre","","CdpCampo1L","char",0,"px",60,60,"left",null,[],99,"CdpCampo1L",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:"TEXTBLOCKCDPCOD",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:"vCCDPCOD",gxz:"ZV6cCdpCod",gxold:"OV6cCdpCod",gxvar:"AV6cCdpCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCdpCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cCdpCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCDPCOD",gx.O.AV6cCdpCod,0)},c2v:function(){gx.O.AV6cCdpCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCCDPCOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCDPDES",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCDPDES",gxz:"ZV7cCdpDes",gxold:"OV7cCdpDes",gxvar:"AV7cCdpDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCdpDes=a
},v2z:function(a){gx.O.ZV7cCdpDes=a},v2c:function(){gx.fn.setControlValue("vCCDPDES",gx.O.AV7cCdpDes,0)},c2v:function(){gx.O.AV7cCdpDes=this.val()},val:function(){return gx.fn.getControlValue("vCCDPDES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKCDPCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCDPCAMPO1LIVRE",gxz:"ZV8cCdpCampo1Livre",gxold:"OV8cCdpCampo1Livre",gxvar:"AV8cCdpCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cCdpCampo1Livre=a
},v2z:function(a){gx.O.ZV8cCdpCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCCDPCAMPO1LIVRE",gx.O.AV8cCdpCampo1Livre,0)},c2v:function(){gx.O.AV8cCdpCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCCDPCAMPO1LIVRE")},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:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CDPCOD",gxz:"Z100CdpCod",gxold:"O100CdpCod",gxvar:"A100CdpCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A100CdpCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z100CdpCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CDPCOD",gx.fn.currentGridRowImpl(31),gx.O.A100CdpCod,0)},c2v:function(){gx.O.A100CdpCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CDPCOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CDPDES",gxz:"Z101CdpDes",gxold:"O101CdpDes",gxvar:"A101CdpDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A101CdpDes=a
},v2z:function(a){gx.O.Z101CdpDes=a},v2c:function(){gx.fn.setGridControlValue("CDPDES",gx.fn.currentGridRowImpl(31),gx.O.A101CdpDes,0)},c2v:function(){gx.O.A101CdpDes=this.val()},val:function(){return gx.fn.getGridControlValue("CDPDES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:60,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CDPCAMPO1L",gxz:"Z99CdpCampo1L",gxold:"O99CdpCampo1L",gxvar:"A99CdpCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A99CdpCampo1L=a
},v2z:function(a){gx.O.Z99CdpCampo1L=a},v2c:function(){gx.fn.setGridControlValue("CDPCAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A99CdpCampo1L,0)},c2v:function(){gx.O.A99CdpCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("CDPCAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cCdpCod=0;this.ZV6cCdpCod=0;this.OV6cCdpCod=0;this.AV7cCdpDes="";this.ZV7cCdpDes="";this.OV7cCdpDes="";this.AV8cCdpCampo1Livre="";this.ZV8cCdpCampo1Livre="";
this.OV8cCdpCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z100CdpCod=0;this.O100CdpCod=0;this.Z101CdpDes="";this.O101CdpDes="";this.Z99CdpCampo1L="";this.O99CdpCampo1L="";this.AV9pCdpCod=0;this.AV5LinkSelection="";this.A100CdpCod=0;this.A101CdpDes="";this.A99CdpCampo1L="";this.ServerEvents=["e13bn2_client","e14bn1_client"];this.VarControlMap.AV9pCdpCod={id:"vPCDPCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx0230.prototype=new gx.GxObject;gx.setParentObj(new gx0230());