Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4582

loadSalesInvoiceFact should be post-run

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. OFBIZ-4582_setInvoiceStatus.patch
          0.8 kB
          Paul Foxworthy

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              paulfoxworthy Paul Foxworthy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: