You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Vikas Mayur (JIRA)" <ji...@apache.org> on 2009/06/04 19:41:07 UTC

[jira] Closed: (OFBIZ-2502) Add functionality for store credit either in fin account or billing account while performing return.

     [ https://issues.apache.org/jira/browse/OFBIZ-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2502.
------------------------------

    Resolution: Fixed

Thanks Mridul, Santosh, David,

Mridul your patch is in trunk rev. 781804 with very minor changes. I fixed a typo on the title name specified on the relation on the ProductStore as well as added description to the new field on this entity.

Btw, I think we should use the generics (for example for loop) instead of using the ListIterator but I have not changed that part of code.

Vikas

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