[ 
https://issues.apache.org/jira/browse/OFBIZ-7124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312302#comment-15312302
 ] 

Jacques Le Roux commented on OFBIZ-7124:
----------------------------------------

Tests fail, I'll soon check why rather than reverting in 1st place...

> Incorrect fetching of Invoice while creating paymentApplication from matching 
> invoices
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7124
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7124
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>             Fix For: 14.12.01, 15.12.01, 13.07.04
>
>         Attachments: OFBIZ-7124.patch
>
>
> Incorrect Invoice fetching while creating paymentApplication from auto 
> matching invoices.
> When user change payment status and if there is no invoice associated with 
> it, then system tries to get the matching invoice for payment. If found then 
> it creates paymentApplication records.
> For more details, refer to service: createMatchingPaymentApplication
> In this service, there is missing condition of parentInvoiceType. As we have 
> parentInvoiceTypeId: PURCHASE_INVOICE, SALES_INVOICE, TEMPLATE.
> It should not match invoice having 'TEMPLATE' as its parent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to