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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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)