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

CreatePaymentFromOrder issue with autocreate = N

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • Upcoming Branch
    • Upcoming Branch
    • order
    • None
    • Patch

    Description

      Using the service "createPaymentFromOrder"  with accounting.payment.purchaseorder.autocreate or accounting.payment.salesorder.autocreate set to "N" returns an error.

      From my view it would be correct to return success/failure as by configuration it is not an error.

      The problem: when changing the order status a SECAS will fire the service which will fire the error  and rollback everything. Using "failure" would be the better option.

      Additionally to that, it would be nice if the autocreate setting can be set in SystemProperty entity for use with multiple tenants.

      Attachments

        1. createPaymentFromOrder.patch
          2 kB
          Ingo Wolfmayr

        Activity

          People

            Unassigned Unassigned
            iwolf Ingo Wolfmayr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: