diff --git a/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml b/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml
index 8bf4adc6..b1f8d0a8 100644
--- a/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml
+++ b/src/WMS.Web.Api/wwwroot/WMS.Web.Core.xml
@@ -685,6 +685,11 @@
收货客户
+
+
+ 对应金蝶单据明细id(销售出库同步金蝶下推使用)
+
+
物料Id
diff --git a/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml b/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml
index 985c6e8e..d7b06fd9 100644
--- a/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml
+++ b/src/WMS.Web.Api/wwwroot/WMS.Web.Domain.xml
@@ -952,6 +952,11 @@
单据头Id
+
+
+ 对应金蝶单据明细id(销售出库同步金蝶下推使用)
+
+
销售订单号
diff --git a/src/WMS.Web.Core/Dto/Erp/OutStock/ErpDeliveryNoticeOutStockResultDto.cs b/src/WMS.Web.Core/Dto/Erp/OutStock/ErpDeliveryNoticeOutStockResultDto.cs
index bbdcecd1..9ea3dfe9 100644
--- a/src/WMS.Web.Core/Dto/Erp/OutStock/ErpDeliveryNoticeOutStockResultDto.cs
+++ b/src/WMS.Web.Core/Dto/Erp/OutStock/ErpDeliveryNoticeOutStockResultDto.cs
@@ -26,6 +26,10 @@ namespace WMS.Web.Core.Dto.Erp.OutStock
///
public int ReceiptCustomerId { get; set; }
///
+ /// 对应金蝶单据明细id(销售出库同步金蝶下推使用)
+ ///
+ public int Erp_DetailId { get; set; } = 0;
+ ///
/// 物料Id
///
public int MaterialId { get; set; }
diff --git a/src/WMS.Web.Domain/Entitys/OutStockTaskDetails.cs b/src/WMS.Web.Domain/Entitys/OutStockTaskDetails.cs
index e7009944..6dca3b95 100644
--- a/src/WMS.Web.Domain/Entitys/OutStockTaskDetails.cs
+++ b/src/WMS.Web.Domain/Entitys/OutStockTaskDetails.cs
@@ -27,6 +27,11 @@ namespace WMS.Web.Domain.Entitys
[Column("Fid")]
public int Fid { get; set; }
///
+ /// 对应金蝶单据明细id(销售出库同步金蝶下推使用)
+ ///
+ [Column("Erp_DetailId")]
+ public int Erp_DetailId { get; set; }
+ ///
/// 销售订单号
///
[Column("SaleBillNo")]
diff --git a/src/WMS.Web.Domain/Services/Public/ErpService.cs b/src/WMS.Web.Domain/Services/Public/ErpService.cs
index 64b2d098..66e88bde 100644
--- a/src/WMS.Web.Domain/Services/Public/ErpService.cs
+++ b/src/WMS.Web.Domain/Services/Public/ErpService.cs
@@ -855,6 +855,7 @@ namespace WMS.Web.Domain.Services.Public
lis.Remark = item[8];
lis.CreateTime = Convert.ToDateTime(item[9]);
lis.Type = (int)OutStockType.Sal;
+ lis.Erp_DetailId = Convert.ToInt32(item[10]);
erp_list.Add(lis);
}
return ResultList.ReSuccess(erp_list);