[
https://issues.apache.org/jira/browse/OFBIZ-5367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330105#comment-14330105 ]
Divesh Dutta commented on OFBIZ-5367:
-------------------------------------
[~ofbizzer]
Invoice should only be created for items which are issued. I don't get your line "Other items that may have been added on the "Items" or "Shipment Plan" page are excluded so the invoice created is incorrect."
I don't see any thing buggy here. Can you please elaborate your above line? Or give some steps to reproduce the bug and then why do you think its a bug ?
> Incorrect shipment invoicing
> ----------------------------
>
> Key: OFBIZ-5367
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5367> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> 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.3.4#6332)