生产报工传送SAP时使用SAP的物料

This commit is contained in:
彭枝刚 2024-11-25 13:49:09 +08:00
parent b56042a9ac
commit b7b8171386

View File

@ -278,7 +278,7 @@ public class ShopOrderStatisticTransController {
JSONObject jsonObject = new JSONObject();
site = consumptionTransaction.getSite();
jsonObject.put("ZEILE", ""); // 物料凭证中的项目
jsonObject.put("MATNR", consumptionTransaction.getComponentItem()); // 物料编号
jsonObject.put("MATNR", consumptionTransaction.getErpItem()); // 物料编号
jsonObject.put("MATKL", ""); // 物料组
jsonObject.put("WERKS", site); // 工厂
jsonObject.put("LGORT", consumptionTransaction.getErpInventory()); // 存储地点
@ -410,7 +410,7 @@ public class ShopOrderStatisticTransController {
JSONObject jsonObject = new JSONObject();
site = completeTransaction.getSite();
jsonObject.put("ZEILE", completeTransaction.getMaterialLot()); // 物料凭证中的项目
jsonObject.put("MATNR", completeTransaction.getItem()); // 物料编号
jsonObject.put("MATNR", completeTransaction.getErpItem()); // 物料编号
jsonObject.put("MATKL", ""); // 物料组
jsonObject.put("WERKS", site); // 工厂
jsonObject.put("LGORT", completeTransaction.getErpInventory()); // 存储地点