Uploaded image for project: 'iDempiere'
  1. IDEMPIERE-3886

Validate change of Attribute set instance on order lines when the qty reserved > 0


    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:


      Currently the system is letting the user change the attribute set instance after the order is prepared, which creates a qty reservation that is not linked to any document.

      Steps to reproduce:

      1. Create an order
      2. Create an order line with a product with ASI and set an existing instance
      3. Prepare the order
      4. You see a reservation in storage detail with the qty set in the order line
      5. Go back to the order line and update the instance field selecting a different one
      6. Complete the order
      7. Create a Shipment for that order line
      8. Observe in Storage Detail that the records created in #2 are still present.

      The solution is to extend the existing validation that does not allow to update the product or delete an order line when qtyReserved > 0, to not allow the change of the ASI value.


          Issue links



              • Assignee:
                d_ruiz Diego Ruiz
                d_ruiz Diego Ruiz
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: