From c9e1e9f6249569585212d9ca2ab82148eec82322 Mon Sep 17 00:00:00 2001 From: lilili Date: Thu, 29 Jun 2023 10:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs b/WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs index 9ece31f..d791195 100644 --- a/WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs +++ b/WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs @@ -866,7 +866,7 @@ namespace NFine.Application.WMS decimal quantity = dr["Quantity"].ToDecimal(); string sequence = dr["SAPSequence"].ToString(); string batchCode = dr["BatchCode"].ToString(); - decimal dnQuantity = dr["IssueNegQuantity"].ToDecimal(); + decimal dnQuantity = dr["IssueNegQuantity"].ToDecimal()==0?0: dr["IssueNegQuantity"].ToDecimal(); SAPCallBackDocVPNCS.ZWMS_PZ Item = new SAPCallBackDocVPNCS.ZWMS_PZ(); SAPCallBackDocVPNCS.ZWEBS_GERNR ItemLine = new SAPCallBackDocVPNCS.ZWEBS_GERNR(); Item.DANJU = dnCode;