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;