You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rashko Rejmer (JIRA)" <ji...@apache.org> on 2007/08/31 22:01:23 UTC

[jira] Updated: (OFBIZ-1222) Improvements while creating invoice for order

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

Rashko Rejmer updated OFBIZ-1222:
---------------------------------

    Attachment: InvoiceServices.patch

> Improvements while creating invoice for order
> ---------------------------------------------
>
>                 Key: OFBIZ-1222
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1222
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>            Reporter: Rashko Rejmer
>            Priority: Minor
>         Attachments: InvoiceServices.patch
>
>
> I have made patch that adds 2 improvements to the InvoiceServices.createInvoiceForOrder service:
>   - this method doesn't checks if the billItems Map contains already invoiced items. This is not visible through the UI. In all places where this service is invoked they are passed not invoiced order items. This improvement will prevent double invoicing if only part of one order item was invoiced and we try to invoice the second part(e.g if we bought 5 x GZ-1000 products and we invoice only 2 of them, then we try to invoice the rest - 3);
>   - now quantities of rental order items are calculated correctly. If one order items rents fixed asset for 2 days the quantity of the invoice item should be multiplied by 2. The same is valid for adjustment quantities for additional charges for second and n-th person;
>   - some cleanups - variables that are not used any more;

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