采购收货传送SAP的行而非我们自己的行

This commit is contained in:
彭枝刚 2024-11-28 15:20:44 +08:00
parent 8686d9f088
commit 18948f6af2

View File

@ -144,7 +144,7 @@ public class RegisterDocumentServiceImpl implements RegisterDocumentService {
JSONArray itemList = new JSONArray();
for (DocumentDetailed detail : newDocumentList) {
JSONObject jsonObject = new JSONObject();
jsonObject.put("ZEILE", detail.getSeq()); // 物料凭证中的项目
jsonObject.put("ZEILE", detail.getExternalSeq()); // 物料凭证中的项目
jsonObject.put("MATNR", detail.getMatnr()); // 物料编号
jsonObject.put("MATKL", ""); // 物料组
jsonObject.put("WERKS", site); // 工厂