diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsInStockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsInStockService.cs index e412048b..febc7e39 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsInStockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsInStockService.cs @@ -415,6 +415,8 @@ namespace Tnb.WarehouseMgr ["vsourcebillcode"] = wmsPurchaseH?.bill_code ?? "", ["lineno"] = wmsPurchaseOrderDs?.lineno ?? "", ["vfree1"] = erpExtendFields.Find(x => x.table_id == supplierId)?.supplier_id ?? "", + ["bpresent"] = wmsPurchaseD.gift==1, + ["ntaxprice"] = wmsPurchaseD.price, }); } diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs index 262e4909..e8f6b111 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs @@ -231,6 +231,7 @@ namespace Tnb.WarehouseMgr ["vbatchcode"] = item.code_batch, ["Vfree1"] = item.code_batch, ["mes_detail_id"] = item.id, + ["bpresent"] = item.gift==1, }); } erpRequestData.Add("dtls",erpRequestDataDetails);