From a9f282b625e6cebb93c02946eb9a1d5bd699544b Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期日, 28 四月 2024 16:44:28 +0800 Subject: [PATCH] 新增采购退料模块、生产退料模块扫描源单调用方法,上传生成单据调用方法 --- WebAPI/Properties/Settings.settings | 2 WebAPI/Web References/WebS/WebService1.wsdl | 320 +++++++++++----- WebAPI/Web References/WebS/Reference.cs | 502 +++++++++++++++++-------- WebAPI/Controllers/条码管理/WEBSController.cs | 252 +++++++++++++ WebAPI/Properties/Settings.Designer.cs | 2 WebAPI/WebAPI.csproj | 4 WebAPI/Web References/WebS/Reference.map | 4 WebAPI/Web References/WebS/WebService1.disco | 6 8 files changed, 805 insertions(+), 287 deletions(-) diff --git "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" index 9f7c131..5cd01d9 100644 --- "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" +++ "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" @@ -2939,6 +2939,174 @@ #endregion + #region 閲囪喘閫�鏂� 涓婁紶鐢熷崟 + + #region 閲囪喘閫�鏂� 鏂板妯″紡 + + /// <summary> + /// 閲囪喘閫�鏂欐柊澧炰笂浼� + /// </summary> + /// <returns></returns> + [Route("WEBSController/set_SavePOStockInBackBill_Json")] + [HttpPost] + public object set_SavePOStockInBackBill_Json([FromBody] JObject oMain) + { + var _value = oMain["oMain"].ToString(); + string msg1 = _value.ToString(); + try + { + List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>(); + ListModels oListModels = new ListModels(); + lsmain = oListModels.getICStockBillMainByJson(msg1); + WebS.ClsKf_ICStockBillMain websLsmain = new WebS.ClsKf_ICStockBillMain(); + string sSourceType = lsmain[0].HMainSourceBillType; + websLsmain.HInterID = lsmain[0].HInterID; + websLsmain.HBillNo = lsmain[0].HBillNo; + websLsmain.HBillType = lsmain[0].HBillType; + websLsmain.HDate = lsmain[0].HDate; + websLsmain.HDeptID = lsmain[0].HDeptID; + websLsmain.HWHID = lsmain[0].HWHID; + websLsmain.HSCWHID = lsmain[0].HSCWHID; + websLsmain.HSupID = lsmain[0].HSupID; + websLsmain.HKeeperID = lsmain[0].HKeeperID; + websLsmain.HSecManagerID = lsmain[0].HSecManagerID; + websLsmain.HEmpID = lsmain[0].HEmpID; + websLsmain.HManagerID = lsmain[0].HManagerID; + websLsmain.HRemark = lsmain[0].HRemark; + websLsmain.HExplanation = lsmain[0].HExplanation; + websLsmain.HInnerBillNo = lsmain[0].HInnerBillNo; + websLsmain.HRedBlueFlag = lsmain[0].HRedBlueFlag; + websLsmain.HBillSubType = lsmain[0].HBillSubType; + if (lsmain[0].HMainSourceBillType == "1102") + { + websLsmain.HMainSourceBillType = "閲囪喘璁㈠崟"; + } + else if (lsmain[0].HMainSourceBillType == "1105") + { + websLsmain.HMainSourceBillType = "閫�鏂欓�氱煡鍗�"; + } + else + { + websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆"; + } + websLsmain.HMaker = lsmain[0].HMaker; + websLsmain.HBillerID = lsmain[0].HBillerID; + websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID; + websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; + + if (oWebs.set_SavePOStockInBackBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo)) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //鎴愬姛锛� + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //澶辫触锛� + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "閲囪喘閫�鏂欏崟涓婁紶澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + + #endregion + + #region 鐢熶骇閫�鏂� 涓婁紶鐢熷崟 + + #region 鐢熶骇閫�鏂� 鏂板妯″紡 + + /// <summary> + /// 鐢熶骇閫�鏂欐柊澧炰笂浼� + /// </summary> + /// <returns></returns> + [Route("WEBSController/set_SaveMateOutBackBill_Json")] + [HttpPost] + public object set_SaveMateOutBackBill_Json([FromBody] JObject oMain) + { + var _value = oMain["oMain"].ToString(); + string msg1 = _value.ToString(); + try + { + List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>(); + ListModels oListModels = new ListModels(); + lsmain = oListModels.getICStockBillMainByJson(msg1); + WebS.ClsKf_ICStockBillMain websLsmain = new WebS.ClsKf_ICStockBillMain(); + string sSourceType = lsmain[0].HMainSourceBillType; + websLsmain.HInterID = lsmain[0].HInterID; + websLsmain.HBillNo = lsmain[0].HBillNo; + websLsmain.HBillType = lsmain[0].HBillType; + websLsmain.HDate = lsmain[0].HDate; + websLsmain.HDeptID = lsmain[0].HDeptID; + websLsmain.HWHID = lsmain[0].HWHID; + websLsmain.HSCWHID = lsmain[0].HSCWHID; + websLsmain.HSupID = lsmain[0].HSupID; + websLsmain.HKeeperID = lsmain[0].HKeeperID; + websLsmain.HSecManagerID = lsmain[0].HSecManagerID; + websLsmain.HEmpID = lsmain[0].HEmpID; + websLsmain.HManagerID = lsmain[0].HManagerID; + websLsmain.HRemark = lsmain[0].HRemark; + websLsmain.HExplanation = lsmain[0].HExplanation; + websLsmain.HInnerBillNo = lsmain[0].HInnerBillNo; + websLsmain.HRedBlueFlag = lsmain[0].HRedBlueFlag; + websLsmain.HBillSubType = lsmain[0].HBillSubType; + if (lsmain[0].HMainSourceBillType == "3720") + { + websLsmain.HMainSourceBillType = "鐢熶骇鐢ㄦ枡娓呭崟"; + } + else + { + websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆"; + } + websLsmain.HMaker = lsmain[0].HMaker; + websLsmain.HBillerID = lsmain[0].HBillerID; + websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID; + websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; + + if (oWebs.set_SaveMateOutBackBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo)) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //鎴愬姛锛� + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //澶辫触锛� + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鐢熶骇閫�鏂欏崟涓婁紶澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + + #endregion + #region 鐢熶骇缁勬墭鍗� 涓婁紶鐢熷崟 /// <summary> @@ -3531,6 +3699,90 @@ #endregion + #region 閲囪喘閫�鏂� 鎵弿婧愬崟鏉$爜 + + /// <summary> + /// 閲囪喘閫�鏂� 鎵弿婧愬崟鏉$爜 + /// </summary> + /// <returns></returns> + [Route("WEBSController/Get_SourceBarCode_POStockInBack_Json")] + [HttpGet] + public object get_SourceBarCode_POStockInBack_Json(Int64 HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, Int64 HStockOrgID) + { + try + { + WebSoBar = oWebs.get_SourceBarCode_POStockInBack(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, ref DBUtility.ClsPub.sErrInfo); + if (WebSoBar == null) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛"; + objJsonResult.data = WebSoBar; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎵弿婧愬崟鏉$爜澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + + #region 鐢熶骇閫�鏂� 鎵弿婧愬崟鏉$爜 + + /// <summary> + /// 鐢熶骇閫�鏂� 鎵弿婧愬崟鏉$爜 + /// </summary> + /// <returns></returns> + [Route("WEBSController/Get_SourceBarCode_MateOutBack_Json")] + [HttpGet] + public object get_SourceBarCode_MateOutBack_Json(Int64 HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, Int64 HStockOrgID) + { + try + { + WebSoBar = oWebs.get_SourceBarCode_MateOutBack(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, ref DBUtility.ClsPub.sErrInfo); + if (WebSoBar == null) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛"; + objJsonResult.data = WebSoBar; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎵弿婧愬崟鏉$爜澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #endregion diff --git a/WebAPI/Properties/Settings.Designer.cs b/WebAPI/Properties/Settings.Designer.cs index 7d5a9b0..4e42dc4 100644 --- a/WebAPI/Properties/Settings.Designer.cs +++ b/WebAPI/Properties/Settings.Designer.cs @@ -26,7 +26,7 @@ [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] - [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.63.53/WEBS-WMS/WebService1.asmx")] + [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.0.81/WEBS-WMS/WebService1.asmx")] public string WebAPI_WebS_WebService1 { get { return ((string)(this["WebAPI_WebS_WebService1"])); diff --git a/WebAPI/Properties/Settings.settings b/WebAPI/Properties/Settings.settings index 4eee4ca..b5c0318 100644 --- a/WebAPI/Properties/Settings.settings +++ b/WebAPI/Properties/Settings.settings @@ -3,7 +3,7 @@ <Profiles /> <Settings> <Setting Name="WebAPI_WebS_WebService1" Type="(Web Service URL)" Scope="Application"> - <Value Profile="(Default)">http://192.168.63.53/WEBS-WMS/WebService1.asmx</Value> + <Value Profile="(Default)">http://192.168.0.81/WEBS-WMS/WebService1.asmx</Value> </Setting> </Settings> </SettingsFile> \ No newline at end of file diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs index 3362ea3..f6c0460 100644 --- a/WebAPI/Web References/WebS/Reference.cs +++ b/WebAPI/Web References/WebS/Reference.cs @@ -34,6 +34,10 @@ [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))] public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol { + private System.Threading.SendOrPostCallback Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted; + + private System.Threading.SendOrPostCallback GetMouldBillEntry_TmpListOperationCompleted; + private System.Threading.SendOrPostCallback set_DelSc_MouldStockBillMain_TempOperationCompleted; private System.Threading.SendOrPostCallback set_SaveMouldStockBill_NewOperationCompleted; @@ -300,6 +304,10 @@ private System.Threading.SendOrPostCallback get_SourceBarCode_MoveStockStepInOperationCompleted; + private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted; + + private System.Threading.SendOrPostCallback get_SourceBarCode_MateOutBackOperationCompleted; + private System.Threading.SendOrPostCallback get_BarCodeOperationCompleted; private System.Threading.SendOrPostCallback get_SystemParameter_BarCodeOperationCompleted; @@ -325,10 +333,6 @@ private System.Threading.SendOrPostCallback get_CheckTypeByMouldSourceOperationCompleted; private System.Threading.SendOrPostCallback getMouldSourceBillListOperationCompleted; - - private System.Threading.SendOrPostCallback Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted; - - private System.Threading.SendOrPostCallback GetMouldBillEntry_TmpListOperationCompleted; private System.Threading.SendOrPostCallback set_CheckOtherInBillOperationCompleted; @@ -1197,6 +1201,12 @@ } /// <remarks/> + public event Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted; + + /// <remarks/> + public event GetMouldBillEntry_TmpListCompletedEventHandler GetMouldBillEntry_TmpListCompleted; + + /// <remarks/> public event set_DelSc_MouldStockBillMain_TempCompletedEventHandler set_DelSc_MouldStockBillMain_TempCompleted; /// <remarks/> @@ -1596,6 +1606,12 @@ public event get_SourceBarCode_MoveStockStepInCompletedEventHandler get_SourceBarCode_MoveStockStepInCompleted; /// <remarks/> + public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted; + + /// <remarks/> + public event get_SourceBarCode_MateOutBackCompletedEventHandler get_SourceBarCode_MateOutBackCompleted; + + /// <remarks/> public event get_BarCodeCompletedEventHandler get_BarCodeCompleted; /// <remarks/> @@ -1633,12 +1649,6 @@ /// <remarks/> public event getMouldSourceBillListCompletedEventHandler getMouldSourceBillListCompleted; - - /// <remarks/> - public event Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted; - - /// <remarks/> - public event GetMouldBillEntry_TmpListCompletedEventHandler GetMouldBillEntry_TmpListCompleted; /// <remarks/> public event set_CheckOtherInBillCompletedEventHandler set_CheckOtherInBillCompleted; @@ -2881,6 +2891,96 @@ /// <remarks/> public event GetSc_ICMOBackBillListCompletedEventHandler GetSc_ICMOBackBillListCompleted; + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool Get_CheckTypeByMouldBarCode_ProdCheckStock(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, ref string sErrMsg) { + object[] results = this.Invoke("Get_CheckTypeByMouldBarCode_ProdCheckStock", new object[] { + sBarCode, + HBillID, + HBillType, + HBillNo, + HWhID, + HSPID, + HStockCheckItemID, + HStockCheckNumber, + HCorrespondentTypeID, + HCorrespondentID, + HMaker, + HOWNERID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((bool)(results[0])); + } + + /// <remarks/> + public void Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, string sErrMsg) { + this.Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(sBarCode, HBillID, HBillType, HBillNo, HWhID, HSPID, HStockCheckItemID, HStockCheckNumber, HCorrespondentTypeID, HCorrespondentID, HMaker, HOWNERID, sErrMsg, null); + } + + /// <remarks/> + public void Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, string sErrMsg, object userState) { + if ((this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted == null)) { + this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted); + } + this.InvokeAsync("Get_CheckTypeByMouldBarCode_ProdCheckStock", new object[] { + sBarCode, + HBillID, + HBillType, + HBillNo, + HWhID, + HSPID, + HStockCheckItemID, + HStockCheckNumber, + HCorrespondentTypeID, + HCorrespondentID, + HMaker, + HOWNERID, + sErrMsg}, this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted, userState); + } + + private void OnGet_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted(object arg) { + if ((this.Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted(this, new Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMouldBillEntry_TmpList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetMouldBillEntry_TmpList(long HInterID, string HBillNo, string HBillType, ref string sErrMsg) { + object[] results = this.Invoke("GetMouldBillEntry_TmpList", new object[] { + HInterID, + HBillNo, + HBillType, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((System.Data.DataSet)(results[0])); + } + + /// <remarks/> + public void GetMouldBillEntry_TmpListAsync(long HInterID, string HBillNo, string HBillType, string sErrMsg) { + this.GetMouldBillEntry_TmpListAsync(HInterID, HBillNo, HBillType, sErrMsg, null); + } + + /// <remarks/> + public void GetMouldBillEntry_TmpListAsync(long HInterID, string HBillNo, string HBillType, string sErrMsg, object userState) { + if ((this.GetMouldBillEntry_TmpListOperationCompleted == null)) { + this.GetMouldBillEntry_TmpListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMouldBillEntry_TmpListOperationCompleted); + } + this.InvokeAsync("GetMouldBillEntry_TmpList", new object[] { + HInterID, + HBillNo, + HBillType, + sErrMsg}, this.GetMouldBillEntry_TmpListOperationCompleted, userState); + } + + private void OnGetMouldBillEntry_TmpListOperationCompleted(object arg) { + if ((this.GetMouldBillEntry_TmpListCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMouldBillEntry_TmpListCompleted(this, new GetMouldBillEntry_TmpListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_DelSc_MouldStockBillMain_Temp", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] @@ -9229,6 +9329,94 @@ } /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", 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_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { + object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((ClsKf_ICStockBill_WMS)(results[0])); + } + + /// <remarks/> + public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) { + this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null); + } + + /// <remarks/> + public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) { + if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) { + this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted); + } + this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState); + } + + private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) { + if ((this.get_SourceBarCode_POStockInBackCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_MateOutBack", 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_SourceBarCode_MateOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { + object[] results = this.Invoke("get_SourceBarCode_MateOutBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((ClsKf_ICStockBill_WMS)(results[0])); + } + + /// <remarks/> + public void get_SourceBarCode_MateOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) { + this.get_SourceBarCode_MateOutBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null); + } + + /// <remarks/> + public void get_SourceBarCode_MateOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) { + if ((this.get_SourceBarCode_MateOutBackOperationCompleted == null)) { + this.get_SourceBarCode_MateOutBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_MateOutBackOperationCompleted); + } + this.InvokeAsync("get_SourceBarCode_MateOutBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}, this.get_SourceBarCode_MateOutBackOperationCompleted, userState); + } + + private void Onget_SourceBarCode_MateOutBackOperationCompleted(object arg) { + if ((this.get_SourceBarCode_MateOutBackCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_SourceBarCode_MateOutBackCompleted(this, new get_SourceBarCode_MateOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_BarCode", 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_BarCode( string sBarCode, @@ -10310,96 +10498,6 @@ if ((this.getMouldSourceBillListCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.getMouldSourceBillListCompleted(this, new getMouldSourceBillListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool Get_CheckTypeByMouldBarCode_ProdCheckStock(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, ref string sErrMsg) { - object[] results = this.Invoke("Get_CheckTypeByMouldBarCode_ProdCheckStock", new object[] { - sBarCode, - HBillID, - HBillType, - HBillNo, - HWhID, - HSPID, - HStockCheckItemID, - HStockCheckNumber, - HCorrespondentTypeID, - HCorrespondentID, - HMaker, - HOWNERID, - sErrMsg}); - sErrMsg = ((string)(results[1])); - return ((bool)(results[0])); - } - - /// <remarks/> - public void Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, string sErrMsg) { - this.Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(sBarCode, HBillID, HBillType, HBillNo, HWhID, HSPID, HStockCheckItemID, HStockCheckNumber, HCorrespondentTypeID, HCorrespondentID, HMaker, HOWNERID, sErrMsg, null); - } - - /// <remarks/> - public void Get_CheckTypeByMouldBarCode_ProdCheckStockAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, string sErrMsg, object userState) { - if ((this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted == null)) { - this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted); - } - this.InvokeAsync("Get_CheckTypeByMouldBarCode_ProdCheckStock", new object[] { - sBarCode, - HBillID, - HBillType, - HBillNo, - HWhID, - HSPID, - HStockCheckItemID, - HStockCheckNumber, - HCorrespondentTypeID, - HCorrespondentID, - HMaker, - HOWNERID, - sErrMsg}, this.Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted, userState); - } - - private void OnGet_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted(object arg) { - if ((this.Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted(this, new Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMouldBillEntry_TmpList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetMouldBillEntry_TmpList(long HInterID, string HBillNo, string HBillType, ref string sErrMsg) { - object[] results = this.Invoke("GetMouldBillEntry_TmpList", new object[] { - HInterID, - HBillNo, - HBillType, - sErrMsg}); - sErrMsg = ((string)(results[1])); - return ((System.Data.DataSet)(results[0])); - } - - /// <remarks/> - public void GetMouldBillEntry_TmpListAsync(long HInterID, string HBillNo, string HBillType, string sErrMsg) { - this.GetMouldBillEntry_TmpListAsync(HInterID, HBillNo, HBillType, sErrMsg, null); - } - - /// <remarks/> - public void GetMouldBillEntry_TmpListAsync(long HInterID, string HBillNo, string HBillType, string sErrMsg, object userState) { - if ((this.GetMouldBillEntry_TmpListOperationCompleted == null)) { - this.GetMouldBillEntry_TmpListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMouldBillEntry_TmpListOperationCompleted); - } - this.InvokeAsync("GetMouldBillEntry_TmpList", new object[] { - HInterID, - HBillNo, - HBillType, - sErrMsg}, this.GetMouldBillEntry_TmpListOperationCompleted, userState); - } - - private void OnGetMouldBillEntry_TmpListOperationCompleted(object arg) { - if ((this.GetMouldBillEntry_TmpListCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetMouldBillEntry_TmpListCompleted(this, new GetMouldBillEntry_TmpListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -49551,6 +49649,74 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler(object sender, Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public bool Result { + get { + this.RaiseExceptionIfNecessary(); + return ((bool)(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 GetMouldBillEntry_TmpListCompletedEventHandler(object sender, GetMouldBillEntry_TmpListCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetMouldBillEntry_TmpListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetMouldBillEntry_TmpListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public System.Data.DataSet Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(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 set_DelSc_MouldStockBillMain_TempCompletedEventHandler(object sender, set_DelSc_MouldStockBillMain_TempCompletedEventArgs e); /// <remarks/> @@ -54425,6 +54591,74 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_SourceBarCode_POStockInBackCompletedEventArgs(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 get_SourceBarCode_MateOutBackCompletedEventHandler(object sender, get_SourceBarCode_MateOutBackCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_SourceBarCode_MateOutBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_SourceBarCode_MateOutBackCompletedEventArgs(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 get_BarCodeCompletedEventHandler(object sender, get_BarCodeCompletedEventArgs e); /// <remarks/> @@ -54925,74 +55159,6 @@ get { this.RaiseExceptionIfNecessary(); return ((ClsKf_ICStockBill_Mould)(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 Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler(object sender, Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs e); - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// <remarks/> - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(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 GetMouldBillEntry_TmpListCompletedEventHandler(object sender, GetMouldBillEntry_TmpListCompletedEventArgs e); - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetMouldBillEntry_TmpListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetMouldBillEntry_TmpListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// <remarks/> - public System.Data.DataSet Result { - get { - this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); } } diff --git a/WebAPI/Web References/WebS/Reference.map b/WebAPI/Web References/WebS/Reference.map index be337e7..164e0a1 100644 --- a/WebAPI/Web References/WebS/Reference.map +++ b/WebAPI/Web References/WebS/Reference.map @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Results> - <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://192.168.63.53/WEBS-WMS/WebService1.asmx?disco" filename="WebService1.disco" /> - <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://192.168.63.53/WEBS-WMS/WebService1.asmx?wsdl" filename="WebService1.wsdl" /> + <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://192.168.0.81/WEBS-WMS/WebService1.asmx?disco" filename="WebService1.disco" /> + <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://192.168.0.81/WEBS-WMS/WebService1.asmx?wsdl" filename="WebService1.wsdl" /> </Results> </DiscoveryClientResultsFile> \ No newline at end of file diff --git a/WebAPI/Web References/WebS/WebService1.disco b/WebAPI/Web References/WebS/WebService1.disco index 955c57d..a6596e9 100644 --- a/WebAPI/Web References/WebS/WebService1.disco +++ b/WebAPI/Web References/WebS/WebService1.disco @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> - <contractRef ref="http://192.168.63.53/WEBS-WMS/WebService1.asmx?wsdl" docRef="http://192.168.63.53/WEBS-WMS/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> - <soap address="http://192.168.63.53/WEBS-WMS/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> - <soap address="http://192.168.63.53/WEBS-WMS/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <contractRef ref="http://192.168.0.81/WEBS-WMS/WebService1.asmx?wsdl" docRef="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> </discovery> \ No newline at end of file diff --git a/WebAPI/Web References/WebS/WebService1.wsdl b/WebAPI/Web References/WebS/WebService1.wsdl index 91a31b4..dc40be4 100644 --- a/WebAPI/Web References/WebS/WebService1.wsdl +++ b/WebAPI/Web References/WebS/WebService1.wsdl @@ -2,6 +2,58 @@ <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> + <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HBillID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockCheckItemID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HStockCheckNumber" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HCorrespondentTypeID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HCorrespondentID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStockResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="Get_CheckTypeByMouldBarCode_ProdCheckStockResult" type="s:boolean" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetMouldBillEntry_TmpList"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="GetMouldBillEntry_TmpListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="GetMouldBillEntry_TmpListResult"> + <s:complexType> + <s:sequence> + <s:element ref="s:schema" /> + <s:any /> + </s:sequence> + </s:complexType> + </s:element> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> <s:element name="set_DelSc_MouldStockBillMain_Temp"> <s:complexType> <s:sequence> @@ -3730,6 +3782,50 @@ </s:sequence> </s:complexType> </s:element> + <s:element name="get_SourceBarCode_POStockInBack"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_POStockInBackResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_MateOutBack"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_MateOutBackResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> <s:element name="get_BarCode"> <s:complexType> <s:sequence> @@ -4096,58 +4192,6 @@ <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="getMouldSourceBillListResult" type="tns:ClsKf_ICStockBill_Mould" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HBillID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HStockCheckItemID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HStockCheckNumber" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HCorrespondentTypeID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HCorrespondentID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStockResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="Get_CheckTypeByMouldBarCode_ProdCheckStockResult" type="s:boolean" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="GetMouldBillEntry_TmpList"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="GetMouldBillEntry_TmpListResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="GetMouldBillEntry_TmpListResult"> - <s:complexType> - <s:sequence> - <s:element ref="s:schema" /> - <s:any /> - </s:sequence> - </s:complexType> - </s:element> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> @@ -13933,6 +13977,18 @@ </s:element> </s:schema> </wsdl:types> + <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn"> + <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStock" /> + </wsdl:message> + <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut"> + <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockResponse" /> + </wsdl:message> + <wsdl:message name="GetMouldBillEntry_TmpListSoapIn"> + <wsdl:part name="parameters" element="tns:GetMouldBillEntry_TmpList" /> + </wsdl:message> + <wsdl:message name="GetMouldBillEntry_TmpListSoapOut"> + <wsdl:part name="parameters" element="tns:GetMouldBillEntry_TmpListResponse" /> + </wsdl:message> <wsdl:message name="set_DelSc_MouldStockBillMain_TempSoapIn"> <wsdl:part name="parameters" element="tns:set_DelSc_MouldStockBillMain_Temp" /> </wsdl:message> @@ -14731,6 +14787,18 @@ <wsdl:message name="get_SourceBarCode_MoveStockStepInSoapOut"> <wsdl:part name="parameters" element="tns:get_SourceBarCode_MoveStockStepInResponse" /> </wsdl:message> + <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_MateOutBackSoapIn"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBack" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_MateOutBackSoapOut"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBackResponse" /> + </wsdl:message> <wsdl:message name="get_BarCodeSoapIn"> <wsdl:part name="parameters" element="tns:get_BarCode" /> </wsdl:message> @@ -14808,18 +14876,6 @@ </wsdl:message> <wsdl:message name="getMouldSourceBillListSoapOut"> <wsdl:part name="parameters" element="tns:getMouldSourceBillListResponse" /> - </wsdl:message> - <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn"> - <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStock" /> - </wsdl:message> - <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut"> - <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockResponse" /> - </wsdl:message> - <wsdl:message name="GetMouldBillEntry_TmpListSoapIn"> - <wsdl:part name="parameters" element="tns:GetMouldBillEntry_TmpList" /> - </wsdl:message> - <wsdl:message name="GetMouldBillEntry_TmpListSoapOut"> - <wsdl:part name="parameters" element="tns:GetMouldBillEntry_TmpListResponse" /> </wsdl:message> <wsdl:message name="set_CheckOtherInBillSoapIn"> <wsdl:part name="parameters" element="tns:set_CheckOtherInBill" /> @@ -17306,6 +17362,14 @@ <wsdl:part name="parameters" element="tns:GetSc_ICMOBackBillListResponse" /> </wsdl:message> <wsdl:portType name="WebService1Soap"> + <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> + <wsdl:input message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn" /> + <wsdl:output message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut" /> + </wsdl:operation> + <wsdl:operation name="GetMouldBillEntry_TmpList"> + <wsdl:input message="tns:GetMouldBillEntry_TmpListSoapIn" /> + <wsdl:output message="tns:GetMouldBillEntry_TmpListSoapOut" /> + </wsdl:operation> <wsdl:operation name="set_DelSc_MouldStockBillMain_Temp"> <wsdl:input message="tns:set_DelSc_MouldStockBillMain_TempSoapIn" /> <wsdl:output message="tns:set_DelSc_MouldStockBillMain_TempSoapOut" /> @@ -17838,6 +17902,14 @@ <wsdl:input message="tns:get_SourceBarCode_MoveStockStepInSoapIn" /> <wsdl:output message="tns:get_SourceBarCode_MoveStockStepInSoapOut" /> </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" /> + <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" /> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_MateOutBack"> + <wsdl:input message="tns:get_SourceBarCode_MateOutBackSoapIn" /> + <wsdl:output message="tns:get_SourceBarCode_MateOutBackSoapOut" /> + </wsdl:operation> <wsdl:operation name="get_BarCode"> <wsdl:input message="tns:get_BarCodeSoapIn" /> <wsdl:output message="tns:get_BarCodeSoapOut" /> @@ -17889,14 +17961,6 @@ <wsdl:operation name="getMouldSourceBillList"> <wsdl:input message="tns:getMouldSourceBillListSoapIn" /> <wsdl:output message="tns:getMouldSourceBillListSoapOut" /> - </wsdl:operation> - <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> - <wsdl:input message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn" /> - <wsdl:output message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut" /> - </wsdl:operation> - <wsdl:operation name="GetMouldBillEntry_TmpList"> - <wsdl:input message="tns:GetMouldBillEntry_TmpListSoapIn" /> - <wsdl:output message="tns:GetMouldBillEntry_TmpListSoapOut" /> </wsdl:operation> <wsdl:operation name="set_CheckOtherInBill"> <wsdl:input message="tns:set_CheckOtherInBillSoapIn" /> @@ -19557,6 +19621,24 @@ </wsdl:portType> <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> + <soap:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetMouldBillEntry_TmpList"> + <soap:operation soapAction="http://tempuri.org/GetMouldBillEntry_TmpList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="set_DelSc_MouldStockBillMain_Temp"> <soap:operation soapAction="http://tempuri.org/set_DelSc_MouldStockBillMain_Temp" style="document" /> <wsdl:input> @@ -20754,6 +20836,24 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_MateOutBack"> + <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="get_BarCode"> <soap:operation soapAction="http://tempuri.org/get_BarCode" style="document" /> <wsdl:input> @@ -20864,24 +20964,6 @@ </wsdl:operation> <wsdl:operation name="getMouldSourceBillList"> <soap:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> - <soap:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="GetMouldBillEntry_TmpList"> - <soap:operation soapAction="http://tempuri.org/GetMouldBillEntry_TmpList" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -24618,6 +24700,24 @@ </wsdl:binding> <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> + <soap12:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetMouldBillEntry_TmpList"> + <soap12:operation soapAction="http://tempuri.org/GetMouldBillEntry_TmpList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="set_DelSc_MouldStockBillMain_Temp"> <soap12:operation soapAction="http://tempuri.org/set_DelSc_MouldStockBillMain_Temp" style="document" /> <wsdl:input> @@ -25815,6 +25915,24 @@ <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_MateOutBack"> + <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="get_BarCode"> <soap12:operation soapAction="http://tempuri.org/get_BarCode" style="document" /> <wsdl:input> @@ -25925,24 +26043,6 @@ </wsdl:operation> <wsdl:operation name="getMouldSourceBillList"> <soap12:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock"> - <soap12:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="GetMouldBillEntry_TmpList"> - <soap12:operation soapAction="http://tempuri.org/GetMouldBillEntry_TmpList" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -29679,10 +29779,10 @@ </wsdl:binding> <wsdl:service name="WebService1"> <wsdl:port name="WebService1Soap" binding="tns:WebService1Soap"> - <soap:address location="http://192.168.63.53/WEBS-WMS/WebService1.asmx" /> + <soap:address location="http://192.168.0.81/WEBS-WMS/WebService1.asmx" /> </wsdl:port> <wsdl:port name="WebService1Soap12" binding="tns:WebService1Soap12"> - <soap12:address location="http://192.168.63.53/WEBS-WMS/WebService1.asmx" /> + <soap12:address location="http://192.168.0.81/WEBS-WMS/WebService1.asmx" /> </wsdl:port> </wsdl:service> </wsdl:definitions> \ No newline at end of file diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj index 7ee65da..1492e0a 100644 --- a/WebAPI/WebAPI.csproj +++ b/WebAPI/WebAPI.csproj @@ -1157,10 +1157,10 @@ </ProjectReference> </ItemGroup> <ItemGroup> - <WebReferenceUrl Include="http://192.168.63.53/WEBS-WMS/WebService1.asmx"> + <WebReferenceUrl Include="http://192.168.0.81/WEBS-WMS/WebService1.asmx"> <UrlBehavior>Dynamic</UrlBehavior> <RelPath>Web References\WebS\</RelPath> - <UpdateFromURL>http://192.168.63.53/WEBS-WMS/WebService1.asmx</UpdateFromURL> + <UpdateFromURL>http://192.168.0.81/WEBS-WMS/WebService1.asmx</UpdateFromURL> <ServiceLocationURL> </ServiceLocationURL> <CachedDynamicPropName> -- Gitblit v1.9.1