gx.evt.autoSkip=false;function hteste8(){this.ServerClass="HTeste8";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e14dp1_client=function(){this.clearMessages();this.AV13ScrValPedido=this.AV13ScrValPedido+1;this.addMessage(gx.fn.getCtrlProperty("ITEM01","Caption")+" acrescentado");this.refreshOutputs([{av:"AV13ScrValPedido",fld:"vSCRVALPEDIDO"}])};this.e15dp1_client=function(){this.clearMessages();this.AV13ScrValPedido=this.AV13ScrValPedido+2;
this.addMessage("Item 02 acrescentado");this.refreshOutputs([{av:"AV13ScrValPedido",fld:"vSCRVALPEDIDO"}])};this.e16dp1_client=function(){this.clearMessages();this.AV13ScrValPedido=this.AV13ScrValPedido+6;this.addMessage("Item 06 acrescentado");this.refreshOutputs([{av:"AV13ScrValPedido",fld:"vSCRVALPEDIDO"}])};this.e17dp1_client=function(){this.clearMessages();this.AV13ScrValPedido=this.AV13ScrValPedido+8;this.addMessage("Item 08 acrescentado");this.refreshOutputs([{av:"AV13ScrValPedido",fld:"vSCRVALPEDIDO"}])
};this.e18dp1_client=function(){this.executeServerEvent("ENTER",true)};this.e19dp1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,9,12,15,17,19];this.GXLastCtrlId=19;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TABLE3",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={lvl:0,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALPEDIDO",gxz:"ZV13ScrValPedido",gxold:"OV13ScrValPedido",gxvar:"AV13ScrValPedido",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13ScrValPedido=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV13ScrValPedido=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vSCRVALPEDIDO",gx.O.AV13ScrValPedido,2,",")},c2v:function(){gx.O.AV13ScrValPedido=this.val()},val:function(){return gx.fn.getDecimalValue("vSCRVALPEDIDO",".",",")},nac:function(){return false}};this.GXValidFnc[19]={fld:"TABLE4",grid:0};this.AV13ScrValPedido=0;this.ZV13ScrValPedido=0;this.OV13ScrValPedido=0;this.ServerEvents=["e18dp1_client","e19dp1_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()
}hteste8.prototype=new gx.GxObject;gx.setParentObj(new hteste8());