优化金蝶同步代码

This commit is contained in:
tongfei
2024-03-04 15:45:16 +08:00
parent 7aa23230d1
commit 4570b2080a
6 changed files with 27 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ namespace WMS.Web.Domain.Options
/// erp-Id
/// </summary>
public string ErpId { get; set; }
public readonly string cache_materail_all_key = "erp_materials_list_all";
public readonly string cache_materail_key = "erp_materials_list";
public readonly string cache_org_key = "erp_org_list";
public readonly string cache_supplier_key = "erp_supplier_list";

View File

@@ -760,7 +760,8 @@ namespace WMS.Web.Domain.Services
RuleId = "PUR_PurchaseOrder-STK_InStock",//转换规则内码 采购订单下推采购入库单
FormId = FormIdParam.PUR_PurchaseOrder.ToString(),
TargetFormId = FormIdParam.STK_InStock.ToString(),
DetailsId = s.ErpDetailId.ToString()
DetailsId = s.ErpDetailId.ToString(),
IsDraftWhenSaveFail=true
};
//下推金蝶
var res = await this.Push(erpDto, s, entity.BillNo, scope);