| | |
| | | [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsGy_BarCodeBill_WMS_Model))] |
| | | public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol { |
| | | |
| | | private System.Threading.SendOrPostCallback getDataSetBySQLOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback getRunProcOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback getRunProcByMulOperationCompleted; |
| | |
| | | private System.Threading.SendOrPostCallback get_SourceBarCode_SellOutOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback get_SourceBarCode_EntrustOutOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback get_SourceBarCode_OtherOutOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback get_SourceBarCode_MoveStockOperationCompleted; |
| | | |
| | |
| | | private System.Threading.SendOrPostCallback getCheckCzymcOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback getSub_GetCurPeriodOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback getDataSetBySQLOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback set_CheckPOInStockBill_NewOperationCompleted; |
| | | |
| | |
| | | |
| | | /// <remarks/> |
| | | public WebService1() { |
| | | //this.Url = global::WebAPI.Properties.Settings.Default.WebAPI_WebS_WebService1; |
| | | this.Url = System.Configuration.ConfigurationManager.AppSettings["sUrl"]; |
| | | this.Url = global::WebAPI.Properties.Settings.Default.WebAPI_WebS_WebService1; |
| | | if ((this.IsLocalFileSystemWebService(this.Url) == true)) { |
| | | this.UseDefaultCredentials = true; |
| | | this.useDefaultCredentialsSetExplicitly = false; |
| | |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public event getDataSetBySQLCompletedEventHandler getDataSetBySQLCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event getRunProcCompletedEventHandler getRunProcCompleted; |
| | |
| | | |
| | | /// <remarks/> |
| | | public event get_SourceBarCode_EntrustOutCompletedEventHandler get_SourceBarCode_EntrustOutCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event get_SourceBarCode_OtherOutCompletedEventHandler get_SourceBarCode_OtherOutCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event get_SourceBarCode_MoveStockCompletedEventHandler get_SourceBarCode_MoveStockCompleted; |
| | |
| | | |
| | | /// <remarks/> |
| | | public event getSub_GetCurPeriodCompletedEventHandler getSub_GetCurPeriodCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event getDataSetBySQLCompletedEventHandler getDataSetBySQLCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event set_CheckPOInStockBill_NewCompletedEventHandler set_CheckPOInStockBill_NewCompleted; |
| | |
| | | |
| | | /// <remarks/> |
| | | public event GetSc_ICMOBillListCompletedEventHandler GetSc_ICMOBillListCompleted; |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getDataSetBySQL", 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 getDataSetBySQL(string sSQL, string sTable, ref string sErrMsg) { |
| | | object[] results = this.Invoke("getDataSetBySQL", new object[] { |
| | | sSQL, |
| | | sTable, |
| | | sErrMsg}); |
| | | sErrMsg = ((string)(results[1])); |
| | | return ((System.Data.DataSet)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void getDataSetBySQLAsync(string sSQL, string sTable, string sErrMsg) { |
| | | this.getDataSetBySQLAsync(sSQL, sTable, sErrMsg, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void getDataSetBySQLAsync(string sSQL, string sTable, string sErrMsg, object userState) { |
| | | if ((this.getDataSetBySQLOperationCompleted == null)) { |
| | | this.getDataSetBySQLOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetDataSetBySQLOperationCompleted); |
| | | } |
| | | this.InvokeAsync("getDataSetBySQL", new object[] { |
| | | sSQL, |
| | | sTable, |
| | | sErrMsg}, this.getDataSetBySQLOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OngetDataSetBySQLOperationCompleted(object arg) { |
| | | if ((this.getDataSetBySQLCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.getDataSetBySQLCompleted(this, new getDataSetBySQLCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getRunProc", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] |
| | |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_OtherOut", 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_OtherOut(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, ref string sErrMsg) { |
| | | object[] results = this.Invoke("get_SourceBarCode_OtherOut", new object[] { |
| | | HInterID, |
| | | HBillNo, |
| | | HBillType, |
| | | HSourceBillNo, |
| | | HSourceBillType, |
| | | HMaker, |
| | | HFIFOWhID, |
| | | HOWNERID, |
| | | sErrMsg}); |
| | | sErrMsg = ((string)(results[1])); |
| | | return ((ClsKf_ICStockBill_WMS)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void get_SourceBarCode_OtherOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg) { |
| | | this.get_SourceBarCode_OtherOutAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HFIFOWhID, HOWNERID, sErrMsg, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void get_SourceBarCode_OtherOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg, object userState) { |
| | | if ((this.get_SourceBarCode_OtherOutOperationCompleted == null)) { |
| | | this.get_SourceBarCode_OtherOutOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_OtherOutOperationCompleted); |
| | | } |
| | | this.InvokeAsync("get_SourceBarCode_OtherOut", new object[] { |
| | | HInterID, |
| | | HBillNo, |
| | | HBillType, |
| | | HSourceBillNo, |
| | | HSourceBillType, |
| | | HMaker, |
| | | HFIFOWhID, |
| | | HOWNERID, |
| | | sErrMsg}, this.get_SourceBarCode_OtherOutOperationCompleted, userState); |
| | | } |
| | | |
| | | private void Onget_SourceBarCode_OtherOutOperationCompleted(object arg) { |
| | | if ((this.get_SourceBarCode_OtherOutCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.get_SourceBarCode_OtherOutCompleted(this, new get_SourceBarCode_OtherOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_MoveStock", 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_MoveStock(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, ref string sErrMsg) { |
| | | object[] results = this.Invoke("get_SourceBarCode_MoveStock", new object[] { |
| | |
| | | if ((this.getSub_GetCurPeriodCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.getSub_GetCurPeriodCompleted(this, new getSub_GetCurPeriodCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getDataSetBySQL", 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 getDataSetBySQL(string sSQL, string sTable, ref string sErrMsg) { |
| | | object[] results = this.Invoke("getDataSetBySQL", new object[] { |
| | | sSQL, |
| | | sTable, |
| | | sErrMsg}); |
| | | sErrMsg = ((string)(results[1])); |
| | | return ((System.Data.DataSet)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void getDataSetBySQLAsync(string sSQL, string sTable, string sErrMsg) { |
| | | this.getDataSetBySQLAsync(sSQL, sTable, sErrMsg, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void getDataSetBySQLAsync(string sSQL, string sTable, string sErrMsg, object userState) { |
| | | if ((this.getDataSetBySQLOperationCompleted == null)) { |
| | | this.getDataSetBySQLOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetDataSetBySQLOperationCompleted); |
| | | } |
| | | this.InvokeAsync("getDataSetBySQL", new object[] { |
| | | sSQL, |
| | | sTable, |
| | | sErrMsg}, this.getDataSetBySQLOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OngetDataSetBySQLOperationCompleted(object arg) { |
| | | if ((this.getDataSetBySQLCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.getDataSetBySQLCompleted(this, new getDataSetBySQLCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | private bool hStopflagField; |
| | | |
| | | private System.DateTime hProduceDateField; |
| | | |
| | | private System.DateTime hExpiryDateField; |
| | | |
| | | /// <remarks/> |
| | | public long HItemID { |
| | | get { |
| | |
| | | } |
| | | set { |
| | | this.hStopflagField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public System.DateTime HProduceDate { |
| | | get { |
| | | return this.hProduceDateField; |
| | | } |
| | | set { |
| | | this.hProduceDateField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public System.DateTime HExpiryDate { |
| | | get { |
| | | return this.hExpiryDateField; |
| | | } |
| | | set { |
| | | this.hExpiryDateField = value; |
| | | } |
| | | } |
| | | } |
| | |
| | | private string hSubBillTypeField; |
| | | |
| | | private long hMulSourceBillField; |
| | | |
| | | private string hBeginDateField; |
| | | |
| | | private string hEndDateField; |
| | | |
| | | /// <remarks/> |
| | | public long HItemID { |
| | |
| | | this.hMulSourceBillField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string HBeginDate { |
| | | get { |
| | | return this.hBeginDateField; |
| | | } |
| | | set { |
| | | this.hBeginDateField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string HEndDate { |
| | | get { |
| | | return this.hEndDateField; |
| | | } |
| | | set { |
| | | this.hEndDateField = value; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | |
| | | private string kf_OtherOutBill_MaterWHSPCtlField; |
| | | |
| | | private string kf_OtherOutBill_SourceWHSPCtlField; |
| | | |
| | | private string kf_OtherOutBill_FIFOListField; |
| | | |
| | | private string kf_OtherOutBill_FIFOCtlField; |
| | | |
| | | private string kf_OtherOutBillCheck_MustQtyCtlField; |
| | | |
| | |
| | | } |
| | | set { |
| | | this.kf_OtherOutBill_SourceWHSPCtlField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Kf_OtherOutBill_FIFOList { |
| | | get { |
| | | return this.kf_OtherOutBill_FIFOListField; |
| | | } |
| | | set { |
| | | this.kf_OtherOutBill_FIFOListField = value; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Kf_OtherOutBill_FIFOCtl { |
| | | get { |
| | | return this.kf_OtherOutBill_FIFOCtlField; |
| | | } |
| | | set { |
| | | this.kf_OtherOutBill_FIFOCtlField = value; |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void getDataSetBySQLCompletedEventHandler(object sender, getDataSetBySQLCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class getDataSetBySQLCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal getDataSetBySQLCompletedEventArgs(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.4084.0")] |
| | | public delegate void getRunProcCompletedEventHandler(object sender, getRunProcCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void get_SourceBarCode_OtherOutCompletedEventHandler(object sender, get_SourceBarCode_OtherOutCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class get_SourceBarCode_OtherOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal get_SourceBarCode_OtherOutCompletedEventArgs(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.4084.0")] |
| | | public delegate void get_SourceBarCode_MoveStockCompletedEventHandler(object sender, get_SourceBarCode_MoveStockCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[2])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void getDataSetBySQLCompletedEventHandler(object sender, getDataSetBySQLCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class getDataSetBySQLCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal getDataSetBySQLCompletedEventArgs(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])); |
| | | } |
| | | } |
| | | } |