de.metas.document.exceptions.DocumentProcessingException: Error Processing Document document: Lieferschein xxxxxx Belegverarbeitung: CO ProcessMsg: null Cause: Der Datensatz kann nicht gelöscht werden, bitte de-aktivieren: X_M_PickingSlot_HU[M_PickingSlot_HU_ID=1136674, trxName=GenerateInOutFromShipmentSchedules_9fa9e14c-9138-4e79-b982-45f9533b2ab1]+; SQL update returned no=0; SQL=(DELETE FROM M_PickingSlot_HU WHERE M_PickingSlot_HU_ID=1136674) (AdempiereException)

GitHub | metas-ts | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    M_PickingSlot_HU error when creating shipments from shipment schedule

    GitHub | 10 months ago | metas-ts
    de.metas.document.exceptions.DocumentProcessingException: Error Processing Document document: Lieferschein xxxxxx Belegverarbeitung: CO ProcessMsg: null Cause: Der Datensatz kann nicht gelöscht werden, bitte de-aktivieren: X_M_PickingSlot_HU[M_PickingSlot_HU_ID=1136674, trxName=GenerateInOutFromShipmentSchedules_9fa9e14c-9138-4e79-b982-45f9533b2ab1]+; SQL update returned no=0; SQL=(DELETE FROM M_PickingSlot_HU WHERE M_PickingSlot_HU_ID=1136674) (AdempiereException)

    Root Cause Analysis

    1. org.adempiere.exceptions.AdempiereException

      Der Datensatz kann nicht gelöscht werden, bitte de-aktivieren: X_M_PickingSlot_HU[M_PickingSlot_HU_ID=1136674, trxName=GenerateInOutFromShipmentSchedules_9fa9e14c-9138-4e79-b982-45f9533b2ab1]+; SQL update returned no=0; SQL=(DELETE FROM M_PickingSlot_HU WHERE M_PickingSlot_HU_ID=1136674)

      at org.compiere.model.PO.delete0()
    2. org.compiere.model
      PO$3.run
      1. org.compiere.model.PO.delete0(PO.java:3871)
      2. org.compiere.model.PO.access$400(PO.java:129)
      3. org.compiere.model.PO$3.run(PO.java:3760)
      3 frames
    3. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run0(AbstractTrxManager.java:656)
      2. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:569)
      3. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:476)
      4. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:420)
      4 frames
    4. org.compiere.model
      PO.deleteEx
      1. org.compiere.model.PO.deleteEx(PO.java:3753)
      1 frame
    5. org.adempiere.model
      InterfaceWrapperHelper.delete
      1. org.adempiere.model.POWrapper.delete(POWrapper.java:801)
      2. org.adempiere.model.InterfaceWrapperHelper.delete(InterfaceWrapperHelper.java:723)
      2 frames
    6. de.metas.handlingunits
      M_InOut.emptyPickingSlots
      1. de.metas.handlingunits.impl.HUPickingSlotBL.removeFromPickingSlotQueue(HUPickingSlotBL.java:383)
      2. de.metas.handlingunits.impl.HUPickingSlotBL.removeFromPickingSlotQueue(HUPickingSlotBL.java:408)
      3. de.metas.handlingunits.impl.HUPickingSlotBL$4.afterHU(HUPickingSlotBL.java:439)
      4. de.metas.handlingunits.impl.AbstractHUIterator$HUNodeIterator.afterIterate(AbstractHUIterator.java:518)
      5. de.metas.handlingunits.impl.AbstractHUIterator$HUNodeIterator.afterIterate(AbstractHUIterator.java:501)
      6. de.metas.handlingunits.impl.AbstractHUIterator$AbstractNodeIterator.iterate(AbstractHUIterator.java:400)
      7. de.metas.handlingunits.impl.HUIterator.iterate(HUIterator.java:90)
      8. de.metas.handlingunits.impl.HUIterator.iterate(HUIterator.java:76)
      9. de.metas.handlingunits.impl.HUPickingSlotBL.removeFromPickingSlotQueueRecursivelly(HUPickingSlotBL.java:443)
      10. de.metas.handlingunits.model.validator.M_InOut.emptyPickingSlots(M_InOut.java:137)
      10 frames
    7. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor421.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2 frames
    8. reflect
      Method.invoke
      1. reflect.Method.invoke(Method.java:606)
      1 frame
    9. org.adempiere.ad
      ModelInterceptor2ModelValidatorWrapper.docValidate
      1. org.adempiere.ad.modelvalidator.AnnotatedModelInterceptor.executeNow(AnnotatedModelInterceptor.java:559)
      2. org.adempiere.ad.modelvalidator.AnnotatedModelInterceptor.execute(AnnotatedModelInterceptor.java:503)
      3. org.adempiere.ad.modelvalidator.AnnotatedModelInterceptor.execute(AnnotatedModelInterceptor.java:458)
      4. org.adempiere.ad.modelvalidator.AnnotatedModelInterceptor.onDocValidate(AnnotatedModelInterceptor.java:443)
      5. org.adempiere.ad.modelvalidator.ModelInterceptor2ModelValidatorWrapper.docValidate(ModelInterceptor2ModelValidatorWrapper.java:132)
      5 frames
    10. org.compiere.model
      ModelValidationEngine$2.run
      1. org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:1108)
      2. org.compiere.model.ModelValidationEngine.fireDocValidate0(ModelValidationEngine.java:1078)
      3. org.compiere.model.ModelValidationEngine.access$100(ModelValidationEngine.java:89)
      4. org.compiere.model.ModelValidationEngine$3.run(ModelValidationEngine.java:1062)
      5. org.compiere.model.ModelValidationEngine$2.run(ModelValidationEngine.java:744)
      5 frames
    11. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run0(AbstractTrxManager.java:656)
      2. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:569)
      2 frames
    12. org.compiere.model
      MInOut.completeIt
      1. org.compiere.model.ModelValidationEngine.executeInTrx(ModelValidationEngine.java:738)
      2. org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:1057)
      3. org.compiere.model.MInOut.completeIt(MInOut.java:1733)
      3 frames
    13. org.compiere.process
      DocumentEngine.processIt
      1. org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:523)
      2. org.compiere.process.DocumentEngine.processIt0(DocumentEngine.java:336)
      3. org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:296)
      4. org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:264)
      4 frames
    14. de.metas.document
      AbstractDocActionBL.processIt
      1. de.metas.document.engine.impl.AbstractDocActionBL.processIt(AbstractDocActionBL.java:68)
      1 frame
    15. org.compiere.model
      MInOut.processIt
      1. org.compiere.model.MInOut.processIt(MInOut.java:1174)
      1 frame
    16. de.metas.document
      AbstractDocActionBL$1.run
      1. de.metas.document.engine.impl.AbstractDocActionBL.processIt0(AbstractDocActionBL.java:135)
      2. de.metas.document.engine.impl.AbstractDocActionBL$1.run(AbstractDocActionBL.java:94)
      2 frames
    17. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run0(AbstractTrxManager.java:656)
      2. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:569)
      3. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:476)
      4. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:420)
      4 frames
    18. de.metas.document
      AbstractDocActionBL.processEx
      1. de.metas.document.engine.impl.AbstractDocActionBL.processIt(AbstractDocActionBL.java:87)
      2. de.metas.document.engine.impl.AbstractDocActionBL.processEx(AbstractDocActionBL.java:144)
      2 frames
    19. de.metas.handlingunits
      InOutProducerFromShipmentScheduleWithHU.completeChunk
      1. de.metas.handlingunits.shipmentschedule.spi.impl.InOutProducerFromShipmentScheduleWithHU.completeChunk(InOutProducerFromShipmentScheduleWithHU.java:346)
      1 frame
    20. org.adempiere.ad
      TrxItemChunkProcessorExecutor.execute
      1. org.adempiere.ad.trx.processor.api.impl.TrxItemChunkProcessorExecutor.completeChunk(TrxItemChunkProcessorExecutor.java:289)
      2. org.adempiere.ad.trx.processor.api.impl.TrxItemChunkProcessorExecutor.execute(TrxItemChunkProcessorExecutor.java:154)
      2 frames
    21. de.metas.handlingunits
      GenerateInOutFromShipmentSchedules.processWorkPackage
      1. de.metas.handlingunits.shipmentschedule.async.GenerateInOutFromHU.generateInOuts(GenerateInOutFromHU.java:192)
      2. de.metas.handlingunits.shipmentschedule.async.GenerateInOutFromShipmentSchedules.processWorkPackage(GenerateInOutFromShipmentSchedules.java:152)
      2 frames
    22. de.metas.async
      WorkpackageProcessorTask$1.run
      1. de.metas.async.processor.impl.WorkpackageProcessorTask.processWorkpackage(WorkpackageProcessorTask.java:268)
      2. de.metas.async.processor.impl.WorkpackageProcessorTask.access$000(WorkpackageProcessorTask.java:78)
      3. de.metas.async.processor.impl.WorkpackageProcessorTask$1.run(WorkpackageProcessorTask.java:156)
      3 frames
    23. org.compiere.util
      TrxRunnable2Wrapper.run
      1. org.compiere.util.TrxRunnable2Wrapper.run(TrxRunnable2Wrapper.java:68)
      1 frame
    24. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run0(AbstractTrxManager.java:656)
      2. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:569)
      2 frames
    25. de.metas.async
      WorkpackageProcessorTask.run
      1. de.metas.async.processor.impl.WorkpackageProcessorTask.run(WorkpackageProcessorTask.java:146)
      1 frame
    26. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4 frames
    27. Unknown
      Thread.run
      1. Thread.run(Thread.java:745)
      1 frame