Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

generate invoice uses a closed shipment

Bart
2009-01-27
2013-05-02
  • Bart
    Bart
    2009-01-27

    We have 2 or 3 orders with a strange occurrence.
    For instance:
    There was a shipping doc that was voided 500138
    This created a new shipment 500139 with status closed
    so far so good
    Then a new shipment was created 500140
    When we generate the invoice, it generates from BOTH 500139 and 500140

    Why does it allow a closed shipment to be invoiced?

    ver 2.5.2d

    Thx
    Bart

     
    • Bart
      Bart
      2009-02-11

      Hi all
      I am just giving myself a bump, to see if anyone can answer this question. Does it require a better explanation?

       
    • Kathy Pink
      Kathy Pink
      2009-02-11

      the process should exclude voided or reversed documents not closed ones (if they have not been invoiced) perhaps the issue is that the shipment created by the reversal (39) has the wrong status (should be void or reversed)
      Sounds fairly familar as an old bug.

       
    • Bart
      Bart
      2009-02-11

      Hi all
      I am just giving myself a bump, to see if anyone can answer this question. Does it require a better explanation?

       
    • Bart
      Bart
      2009-02-11

      Thanks Kathy!
      You say "reversed" but this is not my experience. did you mean  Closed?
      I my experience w Compiere, voiding a shipment or invoice has this effect:
      The voided doc has status set to Voided           500138
      The voiding process creates a new doc with status Closed    500139
      The docs reference each other in the Description field
      Shipment doc 500138 with status Voided, Description field: (500139<-)
      Shipment doc 500139 with status Closed, Description field: {->500138)

      We created a new shipment 500140, we certainly don't want to invoice anything other than the items in 500140.

      The strange thing is that Compiere included the items from the closed shipment without asking. From Generate Invoice window, we only selected 500140. The closed 500139 was not even visible in the window.

      Are you saying this is a bug in 2.5.2d?

      Bart

       
    • Kathy Pink
      Kathy Pink
      2009-02-12

      sounds like it.  As the reversal created should have a doc status of Reversed.
      try upgrading to a current release