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

Vikas Mayur commented on OFBIZ-2502:
------------------------------------

Sorry, I wasn't clear with my last comment. Instead of using ListIterator 
simply Iterator could be used, as the way it is used it just does the forward 
traversing. If this add extra advantages then its fine.

> Add functionality for store credit either in fin account or billing account 
> while performing return.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2502
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2502
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Santosh Malviya
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: FinAccountOrBillingAccount.patch, OFBIZ-2502.patch, 
> OFBIZ-2502.patch
>
>
> Currently OFBiz creates a Store Credit as a Payment associated with a Billing 
> Account (creating a new BA if one doesn't already exist). Do same for fin 
> account. 
> Following are the steps to do this:
> (1) Add a field to the ProductStore entity to specify whether returns should 
> go on a Financial Account or a Billing Account.
> (2) Extend the processCreditReturn service to look at that setting and if set 
> for a Financial Account find one for the customer (create one if necessary) 
> and add a credit transaction to it for the credit and associate that credit 
> transaction to the ReturnItem it came from (just like currently done with 
> BillingAccount Payment).

-- 
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