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

Martin Kreidenweis updated OFBIZ-4345:
--------------------------------------

    Attachment: OFBIZ-4345-voidedAutoApply.patch

Patch resolves the issue by not creating payment applications if the payment is 
in the PMNT_VOID or PMNT_CANCELLED status. 

> voided payments are auto-applied to new order invoices
> ------------------------------------------------------
>
>                 Key: OFBIZ-4345
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4345
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Martin Kreidenweis
>         Attachments: OFBIZ-4345-voidedAutoApply.patch
>
>
> {{InvoiceServices.createInvoiceForOrder}} automatically creates 
> {{PaymentApplication}} records when unapplied payments exist for the order. 
> Unfortunately this doesn't consider the {{Payment.statusId}}. 
> So when a user accidentally enters a wrong payment and voids it right away, 
> it is still automatically applied to the invoice on invoice creation. The GUI 
> then provides no way to un-apply the payment, because it assumes that for 
> voided payments no payment applications can exist any more. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to