[ 
https://issues.apache.org/jira/browse/OFBIZ-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644446#action_12644446
 ] 

BJ Freeman commented on OFBIZ-2025:
-----------------------------------

the line 1253 looks like the fix I had in mind

yes the invoice is used in accounting.

createInvoiceForOrder  should be modified to to call captureOrderPayments only 
if the order type SALES_ORDER

> Exception on receiving purchase order
> -------------------------------------
>
>                 Key: OFBIZ-2025
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2025
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: test on version 703450.
>            Reporter: William Perng
>
> Exception happens when receiving a purchase order.  This problem only happens 
> when "ship if capture failed" option is set to N.  
> The exception is "Error trying to begin transaction, could not process 
> method: The current transaction is marked for rollback, not beginning a new 
> transaction and aborting current operation; the rollbackOnly was caused by: 
> Error in Service [captureOrderPayments]: Cannot ship order because credit 
> card captures were unsuccessful calling service balanceInventoryItems in 
> receiveInventoryProduct".
> Steps to reproduce this issue : 1. Create a purchase order  2. Try to quick 
> receive it.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to