Hi all,

Last year the SECA that runs loadSalesInvoiceFact was changed to run async.
See
https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/accounting/servicedef/secas_olap.xml?hb=true#to29
. 

That makes sense to me, but it's run on commit, (that is, prior to the
commit) and I'm getting errors in the log that the invoice doesn't exist. It
seems that the async loadSalesInvoiceFact is sometimes running before the
transaction is committed on another thread, so it can't see the invoice
data.

Should it be run on return rather than commit?

Thanks

Paul Foxworthy


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-tp3896289p3896289.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to