From b097dfc5a8879c198f4f2f9c32b28cfe4c7fc829 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期日, 02 一月 2022 19:16:40 +0800 Subject: [PATCH] 新增了单据里面删除按钮方法 --- DAL/WMS/ClsKF_PonderationBillMain_Temp_Ctl.cs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/DAL/WMS/ClsKF_PonderationBillMain_Temp_Ctl.cs b/DAL/WMS/ClsKF_PonderationBillMain_Temp_Ctl.cs index 938647e..433fb22 100644 --- a/DAL/WMS/ClsKF_PonderationBillMain_Temp_Ctl.cs +++ b/DAL/WMS/ClsKF_PonderationBillMain_Temp_Ctl.cs @@ -1045,6 +1045,20 @@ } } + //鍒犻櫎鍗曟嵁淇℃伅 + public bool DeleteBill(Int64 sHInterID,string HBillNo,string HBillType,string HBarCode) + { + try + { + oCn.RunProc("Delete from " + MvarItemKey + " where HInterID=" + sHInterID.ToString() + " and HBillNo='" + HBillNo.ToString() + "'and HBillType='" + HBillType + "'and HBarCode='" + HBarCode + "'", ref DBUtility.ClsPub.sExeReturnInfo); + return true; + } + catch (Exception e) + { + throw (e); + } + } + //鏂板 public bool AddNew_sQty_FIFO(string sQty, ref string sReturn) { -- Gitblit v1.9.1