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

Mridul Pathak commented on OFBIZ-1381:
--------------------------------------

I have checked multiple business scenarios along with the code itself and this 
issue cannot be generated, here is how current OOTB workflow works and is the 
expected behavior,
# If there is no billing account associated to a customer a new one is created 
and store credit is deposited
# If there already a billing account associated to the customer store credited 
would be deposited in the existing billing account
# If there are multiple billing accounts associated to the customer billing 
account with negative balance is given preference else first billing account 
from the list is selected and store credit is deposited.

I have also reviewed the code and didn't find any code block that would 
possible generate this issue. I think we can safely close this issue now.

> 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: Trunk
>            Reporter: Skip Dever
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to