update 二次确认物料出库请求接口,过账成功后,将条码状态由StockPending更新为Stocked

This commit is contained in:
18110972313 2025-05-13 16:11:11 +08:00
parent 20d2decb4c
commit 05516ac61c

View File

@ -4,6 +4,7 @@ import com.cim.idm.exception.GlobalException;
import com.cim.idm.framework.IDMFrameServiceProxy; import com.cim.idm.framework.IDMFrameServiceProxy;
import com.cim.idm.framework.data.EventInfo; import com.cim.idm.framework.data.EventInfo;
import com.cim.idm.service.impl.MESServiceImpl; import com.cim.idm.service.impl.MESServiceImpl;
import com.cim.idm.wmsextend.generic.GenericServiceProxy;
import com.cim.idm.wmsextend.generic.errorHandler.CustomException; import com.cim.idm.wmsextend.generic.errorHandler.CustomException;
import com.cim.idm.wmspackage.materialpacking.MaterialPackingServiceProxy; import com.cim.idm.wmspackage.materialpacking.MaterialPackingServiceProxy;
import com.cim.idm.wmspackage.materialpacking.management.data.MaterialPacking; import com.cim.idm.wmspackage.materialpacking.management.data.MaterialPacking;
@ -797,6 +798,7 @@ public void SaveUnDoInfo_ForSap(List<String> list, String undoid, EventInfo mak
hashMap.put("materialQuantity2", 0); hashMap.put("materialQuantity2", 0);
hashMap.put("shipRequestName", ""); hashMap.put("shipRequestName", "");
hashMap.put("shipRequestDetailName", ""); hashMap.put("shipRequestDetailName", "");
hashMap.put("stockState", GenericServiceProxy.getConstantMap().STOCKSTATE_STOCKED);
SetEventInfo setEventInfo = new SetEventInfo(); SetEventInfo setEventInfo = new SetEventInfo();
setEventInfo.setUserColumns(hashMap); setEventInfo.setUserColumns(hashMap);
MaterialPackingServiceProxy.getMaterialPackingService().setEvent(materialPackingKey, makeEventInfo, setEventInfo); MaterialPackingServiceProxy.getMaterialPackingService().setEvent(materialPackingKey, makeEventInfo, setEventInfo);