Christian Carlow created OFBIZ-5367:
---------------------------------------

             Summary: Incorrect shipment invoicing
                 Key: OFBIZ-5367
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5367
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Release Branch 12.04
            Reporter: Christian Carlow


The auto-invoicing functionality that is triggered when a shipment statusId is 
changed to Pick or Pack only invoices shipment items that have been issued to 
the shipment.  Other items that may have been added on the "Items" or "Shipment 
Plan" page are excluded so the invoice created is incorrect.

The problem is caused by the chain of functions performed when the 
"createInvoicesFromShipments" service is called when the shipment statusId is 
changed.  The service only handles itemIssuance records when creating invoice 
items.  It probably needs to handle OrderShipment records also.

Also, the Accounting Invoice application also lacks a form for adding such data 
manually.  It doesn't allow OrderShipment or ItemIssuances to be manually 
associated with Invoice Items which is done automatically for the shipment 
items associated with itemIssuances.  I created this Improvement issue to 
handle these features that need to be added: 
https://issues.apache.org/jira/browse/OFBIZ-5353




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to