1
yxj
2021-11-26 7f5fd4b07afcf2f41371829d3f9774b2618d5916
WebAPI/WebServer.cs
@@ -3991,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)
        {
@@ -4487,6 +4506,33 @@
            }
        }
        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>
        /// 生成外购入库单K3
        /// </summary>