|
|
|
@ -120,7 +120,8 @@ public class SapOrderServiceImpl implements SapOrderService {
|
|
|
|
|
String ERNAM = maraTable.getString("ERNAM");
|
|
|
|
|
String ERDAT = maraTable.getString("ERDAT");
|
|
|
|
|
String STTXT = maraTable.getString("STTXT");
|
|
|
|
|
log.info("订单输出------:"+"订单号:" + AUFNR + " - 订单类型:" + AUART + " - 上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
|
String VERID = maraTable.getString("VERID");
|
|
|
|
|
log.info("订单输出------:"+"订单号:" + AUFNR + " - 订单类型:" + AUART + "-生产版本:"+ VERID +" -上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
|
+ " - 订单的计划工厂:" + PWERK + " - 订单数量总计:" + GAMNG + " - 基本计量单位:" + GMEIN + " - 任务清单组码:" + PLNNR + " - 基本开始日期:" + GSTRP
|
|
|
|
|
+ " - 基本完成日期:" + GLTRP + " - 输入者:" + ERNAM + " - 创建日期:" + ERDAT + " - 系统状态:" + STTXT);
|
|
|
|
|
// System.out.println("订单号:" + AUFNR + " - 订单类型:" + AUART + " - 上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
@ -131,6 +132,7 @@ public class SapOrderServiceImpl implements SapOrderService {
|
|
|
|
|
proOrder.setPlanFactoryCode(PWERK);
|
|
|
|
|
proOrder.setOrderCode(AUFNR);
|
|
|
|
|
proOrder.setOrderType(AUART);
|
|
|
|
|
proOrder.setAtrr2(VERID);
|
|
|
|
|
proOrder.setProdCode(PLNBEZ);
|
|
|
|
|
proOrder.setProdDesc(MAKTX);
|
|
|
|
|
proOrder.setQuantity(Long.parseLong(GAMNG.substring(0, GAMNG.indexOf("."))));
|
|
|
|
|