Compare commits
2 Commits
1b730f657f
...
ff6484dcae
Author | SHA1 | Date | |
---|---|---|---|
ff6484dcae | |||
016af18df6 |
@ -188,6 +188,17 @@ public class MaterialShipRequestDetail extends FieldAccessor implements DataInfo
|
|||||||
@UserColumnMark
|
@UserColumnMark
|
||||||
private String erpFactory;
|
private String erpFactory;
|
||||||
|
|
||||||
|
public String getAuart() {
|
||||||
|
return auart;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAuart(String auart) {
|
||||||
|
this.auart = auart;
|
||||||
|
}
|
||||||
|
|
||||||
|
@UserColumnMark
|
||||||
|
private String auart;
|
||||||
|
|
||||||
public String getSaleOutQuantity() {
|
public String getSaleOutQuantity() {
|
||||||
return saleOutQuantity;
|
return saleOutQuantity;
|
||||||
}
|
}
|
||||||
|
@ -253,12 +253,12 @@ public class NoChargeStockIn {
|
|||||||
for (MaterialReceiveRequest request : requests) {
|
for (MaterialReceiveRequest request : requests) {
|
||||||
String billcode = null;
|
String billcode = null;
|
||||||
// 采购订单
|
// 采购订单
|
||||||
if (ReceiveTypeEnums.isPurchase(request.getReceiveRequestType())) {
|
// if (ReceiveTypeEnums.isPurchase(request.getReceiveRequestType())) {
|
||||||
Map<String,Object> args = new HashMap<>();
|
Map<String,Object> args = new HashMap<>();
|
||||||
billcode = toSAPServiceImpl.PurStockIn(request.getReceiveRequestName(), siteName, user, args,commitDate);
|
billcode = toSAPServiceImpl.PurStockIn(request.getReceiveRequestName(), siteName, user, args,commitDate);
|
||||||
}else {
|
// }else {
|
||||||
billcode = toSAPServiceImpl.SaleReturn(request.getReceiveRequestName(), siteName, user, commitDate, opCode);
|
// billcode = toSAPServiceImpl.SaleReturn(request.getReceiveRequestName(), siteName, user, commitDate, opCode);
|
||||||
}
|
// }
|
||||||
// @TODO 其他类型
|
// @TODO 其他类型
|
||||||
if (billcode == null || "".equals(billcode)) {
|
if (billcode == null || "".equals(billcode)) {
|
||||||
return AjaxResult.me().setErrorCode(500).setSuccess(false).setMessage("SAP过账失败");
|
return AjaxResult.me().setErrorCode(500).setSuccess(false).setMessage("SAP过账失败");
|
||||||
|
@ -472,7 +472,7 @@ public class QMSController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if ("1".equals(tpType) || "2".equals(tpType) || "3".equals(tpType) || "4".equals(tpType) || "5".equals(tpType) || "7".equals(tpType)) {//料号+批次
|
} else if ("1".equals(tpType) || "2".equals(tpType) || "3".equals(tpType) || "4".equals(tpType) || "5".equals(tpType) || "7".equals(tpType)) {//料号+批次
|
||||||
String kcsql = "SELECT M.SITENAME ,M.MATERIALPACKINGNAME FROM MATERIALPACKING M "
|
String kcsql = "SELECT M.SITENAME ,M.MATERIALPACKINGNAME,M.OQARESULT FROM MATERIALPACKING M "
|
||||||
+ "WHERE M.CHARGE = :BATCH AND M.MATERIALSPECNAME = :MATERIALSPECNAME";
|
+ "WHERE M.CHARGE = :BATCH AND M.MATERIALSPECNAME = :MATERIALSPECNAME";
|
||||||
Map<String, Object> hashMap = new HashMap<String,Object> ();
|
Map<String, Object> hashMap = new HashMap<String,Object> ();
|
||||||
hashMap.put("BATCH", commonNumber);
|
hashMap.put("BATCH", commonNumber);
|
||||||
|
@ -1291,6 +1291,7 @@ public class SAPToWMSController {
|
|||||||
String ummat = MapUtils.getString(item, "UMMAT"); // 形态转换->目标物料类型
|
String ummat = MapUtils.getString(item, "UMMAT"); // 形态转换->目标物料类型
|
||||||
|
|
||||||
String xloek= MapUtils.getString(item, "xloek"); // 删除标识
|
String xloek= MapUtils.getString(item, "xloek"); // 删除标识
|
||||||
|
String auart= MapUtils.getString(item, "AUART"); // 接收生产订单类型 返工ZP05 复卷ZP01
|
||||||
|
|
||||||
|
|
||||||
MaterialShipRequestDetail mrd =new MaterialShipRequestDetail();
|
MaterialShipRequestDetail mrd =new MaterialShipRequestDetail();
|
||||||
@ -1401,6 +1402,8 @@ public class SAPToWMSController {
|
|||||||
bindMapItem.put("goalMaterialSpec", ummat);
|
bindMapItem.put("goalMaterialSpec", ummat);
|
||||||
bindMapItem.put("phase", phase);
|
bindMapItem.put("phase", phase);
|
||||||
bindMapItem.put("saleOutQuantity", 0);
|
bindMapItem.put("saleOutQuantity", 0);
|
||||||
|
bindMapItem.put("auart", auart);
|
||||||
|
|
||||||
|
|
||||||
if("07".equals(shipRequestType) || "03".equals(shipRequestType)) {
|
if("07".equals(shipRequestType) || "03".equals(shipRequestType)) {
|
||||||
bindMapItem.put("receiveRequestDetailType", shipRequestType); // 原单号
|
bindMapItem.put("receiveRequestDetailType", shipRequestType); // 原单号
|
||||||
@ -1482,6 +1485,7 @@ public class SAPToWMSController {
|
|||||||
bindMapItem.put("goalMaterialSpec", ummat);
|
bindMapItem.put("goalMaterialSpec", ummat);
|
||||||
bindMapItem.put("phase", phase);
|
bindMapItem.put("phase", phase);
|
||||||
bindMapItem.put("saleOutQuantity", 0);
|
bindMapItem.put("saleOutQuantity", 0);
|
||||||
|
bindMapItem.put("auart", auart);
|
||||||
|
|
||||||
nonPrimaryKeyValueInfo.setUserColumns(bindMapItem);
|
nonPrimaryKeyValueInfo.setUserColumns(bindMapItem);
|
||||||
EventInfo eventInfo = new EventInfo();
|
EventInfo eventInfo = new EventInfo();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user