diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsRawmatOutstockH.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsRawmatOutstockH.cs index 6b3ccedd..adaf2acd 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsRawmatOutstockH.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsRawmatOutstockH.cs @@ -97,5 +97,11 @@ public partial class WmsRawmatOutstockH : BaseEntity /// erp成本域 /// public string? erp_org_costregion { get; set; } = "1001A1100000001MNB3H"; + + /// + /// erp研发项目id + /// + public string? erp_project_id { get; set; } + } diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatOutstockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatOutstockService.cs index 0670ea75..b7f82f05 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatOutstockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatOutstockService.cs @@ -157,6 +157,7 @@ namespace Tnb.WarehouseMgr erpRequestData.Add("vbillcode", wmsRawmatOutstockH.bill_code); erpRequestData.Add("vtrantypecode", wmsRawmatOutstockH.outstock_type); erpRequestData.Add("vdef20", true); + erpRequestData.Add("vdef4", wmsRawmatOutstockH.erp_project_id); List> erpRequestDataDetails = new List>(); foreach(var item in wmsCarryCodes)