You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2016/05/25 13:18:13 UTC

[jira] [Created] (OFBIZ-7124) Incorrect fetching of Invoice while creating paymentApplication from matching invoices

Arun Patidar created OFBIZ-7124:
-----------------------------------

             Summary: 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 15.12, Trunk, Release Branch 14.12, Release Branch 13.07
            Reporter: Arun Patidar
            Assignee: Arun Patidar


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)