金蝶同步 发货通知单变更为销售出库

This commit is contained in:
18942506660
2024-03-05 14:01:51 +08:00
parent 9a19089a9c
commit c46a0f2635
7 changed files with 157 additions and 30 deletions

View File

@@ -206,13 +206,13 @@ namespace WMS.Web.Domain.Services
if (!res_Rollback.IsSuccess) return res_Rollback;
if (!isSuccess)
return Result.ReFailure(ResultCodes.DateWriteError);
if (entity.Type == OutStockType.Sal)
{
OperateRequest oRequest = new OperateRequest();
oRequest.Ids.Add(entity.Id);
await Sync(oRequest, loginInfo, false);
}
//取消同步金蝶
//if (entity.Type == OutStockType.Sal)
//{
// OperateRequest oRequest = new OperateRequest();
// oRequest.Ids.Add(entity.Id);
// await Sync(oRequest, loginInfo, false);
//}
return Result.ReSuccess();
}