From 50f54028acb8191f18552d5b54a958ff9ce9afc8 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期一, 26 六月 2023 09:10:42 +0800 Subject: [PATCH] 新增销售出库二次校验功能(原单据为扫码生成,审核时对原扫描的条码进行核对) --- WebAPI/Web References/WebS/Reference.cs | 83 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 0 deletions(-) diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs index 24e29b4..29ec6af 100644 --- a/WebAPI/Web References/WebS/Reference.cs +++ b/WebAPI/Web References/WebS/Reference.cs @@ -100,6 +100,8 @@ private System.Threading.SendOrPostCallback get_CheckTypeByBarCode_BillCheckOperationCompleted; + private System.Threading.SendOrPostCallback get_BillBarCode_VerifyOperationCompleted; + private System.Threading.SendOrPostCallback GetKf_PonderationBillMain_Temp_BillCheckOperationCompleted; private System.Threading.SendOrPostCallback set_UpdateTemp_BillCheckOperationCompleted; @@ -1276,6 +1278,9 @@ /// <remarks/> public event get_CheckTypeByBarCode_BillCheckCompletedEventHandler get_CheckTypeByBarCode_BillCheckCompleted; + + /// <remarks/> + public event get_BillBarCode_VerifyCompletedEventHandler get_BillBarCode_VerifyCompleted; /// <remarks/> public event GetKf_PonderationBillMain_Temp_BillCheckCompletedEventHandler GetKf_PonderationBillMain_Temp_BillCheckCompleted; @@ -4179,6 +4184,50 @@ if ((this.get_CheckTypeByBarCode_BillCheckCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.get_CheckTypeByBarCode_BillCheckCompleted(this, new get_CheckTypeByBarCode_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_BillBarCode_Verify", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ClsKf_ICStockBill_WMS get_BillBarCode_Verify(long HInterID, string HBillNo, string HBillType, string HBarCode, double HQty, string HMaker, long HStockOrgID, ref string sErrMsg) { + object[] results = this.Invoke("get_BillBarCode_Verify", new object[] { + HInterID, + HBillNo, + HBillType, + HBarCode, + HQty, + HMaker, + HStockOrgID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((ClsKf_ICStockBill_WMS)(results[0])); + } + + /// <remarks/> + public void get_BillBarCode_VerifyAsync(long HInterID, string HBillNo, string HBillType, string HBarCode, double HQty, string HMaker, long HStockOrgID, string sErrMsg) { + this.get_BillBarCode_VerifyAsync(HInterID, HBillNo, HBillType, HBarCode, HQty, HMaker, HStockOrgID, sErrMsg, null); + } + + /// <remarks/> + public void get_BillBarCode_VerifyAsync(long HInterID, string HBillNo, string HBillType, string HBarCode, double HQty, string HMaker, long HStockOrgID, string sErrMsg, object userState) { + if ((this.get_BillBarCode_VerifyOperationCompleted == null)) { + this.get_BillBarCode_VerifyOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_BillBarCode_VerifyOperationCompleted); + } + this.InvokeAsync("get_BillBarCode_Verify", new object[] { + HInterID, + HBillNo, + HBillType, + HBarCode, + HQty, + HMaker, + HStockOrgID, + sErrMsg}, this.get_BillBarCode_VerifyOperationCompleted, userState); + } + + private void Onget_BillBarCode_VerifyOperationCompleted(object arg) { + if ((this.get_BillBarCode_VerifyCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_BillBarCode_VerifyCompleted(this, new get_BillBarCode_VerifyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -49253,6 +49302,40 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void get_BillBarCode_VerifyCompletedEventHandler(object sender, get_BillBarCode_VerifyCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_BillBarCode_VerifyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_BillBarCode_VerifyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public ClsKf_ICStockBill_WMS Result { + get { + this.RaiseExceptionIfNecessary(); + return ((ClsKf_ICStockBill_WMS)(this.results[0])); + } + } + + /// <remarks/> + public string sErrMsg { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[1])); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] public delegate void GetKf_PonderationBillMain_Temp_BillCheckCompletedEventHandler(object sender, GetKf_PonderationBillMain_Temp_BillCheckCompletedEventArgs e); /// <remarks/> -- Gitblit v1.9.1