You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org> on 2009/06/17 13:14:07 UTC

[jira] Closed: (OFBIZ-2620) Bug in InvoiceServices.createInvoicesFromShipments service

     [ https://issues.apache.org/jira/browse/OFBIZ-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-2620.
--------------------------------------

    Resolution: Fixed

Done at 785557 & 785558.
Thanks Mridul.

--
Ashish Vijaywargiya




> Bug in InvoiceServices.createInvoicesFromShipments service
> ----------------------------------------------------------
>
>                 Key: OFBIZ-2620
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2620
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Mridul Pathak
>            Assignee: Ashish Vijaywargiya
>            Priority: Minor
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBiz-2620.patch
>
>
> On line 1235 of InvoiceServices.java *billItems* list is iterated.  This list of GenericValue may contain *OrderItem* or *ShipmentReceipt* object.  On line 1297, quantity is being set for the GenericValue record and is updated.  Here, if the GenericValue record is of ShipmentReceipt, code tries to set *ShipmentReceipt.quantity* (wrong entity attribute) instead of *ShipmentReceipt.quantityAccepted* (right entity attribute), which gives error in certain scenarios.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.