[
https://issues.apache.org/jira/browse/OFBIZ-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915595#comment-13915595 ]
Nicolas Malin commented on OFBIZ-4848:
--------------------------------------
Hi Robert,
This patch it's really easier, just call copyInvoice service and change the invoice type to create a quick refund so check this service to ensure what it does.
Pierre thanks for your review, this patch haven't a large business cover. It's just quick help to create credit Note realized for a small customer and I shared it.
We works on a better implementation for an other projet with association between the invoice refunded and the credit note but this
issue haven't the purpose to replace a stock return process, it's only works for agreement between financial employees (internal and supplier/cutomers)
Nicolas
> Create return invoice from invoice
> ----------------------------------
>
> Key: OFBIZ-4848
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4848> Project: OFBiz
> Issue Type: New Feature
> Components: accounting
> Affects Versions: SVN trunk
> Reporter: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-4848.patch
>
>
> If a credit note is needed on a existing invoice, I add a but on invoice menu to generate it by copyInvoice service.
> I improve getInvoice service to ordered invoiceItem by their sequence and when duplicate invoice items check if the parentInvoiceId is the same that duplicate invoice to propagate on new invoice.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)