update 修改SAP物料冲销接口,异常返回信息

This commit is contained in:
18110972313 2025-05-22 10:08:46 +08:00
parent c9f2456438
commit 7d9b117dff

View File

@ -224,7 +224,7 @@ public class MaterialPackingServiceServiceImpl implements IMaterialPackingServic
break;
}
if (queryMaterialpackingList.isEmpty()){
throw new Exception("冲销失败,物料:" + matnr + " " + werks + " " + lgort + " " + meins + "库存短缺");
throw new Exception("冲销失败,没有匹配该物料凭证" + mblnr + "的消耗记录无法冲销");
}else {
MaterialPackingServiceProxy.getMaterialPackingService().setEvent(materialPackingKeyList, eventInfo, setEventInfoList);
}