[
https://issues.apache.org/jira/browse/OFBIZ-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545191#comment-14545191 ]
Pranay Pandey commented on OFBIZ-6369:
--------------------------------------
Thanks so much [~jacopoc].
> Corrected the order in which invoice and payment transactions are created
> -------------------------------------------------------------------------
>
> Key: OFBIZ-6369
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6369> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Reporter: Jacopo Cappellato
> Assignee: Pranay Pandey
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
>
> Fixed the order in which invoice and payment transactions are created.
> Payment transactions were being created prior to invoice transactions, It causes confusion for accountants in real world.
> It was a seca execution order which was causing the issue on setInvoiceStatus. Moved the trigger on setInvoiceStatus for checkInvoicePaymentApplications and capturePaymentsByInvoice from secas.xml to secas_invoice.xml, so that we do invoice transactions prior to payment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)