[
https://issues.apache.org/jira/browse/OFBIZ-7124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar closed OFBIZ-7124.
-------------------------------
Resolution: Fixed
Fix Version/s: 15.12.01
Upcoming Branch
14.12.01
> 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, Upcoming Branch, 15.12.01
>
> 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)