change - ERP其他出库单接口加仓位维度

master
yinq 1 month ago
parent d393650adc
commit 13f1ec07c9

@ -497,6 +497,11 @@ public class KingdeeErpService {
JSONObject FAuxPropIdObject = new JSONObject();
FAuxPropIdObject.put("FAUXPROPID__FF100001", FAuxPropId);
FEntity.put("FAuxPropId", FAuxPropIdObject); //辅助属性
JSONObject FNumberObject = new JSONObject();
FNumberObject.put("FNumber", "001");
JSONObject FStockLocIdObject = new JSONObject();
FStockLocIdObject.put("FSTOCKLOCID__FF100002", FNumberObject);
FEntity.put("FStockLocId", FStockLocIdObject);//仓位维度
ArrayList<JSONObject> entityList = new ArrayList<>();
entityList.add(FEntity);
@ -512,7 +517,7 @@ public class KingdeeErpService {
model.put("FOwnerIdHead", KingdeeConfig.getFApplicationOrgId()); //货主(必填项)
JSONObject FDeptIdObject = new JSONObject();
FDeptIdObject.put("FNumber", "BM000001");
FDeptIdObject.put("FNumber", "JY000042");
model.put("FDeptId", FDeptIdObject); //部门
model.put("F_TOND_Combo", FTONDCombo); //领料类型(必填项)
data.put("Model", model);

Loading…
Cancel
Save