Ingo Wolfmayr created OFBIZ-12759:
-------------------------------------

             Summary: CreatePaymentFromOrder issue with autocreate = N
                 Key: OFBIZ-12759
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12759
             Project: OFBiz
          Issue Type: Improvement
          Components: order
    Affects Versions: Upcoming Branch
            Reporter: Ingo Wolfmayr
             Fix For: Upcoming Branch
         Attachments: createPaymentFromOrder.patch

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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to