[
https://issues.apache.org/jira/browse/OFBIZ-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Foxworthy updated OFBIZ-4582:
----------------------------------
Attachment: OFBIZ-4582_setInvoiceStatus.patch
> loadSalesInvoiceFact should be post-run
> ---------------------------------------
>
> Key: OFBIZ-4582
> URL: https://issues.apache.org/jira/browse/OFBIZ-4582
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: SVN trunk
> Environment: r1204119
> Reporter: Paul Foxworthy
> Priority: Minor
> Labels: accounting, olap, seca
> Attachments: OFBIZ-4582_setInvoiceStatus.patch
>
>
> See thread at
> http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html
> The loadSalesInvoiceFact service in
> applications/accounting/servicedef/secas_olap.xml is set to run
> asynchronously on (that is, before) a commit. The result is that the service
> may attempt to read an order that has not yet been committed.
> In the patch, the timing has been changed to global-commit-post-run to ensure
> the order has been committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira