ch
2022-12-27 cab2f5a8f48277f1280e7b5803576f33e76a6b8c
WebAPI/Web References/WebS/Reference.cs
@@ -35,6 +35,8 @@
    [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;
@@ -124,6 +126,8 @@
        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;
        
@@ -220,8 +224,6 @@
        private System.Threading.SendOrPostCallback getCheckCzymcOperationCompleted;
        
        private System.Threading.SendOrPostCallback getSub_GetCurPeriodOperationCompleted;
        private System.Threading.SendOrPostCallback getDataSetBySQLOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_CheckPOInStockBill_NewOperationCompleted;
        
@@ -1077,8 +1079,7 @@
        
        /// <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;
@@ -1111,6 +1112,9 @@
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        /// <remarks/>
        public event getDataSetBySQLCompletedEventHandler getDataSetBySQLCompleted;
        
        /// <remarks/>
        public event getRunProcCompletedEventHandler getRunProcCompleted;
@@ -1246,6 +1250,9 @@
        
        /// <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;
@@ -1390,9 +1397,6 @@
        
        /// <remarks/>
        public event getSub_GetCurPeriodCompletedEventHandler getSub_GetCurPeriodCompleted;
        /// <remarks/>
        public event getDataSetBySQLCompletedEventHandler getDataSetBySQLCompleted;
        
        /// <remarks/>
        public event set_CheckPOInStockBill_NewCompletedEventHandler set_CheckPOInStockBill_NewCompleted;
@@ -2668,6 +2672,40 @@
        
        /// <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)]
@@ -5584,6 +5622,52 @@
        }
        
        /// <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[] {
@@ -7941,40 +8025,6 @@
            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));
            }
        }
        
@@ -40138,6 +40188,10 @@
        
        private bool hStopflagField;
        
        private System.DateTime hProduceDateField;
        private System.DateTime hExpiryDateField;
        /// <remarks/>
        public long HItemID {
            get {
@@ -40345,6 +40399,26 @@
            }
            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;
            }
        }
    }
@@ -40763,6 +40837,10 @@
        private string hSubBillTypeField;
        
        private long hMulSourceBillField;
        private string hBeginDateField;
        private string hEndDateField;
        
        /// <remarks/>
        public long HItemID {
@@ -41253,6 +41331,26 @@
                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/>
@@ -41466,6 +41564,10 @@
        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;
        
@@ -42884,6 +42986,26 @@
            }
            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;
            }
        }
        
@@ -45319,6 +45441,40 @@
    
    /// <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/>
@@ -47145,6 +47301,40 @@
    
    /// <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/>
@@ -48843,40 +49033,6 @@
            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]));
            }
        }
    }