From 1db2dcbec358ed43724e8621d7d99981ba4c1ad2 Mon Sep 17 00:00:00 2001 From: hudong <Administrator@PC-20250329JZUF> Date: 星期五, 30 五月 2025 17:00:22 +0800 Subject: [PATCH] 1.其他出入库返回参数优化 2.生产订单接收返回参数修改 3.空托出入库逻辑修改(可以选择半托的托盘进行入库) --- api/ZSCM2_CXPZ.cs | 123 ++++++++++++++++++++++++---------------- 1 files changed, 73 insertions(+), 50 deletions(-) diff --git a/api/ZSCM2_CXPZ.cs b/api/ZSCM2_CXPZ.cs index 6219ce9..a93372b 100644 --- a/api/ZSCM2_CXPZ.cs +++ b/api/ZSCM2_CXPZ.cs @@ -25,64 +25,75 @@ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] -[System.Web.Services.WebServiceBindingAttribute(Name="binding", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] -public partial class ZSCM2_CXPZ : System.Web.Services.Protocols.SoapHttpClientProtocol { - +[System.Web.Services.WebServiceBindingAttribute(Name = "binding", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] +public partial class ZSCM2_CXPZ : System.Web.Services.Protocols.SoapHttpClientProtocol +{ + private System.Threading.SendOrPostCallback ZfmScm2CxpzMm001OperationCompleted; - + /// <remarks/> - public ZSCM2_CXPZ() { - this.Url = "http://10.89.33.217:8000/sap/bc/srt/rfc/sap/zscm2_cxpz/110/zscm2_cxpz/bin" + - "ding"; + public ZSCM2_CXPZ() + { + this.Url = "http://10.89.33.201:8001/sap/bc/srt/rfc/sap/zscm2_cxpz/800/zscm2_cxpz/bind" + + "ing"; } - + /// <remarks/> public event ZfmScm2CxpzMm001CompletedEventHandler ZfmScm2CxpzMm001Completed; - + /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] - [return: System.Xml.Serialization.XmlElementAttribute("ZfmScm2CxpzMm001Response", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] - public ZfmScm2CxpzMm001Response ZfmScm2CxpzMm001([System.Xml.Serialization.XmlElementAttribute("ZfmScm2CxpzMm001", Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Bare)] + [return: System.Xml.Serialization.XmlElementAttribute("ZfmScm2CxpzMm001Response", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] + public ZfmScm2CxpzMm001Response ZfmScm2CxpzMm001([System.Xml.Serialization.XmlElementAttribute("ZfmScm2CxpzMm001", Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011) + { object[] results = this.Invoke("ZfmScm2CxpzMm001", new object[] { ZfmScm2CxpzMm0011}); return ((ZfmScm2CxpzMm001Response)(results[0])); } - + /// <remarks/> - public System.IAsyncResult BeginZfmScm2CxpzMm001(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginZfmScm2CxpzMm001(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ZfmScm2CxpzMm001", new object[] { ZfmScm2CxpzMm0011}, callback, asyncState); } - + /// <remarks/> - public ZfmScm2CxpzMm001Response EndZfmScm2CxpzMm001(System.IAsyncResult asyncResult) { + public ZfmScm2CxpzMm001Response EndZfmScm2CxpzMm001(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ZfmScm2CxpzMm001Response)(results[0])); } - + /// <remarks/> - public void ZfmScm2CxpzMm001Async(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011) { + public void ZfmScm2CxpzMm001Async(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011) + { this.ZfmScm2CxpzMm001Async(ZfmScm2CxpzMm0011, null); } - + /// <remarks/> - public void ZfmScm2CxpzMm001Async(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011, object userState) { - if ((this.ZfmScm2CxpzMm001OperationCompleted == null)) { + public void ZfmScm2CxpzMm001Async(ZfmScm2CxpzMm001 ZfmScm2CxpzMm0011, object userState) + { + if ((this.ZfmScm2CxpzMm001OperationCompleted == null)) + { this.ZfmScm2CxpzMm001OperationCompleted = new System.Threading.SendOrPostCallback(this.OnZfmScm2CxpzMm001OperationCompleted); } this.InvokeAsync("ZfmScm2CxpzMm001", new object[] { ZfmScm2CxpzMm0011}, this.ZfmScm2CxpzMm001OperationCompleted, userState); } - - private void OnZfmScm2CxpzMm001OperationCompleted(object arg) { - if ((this.ZfmScm2CxpzMm001Completed != null)) { + + private void OnZfmScm2CxpzMm001OperationCompleted(object arg) + { + if ((this.ZfmScm2CxpzMm001Completed != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ZfmScm2CxpzMm001Completed(this, new ZfmScm2CxpzMm001CompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// <remarks/> - public new void CancelAsync(object userState) { + public new void CancelAsync(object userState) + { base.CancelAsync(userState); } } @@ -92,18 +103,22 @@ [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] -[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] -public partial class ZfmScm2CxpzMm001 { - +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] +public partial class ZfmScm2CxpzMm001 +{ + private string inputField; - + /// <remarks/> - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string Input { - get { + [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string Input + { + get + { return this.inputField; } - set { + set + { this.inputField = value; } } @@ -114,18 +129,22 @@ [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] -[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:soap:functions:mc-style")] -public partial class ZfmScm2CxpzMm001Response { - +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "urn:sap-com:document:sap:soap:functions:mc-style")] +public partial class ZfmScm2CxpzMm001Response +{ + private string outputField; - + /// <remarks/> - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string Output { - get { + [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string Output + { + get + { return this.outputField; } - set { + set + { this.outputField = value; } } @@ -139,18 +158,22 @@ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] -public partial class ZfmScm2CxpzMm001CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - +public partial class ZfmScm2CxpzMm001CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs +{ + private object[] results; - - internal ZfmScm2CxpzMm001CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal ZfmScm2CxpzMm001CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// <remarks/> - public ZfmScm2CxpzMm001Response Result { - get { + public ZfmScm2CxpzMm001Response Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ZfmScm2CxpzMm001Response)(this.results[0])); } -- Gitblit v1.9.1