[
https://issues.apache.org/jira/browse/OFBIZ-7124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311767#comment-15311767 ]
Arun Patidar commented on OFBIZ-7124:
-------------------------------------
Committed changes in trunk at rev: 1746524
in 15.12 at rev: 1746525
and in 14.12 at rev: 1746526
Thanks [~
[hidden email]] for patch and contribution.
> 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
> 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)