[ 
https://issues.apache.org/jira/browse/OFBIZ-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540017
 ] 

Skip Dever commented on OFBIZ-1381:
-----------------------------------

The supplied patch fixes the problem described in this one selected area 
(quickReturn).  However, I am betting that there are other screens from which 
you can create returns and they would need to be patched similiarly.

An alternate method would be to modify the 
OrderReturnServices.processCreditReturn() to look for an existing 
BillingAccount for the partyId, but this way is more flexible and allows to 
create a second billing account in some unknown circumstance.

Just have to make sure it's done everywhere a credit return is done.

> If you Create and Ship an Order for a billing account and then create a store 
> credit, a second billing account is created
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1381
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1381
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>    Affects Versions: SVN trunk
>            Reporter: Skip Dever
>             Fix For: SVN trunk
>
>         Attachments: quickReturn.patch
>
>
> If you sell a WG-1111 to DemoCustCompany on a billing account, then ship it, 
> then create a return on a store credit for the same Order/Invoice, the 
> DemoCustomer will end up with two billing accounts.  Do it again and he will 
> have three.
> If this is not a "feature" that someone is using, I will fix 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