| | |
| | | //生成移库工作档 |
| | | AgvWrkMast wrkMast = createWrkMast(11, 21L, sourceLocNo, targetLocNo, sourceLocDetl.getSuppCode(), now, userId,getContainerTypeByloc(sourceLocNo)); |
| | | //生成工作党明细 |
| | | createWrkDetlReWrite(sourceLocDetl.getMatnr(),wrkMast.getWrkNo(),null,sourceLocDetl.getBatch(),sourceLocDetl.getAnfme(),sourceLocDetl.getZpallet(),now,userId,sourceLocDetl.getThreeCode(),sourceLocDetl.getDeadTime()); |
| | | createWrkDetlReWrite( |
| | | sourceLocDetl.getMatnr(), |
| | | wrkMast.getWrkNo(), |
| | | null, |
| | | sourceLocDetl.getBatch(), |
| | | sourceLocDetl.getAnfme(), |
| | | sourceLocDetl.getZpallet(), |
| | | now, |
| | | userId, |
| | | sourceLocDetl.getThreeCode(), |
| | | sourceLocDetl.getDeadTime(), |
| | | sourceLocDetl.getProcessSts() |
| | | ); |
| | | //修改目标库位状态 |
| | | updateAgvLocMast(targetLocMast,"S"); |
| | | //修改原库位状态 |
| | |
| | | |
| | | od.setLength(odParam.getINum()); |
| | | |
| | | od.setSource(order.getDocType().intValue()); |
| | | od.setStatus(1); |
| | | od.setQty(0.0D); |
| | | od.setCreateBy(9999L); |