生产报工传送SAP时使用SAP的物料
This commit is contained in:
parent
b56042a9ac
commit
b7b8171386
@ -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()); // 存储地点
|
||||
|
||||
Loading…
Reference in New Issue
Block a user