From 9b2ce9295586ba04d99f8ae49ce1748e287fa286 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期二, 14 十二月 2021 17:45:26 +0800
Subject: [PATCH] 新增盘点方案

---
 WebAPI/WebServer.cs |   62 +++++++++++++++++++++++++++++++
 1 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs
index 97255aa..6509869 100644
--- a/WebAPI/WebServer.cs
+++ b/WebAPI/WebServer.cs
@@ -1122,6 +1122,7 @@
 
         #endregion
 
+
         #region 澶栬喘閫�鏂�    澶栬喘鍏ュ簱锛堢孩瀛楋級   *
 
         public bool set_SavePOStockInBackBill_New(WebAPI.WebS.ClsKf_ICStockBillMain oMain, string sHSourceType, ref string sErrMsg)
@@ -3990,6 +3991,25 @@
             //sErrMsg = "淇濆瓨璋冩嫧鍗曞け璐ワ紒" + sErrMsg;
             //return false;
         }
+
+        public bool set_MoveStockStepOutBill(WebAPI.WebS.ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg)
+        {
+            WebS.WebService1 oWebs = new WebS.WebService1();
+            if (oWebs.set_SaveMoveStockStepOutBill_New(oMain, sHSourceType, ref sErrMsg))
+            {
+                sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo;
+                return true;
+            }
+            else
+            {
+                sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg;
+                return false;
+            }
+
+            
+        }
+
+
         //鍒犻櫎璁板綍
         public bool set_DelPonderationBillMain_Temp_InterIDAndSource(long HInterID, long HMaterID, long HAuxPropID, string HMTONo, long HSourceInterID, long HSourceEntryID, string sHBillType, ref string sErrMsg)
         {
@@ -4485,6 +4505,33 @@
                 return false;
             }
         }
+
+        public bool set_SaveICMOReportBill_Json(WebAPI.WebS.ClsSc_ICMOReportBillMain oMain, string sHSourceType, ref string sErrMsg)
+        {
+            //BLL.ClsKf_POStockInBill bll = new BLL.ClsKf_POStockInBill();
+            //return bll.set_SavePOStockInBill_New(oMain, sHSourceType, ref DBUtility.ClsPub.sExeReturnInfo);
+            WebS.WebService1 oWebs = new WebS.WebService1();
+            if (oWebs.set_SaveICMOReportBill_New(oMain, sHSourceType, ref sErrMsg))
+            {
+                //鍒ゆ柇鏄惁鍙嶅啓鎴愬姛
+                //if (set_UpdateHStatus(oMain.HInterID, oMain.HExplanation.ToString()))
+                //{
+                    sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo;
+                    return true;
+                //}
+                //else
+                //{
+                //    sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo + "鐘舵�佸弽鍐欏け璐ワ紒";
+                //    return true;
+                //}
+            }
+            else
+            {
+                sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg;
+                return false;
+            }
+        }
+
 
         /// <summary>
         /// 鐢熸垚澶栬喘鍏ュ簱鍗昁3
@@ -7770,5 +7817,20 @@
          }
         #endregion
 
+        #region [鑾峰彇鎵撳嵃妯℃澘]
+        /// <summary>
+        /// 鎵撳嵃妯℃澘鍒楄〃
+        /// </summary>
+        /// <param name="sWhere"></param>
+        /// <param name="sErr"></param>
+        /// <returns></returns>
+        public DataSet GetOpenTmpList(string sWhere, ref string sErr)
+        {
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            DataSet ds = new DataSet();
+            ds = oCn.RunProcReturn("select * from h_v_IF_OpenTmpList " + sWhere, "h_v_IF_OpenTmpList");
+            return ds;
+        }
+        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1